1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-12-21 22:49:28 +00:00

Various web layout fixes

This commit is contained in:
Noah 2017-03-23 22:55:51 +00:00
parent 498a8f1abe
commit f4a06295bc
3 changed files with 23 additions and 36 deletions

2
.gitignore vendored
View File

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

View File

@ -1,12 +1,15 @@
{# Custom category list for kirsle.net <ul>-based design #} {# 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 %} {% for tag in tags %}
{% if not tag["small"] %} {% if not tag["small"] %}
<li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a> <li>&#0187; <a href="{{ url_for('blog.category', category=tag['category']) }}">{{ tag['category'] }}</a>
<small>({{ tag['count'] }})</small></li> <small>({{ tag['count'] }})</small></li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul>
{% if has_small %} {% if has_small %}
</ul><!-- end list from layout.html -->
<div id="blog_show_more" style="display: none"> <div id="blog_show_more" style="display: none">
<ul> <ul>
{% for tag in tags %} {% for tag in tags %}

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
@ -74,8 +74,7 @@
</div> </div>
<div class="col-sm-2 col-sm-pull-10"> <div class="col-sm-2 col-sm-pull-10">
<div class="k-navpanel"> <div class="k-navpanel" id="navbar">
<a name="navbar"></a>
<div class="k-section">Kirsle</div> <div class="k-section">Kirsle</div>
<ul> <ul>
<li>&#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)</li> <li>&#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)</li>
@ -87,10 +86,7 @@
</ul> </ul>
<div class="k-section">Channels</div> <div class="k-section">Channels</div>
<ul> {{ include_page("blog.partial_tags")|safe }}
<li>&#0187; <a href="{{ url_for('blog.archive') }}">Blog Archives</a></li>
{{ include_page("blog.partial_tags")|safe }}
</ul>
<div class="k-section">Creativity</div> <div class="k-section">Creativity</div>
<ul> <ul>
@ -120,14 +116,14 @@
<li>&#0187; <a href="/wizards/distance.cgi">Distance Calc</a></li> <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/translator.html">Azulian Translater</a></li>
<li>&#0187; <a href="/wizards/xbmask.cgi">XBM Masks</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> </ul>
<div class="k-section">Subdomains</div> <div class="k-section">Subdomains</div>
<ul> <ul>
<li>&#0187; <a href="http://rophako.kirsle.net/">Rophako CMS</a></li> <li>&#0187; <a href="https://rophako.kirsle.net/">Rophako CMS</a></li>
<li>&#0187; <a href="http://mc.kirsle.net/">Minecraft Server</a></li> <li>&#0187; <a href="https://mc.kirsle.net/">Minecraft Server</a></li>
<li>&#0187; <a href="http://rpm.kirsle.net/">Linux RPMs</a></li> <li>&#0187; <a href="https://rpm.kirsle.net/">Linux RPMs</a></li>
</ul> </ul>
<div class="k-section">Miscellany</div> <div class="k-section">Miscellany</div>
@ -137,14 +133,16 @@
<li>&#0187; <a href="/raspberrypi">Raspberry Pi</a></li> <li>&#0187; <a href="/raspberrypi">Raspberry Pi</a></li>
</ul> </ul>
<div class="k-section">Links</div> <div class="k-section">Social Links</div>
<ul> <ul>
<li>&#0187; <a href="https://www.google.com/+NoahPetherbridge">Google+</a></li> <li>&#0187; <a href="https://www.google.com/+NoahPetherbridge" rel="me">Google+</a></li>
<li>&#0187; <a href="https://twitter.com/kirsle">Twitter</a></li> <li>&#0187; <a href="https://www.facebook.com/noah.lee.petherbridge" rel="me">Facebook</a></li>
<li>&#0187; <a href="https://myspace.com/kirsle">MySpace</a></li> <li>&#0187; <a href="https://twitter.com/kirsle" rel="me">Twitter</a></li>
<li>&#0187; <a href="https://github.com/kirsle">Github</a></li> <li>&#0187; <a href="https://www.instagram.com/kirsle" rel="me">Instagram</a></li>
<li>&#0187; <a href="http://search.cpan.org/~kirsle">CPAN</a></li> <li>&#0187; <a href="https://myspace.com/kirsle" rel="me">MySpace</a></li>
<li>&#0187; <a href="https://www.npmjs.org/~kirsle">npm</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> </ul>
<br> <br>
@ -179,30 +177,16 @@
</form> </form>
</div> </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"> <div class="center">
<a href="https://www.python.org/" target="_blank"> <a href="https://www.python.org/" target="_blank">
<img src="/static/images/python.png" width="80" height="15" alt="Python powered"> <img src="/static/images/python.png" width="80" height="15" alt="Python powered">
</a><br> </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"> <img src="/static/images/html5.png" width="80" height="15" alt="W3C Valid HTML5">
</a><br> </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"> <img src="/static/images/css3.png" width="80" height="15" alt="W3C Valid CSS3">
</a><p> </a><p>