1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-11-14 04:49: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 #}
{% for tag in tags %}
{% if not tag["small"] %}
<ul>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></ul>
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li>
{% endif %}
{% endfor %}
{% if has_small %}
@ -11,8 +11,8 @@
<ul>
{% for tag in tags %}
{% if tag["small"] %}
&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small><br>
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li>
{% endif %}
{% endfor %}
</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>
</ul>
</div>
{% endif %}
{% endif %}

View File

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