1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-22 06:59:29 +00:00

More Bootstrap tweaks

This commit is contained in:
Noah 2014-10-16 17:35:22 +00:00
parent c9cfb8c69c
commit 0c11a0ad83
2 changed files with 8 additions and 8 deletions

View File

@ -1,8 +1,8 @@
{# Custom category list for kirsle.net <ul>-based design #} {# Custom category list for kirsle.net <ul>-based design #}
{% for tag in tags %} {% for tag in tags %}
{% if not tag["small"] %} {% if not tag["small"] %}
<ul>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a> <li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></ul> <small>({{ tag['count'] }})</small></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
{% if has_small %} {% if has_small %}
@ -11,8 +11,8 @@
<ul> <ul>
{% for tag in tags %} {% for tag in tags %}
{% if tag["small"] %} {% if tag["small"] %}
&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a> <li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small><br> <small>({{ tag['count'] }})</small></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
@ -22,4 +22,4 @@
<li>&#0164; <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li> <li>&#0164; <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li>
</ul> </ul>
</div> </div>
{% endif %} {% endif %}

View File

@ -172,10 +172,10 @@
<form action="{{ url_for('account.login') }}" method="POST"> <form action="{{ url_for('account.login') }}" method="POST">
<input type="hidden" name="token" value="{{ csrf_token() }}"> <input type="hidden" name="token" value="{{ csrf_token() }}">
<input type="hidden" name="url" value="{{ request.path }}"> <input type="hidden" name="url" value="{{ request.path }}">
<input type="text" size="4" name="username" style="width: 45%"> <input type="text" class="form-control" size="4" name="username" style="display: inline; width: 45%">
<input type="password" size="4" name="password" style="width: 45%"> <input type="password" class="form-control" size="4" name="password" style="display: inline; width: 45%">
<br> <br>
<button type="submit" style="width: 100%">Log In</button> <button type="submit" class="btn btn-primary" style="width: 100%">Log In</button>
</form> </form>
</div> </div>