The web design and pages for my personal website.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

layout.html 6.2 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{% block title %}{% endblock %} - Kirsle.net</title>
  5. <link rel="stylesheet" type="text/css" media="screen" href="/solar/screen.css">
  6. <link rel="stylesheet" type="text/css" media="print" href="/solar/print.css">
  7. <link rel="stylesheet" type="text/css" media="all" href="/solar/vim-syntax.css">
  8. <link rel="alternate" type="application/rss+xml" title="Kirsle's RSS Feed" href="/rss">
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  10. </head>
  11. <body>
  12. {% from "google-ads.inc.html" import leaderboard, nav_ads %}
  13. <div class="k-supernova"></div>
  14. <div class="k-kirsle" onClick="self.location='/'"></div>
  15. <div class="k-content-panel">
  16. {% with messages = get_flashed_messages() %}
  17. {% if messages %}
  18. <h1>Notice!</h1>
  19. <ul>
  20. {% for message in messages %}
  21. <li>{{ message }}</li>
  22. {% endfor %}
  23. </ul>
  24. {% endif %}
  25. {% endwith %}
  26. {% block content %}{% endblock %}
  27. {% if uri not in ["/", "/blog/index"] and not "/blog/category" in uri %}
  28. <br>
  29. {{ leaderboard() }}
  30. {% endif %}
  31. <div class="k-copyright">
  32. Copyright &copy; 2014 Noah Petherbridge<br>
  33. Powered by <a href="http://rophako.kirsle.net/" target="_blank">{{ app["name"] }}</a> v{{ app["version"] }}<br>
  34. Page generated in %time_elapsed%s.
  35. </div>
  36. </div>
  37. <div class="k-navpanel">
  38. <div class="k-section">Kirsle</div>
  39. <div class="k-navi">
  40. &#0187; <a href="/">Homepage</a> (<a href="{{ url_for('blog.rss') }}">RSS</a>)<br>
  41. &#0187; <a href="/about">About Me</a><br>
  42. &#0187; <a href="/photos/albums">Photo Albums</a><br>
  43. &#0187; <a href="/guestbook">Guestbook</a><br>
  44. &#0187; <a href="/contact">Contact Me</a>
  45. </div>
  46. <div class="k-section">Channels</div>
  47. <div class="k-navi">
  48. {{ include_page("blog.partial_tags")|safe }}
  49. </div>
  50. <div class="k-section">Creativity</div>
  51. <div class="k-navi">
  52. &#0187; <a href="/rendering">3D Renderings</a><br>
  53. &#0187; <a href="/flash">Flash Animation</a><br>
  54. &#0187; <a href="/javascript">JavaScript</a><br>
  55. &#0187; <a href="/fonts">Fonts</a><br>
  56. &#0187; <a href="/metacity">Metacity</a><br>
  57. &#0187; <a href="/doc/">Tutorials</a>
  58. </div>
  59. <div class="k-section">Software</div>
  60. <div class="k-navi">
  61. &#0187; <a href="/rivescript">RiveScript</a><br>
  62. &#0187; <a href="/errorgen">Error Generator</a><br>
  63. &#0187; <a href="/tkcalc">Tk Calculator</a><br>
  64. &#0187; <a href="http://sh.kirsle.net/" target="_blank">Terminal Apps</a><br>
  65. &#0187; <a href="/pccc">CyanChat Client</a>
  66. </div>
  67. <div class="k-section">Web Tools</div>
  68. <div class="k-navi">
  69. &#0187; <a href="/wizards/ttf2eot.cgi">TTF to EOT</a><br>
  70. &#0187; <a href="/wizards/fader.cgi">Text Fader</a><br>
  71. &#0187; <a href="/wizards/favicon.cgi">Favicons</a><br>
  72. &#0187; <a href="/wizards/distance.cgi">Distance Calc</a><br>
  73. &#0187; <a href="/wizards/translator.html">Azulian Encoder</a><br>
  74. &#0187; <a href="/wizards/xbmask.cgi">XBM Masks</a>
  75. </div>
  76. <div class="k-section">Subdomains</div>
  77. <div class="k-navi">
  78. &#0187; <a href="http://sh.kirsle.net/" target="_blank">Shell Scripts</a><br>
  79. &#0187; <a href="http://rpm.kirsle.net/" target="_blank">Linux RPMs</a><br>
  80. &#0187; <a href="http://rophako.kirsle.net/" target="_blank">Rophako CMS</a><br>
  81. &#0187; <a href="http://nano.kirsle.net/" target="_blank">Kirsle::Nano</a><br>
  82. &#0187; <a href="http://minecraft.kirsle.net/" target="_blank">Minecraft Server</a>
  83. </div>
  84. <div class="k-section">Miscellany</div>
  85. <div class="k-navi">
  86. &#0164; <a href="/firered">Pokemon Fuchsia City</a><br>
  87. &#0164; <a href="/msdos">DOS and Windows</a><br>
  88. &#0164; <a href="/raspberrypi">Raspberry Pi</a>
  89. </div>
  90. <div class="k-section">Links</div>
  91. <div class="k-navi">
  92. &#0164; <a href="https://www.google.com/+NoahPetherbridge">Google+</a><br>
  93. &#0164; <a href="https://www.facebook.com/npetherbridge">Facebook</a><br>
  94. &#0164; <a href="https://twitter.com/kirsle">Twitter</a><br>
  95. &#0164; <a href="https://myspace.com/kirsle">MySpace</a><br>
  96. &#0164; <a href="https://github.com/kirsle">Github</a><br>
  97. &#0164; <a href="http://search.cpan.org/~kirsle">CPAN</a>
  98. </div>
  99. {{ nav_ads() }}
  100. <div class="k-section">Fan Club</div>
  101. <div class="k-navi">
  102. {% if session["login"] %}
  103. &#0164; Hi, <big>{{ session["name"] }}</big><br>
  104. {% if session["role"] == "admin" %}
  105. &#0187; <a href="{{ url_for('admin.index') }}">Admin Center</a><br>
  106. {% endif %}
  107. &#0187; <a href="{{ url_for('blog.update') }}">Update Blog</a><br>
  108. {% if "impersonator" in session %}
  109. &#0187; <a href="{{ url_for('admin.unimpersonate') }}">Unimpersonate</a><br>
  110. {% endif %}
  111. &#0187; <a href="{{ url_for('account.logout') }}">Log Out</a>
  112. {% else %}
  113. &#0187; <a href="{{ url_for('account.login') }}">Log In</a>
  114. {% endif %}
  115. </div><p>
  116. <div class="k-navi">
  117. <div class="center">
  118. <a href="http://validator.w3.org/check?uri=referer">
  119. <img src="/static/images/html.png" width="88" height="31" alt="HTML 4.01 Strict">
  120. </a><br>
  121. <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.kirsle.com/solar/screen.css">
  122. <img src="/static/images/css.png" width="88" height="31" alt="CSS">
  123. </a>
  124. </div>
  125. </div>
  126. </div>
  127. <script type="text/javascript" src="/js/jquery-2.1.0.min.js"></script>
  128. {% block scripts %}{% endblock %}
  129. <script type="text/javascript">
  130. var _gaq = _gaq || [];
  131. _gaq.push(['_setAccount', 'UA-27498092-1']);
  132. _gaq.push(['_trackPageview']);
  133. (function() {
  134. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  135. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  136. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  137. })();
  138. </script>
  139. </body>
  140. </html>