Browse Source

Various web layout fixes

Noah Petherbridge 4 years ago
3 changed files with 23 additions and 36 deletions
  1. +1
  2. +4
  3. +18

+ 1
- 1
.gitignore View File

@@ -1,4 +1,4 @@

+ 4
- 1
www/blog/ View File

@@ -1,12 +1,15 @@
{# Custom category list for <ul>-based design #}
<li>&#0187; <a href="{{ url_for('blog.archive') }}">Blog Archives</a></li>
{% for tag in tags %}
{% if not tag["small"] %}
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li>
{% endif %}
{% endfor %}

{% if has_small %}
</ul><!-- end list from layout.html -->
<div id="blog_show_more" style="display: none">
{% for tag in tags %}

+ 18
- 34
www/layout.html View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -74,8 +74,7 @@

<div class="col-sm-2 col-sm-pull-10">
<div class="k-navpanel">
<a name="navbar"></a>
<div class="k-navpanel" id="navbar">
<div class="k-section">Kirsle</div>
<li>&#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)</li>
@@ -87,10 +86,7 @@

<div class="k-section">Channels</div>
<li>&#0187; <a href="{{ url_for('blog.archive') }}">Blog Archives</a></li>
{{ include_page("blog.partial_tags")|safe }}
{{ include_page("blog.partial_tags")|safe }}

<div class="k-section">Creativity</div>
@@ -120,14 +116,14 @@
<li>&#0187; <a href="/wizards/distance.cgi">Distance Calc</a></li>
<li>&#0187; <a href="/wizards/translator.html">Azulian Translater</a></li>
<li>&#0187; <a href="/wizards/xbmask.cgi">XBM Masks</a></li>
<li>&#0187; <a href="/wizards/">Flask Session</a></li>
<li>&#0187; <a href="/wizards/flask-session.cgi">Flask Session</a></li>

<div class="k-section">Subdomains</div>
<li>&#0187; <a href="">Rophako CMS</a></li>
<li>&#0187; <a href="">Minecraft Server</a></li>
<li>&#0187; <a href="">Linux RPMs</a></li>
<li>&#0187; <a href="">Rophako CMS</a></li>
<li>&#0187; <a href="">Minecraft Server</a></li>
<li>&#0187; <a href="">Linux RPMs</a></li>

<div class="k-section">Miscellany</div>
@@ -137,14 +133,16 @@
<li>&#0187; <a href="/raspberrypi">Raspberry Pi</a></li>

<div class="k-section">Links</div>
<div class="k-section">Social Links</div>
<li>&#0187; <a href="">Google+</a></li>
<li>&#0187; <a href="">Twitter</a></li>
<li>&#0187; <a href="">MySpace</a></li>
<li>&#0187; <a href="">Github</a></li>
<li>&#0187; <a href="">CPAN</a></li>
<li>&#0187; <a href="">npm</a></li>
<li>&#0187; <a href="" rel="me">Google+</a></li>
<li>&#0187; <a href="" rel="me">Facebook</a></li>
<li>&#0187; <a href="" rel="me">Twitter</a></li>
<li>&#0187; <a href="" rel="me">Instagram</a></li>
<li>&#0187; <a href="" rel="me">MySpace</a></li>
<li>&#0187; <a href="" rel="me">Github</a></li>
<li>&#0187; <a href="" rel="me">CPAN</a></li>
<li>&#0187; <a href="" rel="me">npm</a></li>

@@ -179,30 +177,16 @@

<div class="k-section">Visitors</div>
<li>&#0164; <strong>Unique Visits:</strong><br>
Today: tracking["unique_today"] <br>
Total: tracking["unique_total"] </li>
<li>&#0164; <strong>Total Hits:</strong><br>
Today: tracking["hits_today"] <br>
Total: tracking["hits_total"] </li>
<li>&#0164; <a href=" url_for('tracking.visitors') ">Visitor Details</a></li>
<li>&#0164; <a href=" url_for('tracking.referrers') ">Referring URLs</a></li>

<div class="center">
<a href="" target="_blank">
<img src="/static/images/python.png" width="80" height="15" alt="Python powered">

<a href="">
<a href="">
<img src="/static/images/html5.png" width="80" height="15" alt="W3C Valid HTML5">

<a href="">
<a href="">
<img src="/static/images/css3.png" width="80" height="15" alt="W3C Valid CSS3">