Browse Source

Various web layout fixes

rophako
Noah Petherbridge 3 years ago
parent
commit
f4a06295bc
3 changed files with 23 additions and 36 deletions
  1. +1
    -1
      .gitignore
  2. +4
    -1
      www/blog/categories.inc.html
  3. +18
    -34
      www/layout.html

+ 1
- 1
.gitignore View File

@@ -1,4 +1,4 @@
/prod.ini
/prod.yml
/db
/rophako
/www/static/photos/*.jpg


+ 4
- 1
www/blog/categories.inc.html View File

@@ -1,12 +1,15 @@
{# Custom category list for kirsle.net <ul>-based design #}
<ul>
<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 %}
</ul>

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


+ 18
- 34
www/layout.html View File

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

<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>
<ul>
<li>&#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)</li>
@@ -87,10 +86,7 @@
</ul>

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

<div class="k-section">Creativity</div>
<ul>
@@ -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.py">Flask Session</a></li>
<li>&#0187; <a href="/wizards/flask-session.cgi">Flask Session</a></li>
</ul>

<div class="k-section">Subdomains</div>
<ul>
<li>&#0187; <a href="http://rophako.kirsle.net/">Rophako CMS</a></li>
<li>&#0187; <a href="http://mc.kirsle.net/">Minecraft Server</a></li>
<li>&#0187; <a href="http://rpm.kirsle.net/">Linux RPMs</a></li>
<li>&#0187; <a href="https://rophako.kirsle.net/">Rophako CMS</a></li>
<li>&#0187; <a href="https://mc.kirsle.net/">Minecraft Server</a></li>
<li>&#0187; <a href="https://rpm.kirsle.net/">Linux RPMs</a></li>
</ul>

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

<div class="k-section">Links</div>
<div class="k-section">Social Links</div>
<ul>
<li>&#0187; <a href="https://www.google.com/+NoahPetherbridge">Google+</a></li>
<li>&#0187; <a href="https://twitter.com/kirsle">Twitter</a></li>
<li>&#0187; <a href="https://myspace.com/kirsle">MySpace</a></li>
<li>&#0187; <a href="https://github.com/kirsle">Github</a></li>
<li>&#0187; <a href="http://search.cpan.org/~kirsle">CPAN</a></li>
<li>&#0187; <a href="https://www.npmjs.org/~kirsle">npm</a></li>
<li>&#0187; <a href="https://www.google.com/+NoahPetherbridge" rel="me">Google+</a></li>
<li>&#0187; <a href="https://www.facebook.com/noah.lee.petherbridge" rel="me">Facebook</a></li>
<li>&#0187; <a href="https://twitter.com/kirsle" rel="me">Twitter</a></li>
<li>&#0187; <a href="https://www.instagram.com/kirsle" rel="me">Instagram</a></li>
<li>&#0187; <a href="https://myspace.com/kirsle" rel="me">MySpace</a></li>
<li>&#0187; <a href="https://github.com/kirsle" rel="me">Github</a></li>
<li>&#0187; <a href="http://search.cpan.org/~kirsle" rel="me">CPAN</a></li>
<li>&#0187; <a href="https://www.npmjs.org/~kirsle" rel="me">npm</a></li>
</ul>

<br>
@@ -179,30 +177,16 @@
</form>
</div>

<!--
<div class="k-section">Visitors</div>
<ul>
<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>
</ul>
-->

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

<a href="http://validator.w3.org/check?uri=referer">
<a href="https://validator.w3.org/check?uri=referer">
<img src="/static/images/html5.png" width="80" height="15" alt="W3C Valid HTML5">
</a><br>

<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.kirsle.com/solar/screen.css">
<a href="https://jigsaw.w3.org/css-validator/validator?uri=http://www.kirsle.com/solar/screen.css">
<img src="/static/images/css3.png" width="80" height="15" alt="W3C Valid CSS3">
</a><p>



Loading…
Cancel
Save