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:
parent
c9cfb8c69c
commit
0c11a0ad83
|
@ -1,8 +1,8 @@
|
|||
{# Custom category list for kirsle.net <ul>-based design #}
|
||||
{% for tag in tags %}
|
||||
{% if not tag["small"] %}
|
||||
<ul>» <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
|
||||
<small>({{ tag['count'] }})</small></ul>
|
||||
<li>» <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"] %}
|
||||
» <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
|
||||
<small>({{ tag['count'] }})</small><br>
|
||||
<li>» <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>¤ <a href="#" onClick="$('#blog_show_less').hide(); $('#blog_show_more').show(1000); return false">Show more...</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user