Browse Source

More Bootstrap tweaks

pull/2/head
Noah Petherbridge 6 years ago
parent
commit
0c11a0ad83
2 changed files with 8 additions and 8 deletions
  1. +5
    -5
      www/blog/categories.inc.html
  2. +3
    -3
      www/layout.html

+ 5
- 5
www/blog/categories.inc.html 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 %}

+ 3
- 3
www/layout.html 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>



Loading…
Cancel
Save