1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-11-14 21:09:28 +00:00
kirsle.net/www/layout.html

168 lines
6.4 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>{% block title %}{% endblock %} - Kirsle.net</title>
<link rel="stylesheet" type="text/css" media="screen" href="/solar/screen.css">
<link rel="stylesheet" type="text/css" href="/solar/monokai.css">
<link rel="stylesheet" type="text/css" media="print" href="/solar/print.css">
<link rel="stylesheet" type="text/css" media="all" href="/solar/vim-syntax.css">
<link rel="alternate" type="application/rss+xml" title="Kirsle's RSS Feed" href="/rss">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
{% from "google-ads.inc.html" import leaderboard, nav_ads %}
<div class="k-supernova"></div>
<div class="k-kirsle" onClick="self.location='/'"></div>
<div class="k-content-panel">
{% with messages = get_flashed_messages() %}
{% if messages %}
<h1>Notice!</h1>
<ul>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
{% if uri not in ["/", "/blog/index"] and not "/blog/category" in uri %}
<br>
{{ leaderboard() }}
{% endif %}
<div class="k-copyright">
Copyright &copy; 2014 Noah Petherbridge<br>
Powered by <a href="http://rophako.kirsle.net/" target="_blank">{{ app["name"] }}</a> v{{ app["version"] }}<br>
Page generated in %time_elapsed%s.
</div>
</div>
<div class="k-navpanel">
<div class="k-section">Kirsle</div>
<div class="k-navi">
&#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)<br>
&#0187; <a href="/about">About Me</a><br>
&#0187; <a href="/photos/albums">Photo Albums</a><br>
&#0187; <a href="/guestbook">Guestbook</a><br>
&#0187; <a href="/contact">Contact Me</a>
</div>
<div class="k-section">Channels</div>
<div class="k-navi">
{{ include_page("blog.partial_tags")|safe }}
</div>
<div class="k-section">Creativity</div>
<div class="k-navi">
&#0187; <a href="/rendering">3D Renderings</a><br>
&#0187; <a href="/flash">Flash Animation</a><br>
&#0187; <a href="/javascript">JavaScript</a><br>
&#0187; <a href="/fonts">Fonts</a><br>
&#0187; <a href="/metacity">Metacity</a><br>
&#0187; <a href="/doc/">Tutorials</a>
</div>
<div class="k-section">Software</div>
<div class="k-navi">
&#0187; <a href="/rivescript">RiveScript</a><br>
&#0187; <a href="/errorgen">Error Generator</a><br>
&#0187; <a href="/tkcalc">Tk Calculator</a><br>
&#0187; <a href="http://sh.kirsle.net/" target="_blank">Terminal Apps</a><br>
&#0187; <a href="/pccc">CyanChat Client</a>
</div>
<div class="k-section">Web Tools</div>
<div class="k-navi">
&#0187; <a href="/wizards/ttf2eot.cgi">TTF to EOT</a><br>
&#0187; <a href="/wizards/fader.cgi">Text Fader</a><br>
&#0187; <a href="/wizards/favicon.cgi">Favicons</a><br>
&#0187; <a href="/wizards/distance.cgi">Distance Calc</a><br>
&#0187; <a href="/wizards/translator.html">Azulian Encoder</a><br>
&#0187; <a href="/wizards/xbmask.cgi">XBM Masks</a>
</div>
<div class="k-section">Subdomains</div>
<div class="k-navi">
&#0187; <a href="http://sh.kirsle.net/" target="_blank">Shell Scripts</a><br>
&#0187; <a href="http://rpm.kirsle.net/" target="_blank">Linux RPMs</a><br>
&#0187; <a href="http://rophako.kirsle.net/" target="_blank">Rophako CMS</a><br>
&#0187; <a href="http://nano.kirsle.net/" target="_blank">Kirsle::Nano</a><br>
&#0187; <a href="http://minecraft.kirsle.net/" target="_blank">Minecraft Server</a>
</div>
<div class="k-section">Miscellany</div>
<div class="k-navi">
&#0164; <a href="/firered">Pokemon Fuchsia City</a><br>
&#0164; <a href="/msdos">DOS and Windows</a><br>
&#0164; <a href="/raspberrypi">Raspberry Pi</a>
</div>
<div class="k-section">Links</div>
<div class="k-navi">
&#0164; <a href="https://www.google.com/+NoahPetherbridge">Google+</a><br>
&#0164; <a href="https://www.facebook.com/npetherbridge">Facebook</a><br>
&#0164; <a href="https://twitter.com/kirsle">Twitter</a><br>
&#0164; <a href="https://myspace.com/kirsle">MySpace</a><br>
&#0164; <a href="https://github.com/kirsle">Github</a><br>
&#0164; <a href="http://search.cpan.org/~kirsle">CPAN</a>
</div>
{{ nav_ads() }}
<div class="k-section">Fan Club</div>
<div class="k-navi">
{% if session["login"] %}
&#0164; Hi, <big>{{ session["name"] }}</big><br>
{% if session["role"] == "admin" %}
&#0187; <a href="{{ url_for('admin.index') }}">Admin Center</a><br>
{% endif %}
&#0187; <a href="{{ url_for('blog.update') }}">Update Blog</a><br>
{% if "impersonator" in session %}
&#0187; <a href="{{ url_for('admin.unimpersonate') }}">Unimpersonate</a><br>
{% endif %}
&#0187; <a href="{{ url_for('account.logout') }}">Log Out</a>
{% else %}
&#0187; <a href="{{ url_for('account.login') }}">Log In</a>
{% endif %}
</div><p>
<div class="k-navi">
<div class="center">
<a href="http://validator.w3.org/check?uri=referer">
<img src="/static/images/html.png" width="88" height="31" alt="HTML 4.01 Strict">
</a><br>
<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.kirsle.com/solar/screen.css">
<img src="/static/images/css.png" width="88" height="31" alt="CSS">
</a>
</div>
</div>
</div>
<script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript" src="/js/offsite.js"></script>
{% block scripts %}{% endblock %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27498092-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>