Binary file qmsk_www/static/link.png has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qmsk_www/static/style.css Sun Sep 14 00:03:21 2014 +0300
@@ -0,0 +1,165 @@
+
+/*
+ * Three main areas:
+ * header
+ * nav
+ * content
+ *
+ * Border layout:
+ * Header (bottom)
+ * Content (left)
+ */
+
+/*
+ * Global styles
+ */
+body {
+ padding: 0px;
+ margin: 0px;
+
+ background-color: #ffffff;
+ color: #000000;
+}
+
+/*
+ * Top header
+ */
+div#header {
+ padding: 30px;
+
+ font-size: 48pt;
+ font-weight: bold;
+
+ border-bottom: 1px dashed #a5a5a5;
+}
+
+div#header a:hover {
+ text-decoration: none;
+}
+
+/*
+ * Container for layout items
+ */
+ #container {
+ overflow: hidden;
+}
+
+/*
+ * Main navigation menu
+ */
+#nav {
+ float: left;
+
+ padding-bottom: 2000px;
+ margin-bottom: -2000px;
+
+ border-right: 1px dashed #a5a5a5;
+}
+
+#nav ul {
+ margin: 0px;
+ padding: 0px;
+
+ list-style: none;
+
+ width: 180px;
+
+ padding-top: 25px;
+}
+
+#nav ul ul {
+ padding-top: 0px;
+ border-left: 15px solid #d0d0d0;
+}
+
+#nav li a {
+ display: block;
+
+ padding: 10px;
+ padding-left: 20px;
+}
+
+#nav li a:hover {
+ background-color: #d0d0d0;
+ text-decoration: none;
+}
+
+#nav li a.selected-page {
+ border-left: 5px solid black;
+ padding-left: 15px;
+}
+
+/*
+ * Content
+ */
+div#content {
+ margin-left: 180px;
+ padding: 25px;
+
+ padding-right: 50px;
+}
+
+div#breadcrumb {
+ font-size: x-small;
+}
+
+/*
+ * Footer
+ */
+div#footer {
+ padding: 10px;
+
+ border-top: 1px dashed #a5a5a5;
+
+ font-size: x-small;
+ font-style: italic;
+}
+
+div#footer-left {
+ float: left;
+}
+
+div#footer-right {
+ float: right;
+ text-align: right;
+}
+
+div#footer-center {
+ text-align: center;
+}
+
+/*
+ * General styles
+ */
+a {
+ color: black;
+ text-decoration: none;
+ font-weight: bold;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+h1 {
+ font-size: x-large;
+}
+
+h2 {
+ font-size: large;
+}
+
+div#content p {
+ margin-left: 0.5em;
+}
+
+#content li {
+ padding: 2px;
+}
+
+#content a {
+ padding-right: 13px;
+
+ background: transparent url(/static/link.png) no-repeat center right;
+}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/qmsk_www/templates/layout.tmpl Sun Sep 14 00:03:21 2014 +0300
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+
+<%def name="render_menu(open_page, page, items, ancestry)">
+<ul>
+% for pi in items :
+ <li>
+ <a href="${req.page_prefix}/${pi.url}"${' class="selected-page"' if pi == open_page else ''}>${pi.title} ${'»' if pi.children and pi.parent else ''}</a>
+ % if pi in ancestry and pi.children and pi.parent :
+ ${render_menu(page, pi, pi.children, ancestry)}
+ % endif
+ </li>
+% endfor
+</ul>
+</%def>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+ <head>
+ <title>qmsk.net ${' :: ' + h.breadcrumb(menu.ancestry, links=False) if menu.ancestry else ''}</title>
+ <link rel="Stylesheet" type="text/css" href="${req.site_root}/static/style.css" />
+ </head>
+ <body>
+ <div id="header">
+ <a href="${req.page_prefix}/">QMSK.NET</a>
+ </div>
+
+ <div id="container">
+ <div id="nav">
+ ${render_menu(menu.page, menu.page, menu.items, menu.ancestry)}
+ </div>
+
+ <div id="content">
+ <div id="breadcrumb">
+ <!-- ${h.breadcrumb(menu.ancestry)} -->
+ </div>
+ ${page.content}
+ </div>
+
+ </div>
+
+ <div id="footer">
+ <div id="footer-right">
+ Page Modified ${page.modified} <br/>
+ Current time ${h.now()}
+ </div>
+
+ <div id="footer-left">
+ © ${h.copyright_year()} Tero Marttila
+ </div>
+
+ <div id="footer-center">
+ ${h.validation_notice(req.site_host)}
+ </div>
+ </div>
+ </body>
+</html>
+
Binary file static/link.png has changed
--- a/static/style.css Sat Sep 13 23:53:05 2014 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,165 +0,0 @@
-
-/*
- * Three main areas:
- * header
- * nav
- * content
- *
- * Border layout:
- * Header (bottom)
- * Content (left)
- */
-
-/*
- * Global styles
- */
-body {
- padding: 0px;
- margin: 0px;
-
- background-color: #ffffff;
- color: #000000;
-}
-
-/*
- * Top header
- */
-div#header {
- padding: 30px;
-
- font-size: 48pt;
- font-weight: bold;
-
- border-bottom: 1px dashed #a5a5a5;
-}
-
-div#header a:hover {
- text-decoration: none;
-}
-
-/*
- * Container for layout items
- */
- #container {
- overflow: hidden;
-}
-
-/*
- * Main navigation menu
- */
-#nav {
- float: left;
-
- padding-bottom: 2000px;
- margin-bottom: -2000px;
-
- border-right: 1px dashed #a5a5a5;
-}
-
-#nav ul {
- margin: 0px;
- padding: 0px;
-
- list-style: none;
-
- width: 180px;
-
- padding-top: 25px;
-}
-
-#nav ul ul {
- padding-top: 0px;
- border-left: 15px solid #d0d0d0;
-}
-
-#nav li a {
- display: block;
-
- padding: 10px;
- padding-left: 20px;
-}
-
-#nav li a:hover {
- background-color: #d0d0d0;
- text-decoration: none;
-}
-
-#nav li a.selected-page {
- border-left: 5px solid black;
- padding-left: 15px;
-}
-
-/*
- * Content
- */
-div#content {
- margin-left: 180px;
- padding: 25px;
-
- padding-right: 50px;
-}
-
-div#breadcrumb {
- font-size: x-small;
-}
-
-/*
- * Footer
- */
-div#footer {
- padding: 10px;
-
- border-top: 1px dashed #a5a5a5;
-
- font-size: x-small;
- font-style: italic;
-}
-
-div#footer-left {
- float: left;
-}
-
-div#footer-right {
- float: right;
- text-align: right;
-}
-
-div#footer-center {
- text-align: center;
-}
-
-/*
- * General styles
- */
-a {
- color: black;
- text-decoration: none;
- font-weight: bold;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-h1 {
- font-size: x-large;
-}
-
-h2 {
- font-size: large;
-}
-
-div#content p {
- margin-left: 0.5em;
-}
-
-#content li {
- padding: 2px;
-}
-
-#content a {
- padding-right: 13px;
-
- background: transparent url(/static/link.png) no-repeat center right;
-}
-
--- a/templates/layout.tmpl Sat Sep 13 23:53:05 2014 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-
-<%def name="render_menu(open_page, page, items, ancestry)">
-<ul>
-% for pi in items :
- <li>
- <a href="${req.page_prefix}/${pi.url}"${' class="selected-page"' if pi == open_page else ''}>${pi.title} ${'»' if pi.children and pi.parent else ''}</a>
- % if pi in ancestry and pi.children and pi.parent :
- ${render_menu(page, pi, pi.children, ancestry)}
- % endif
- </li>
-% endfor
-</ul>
-</%def>
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <title>qmsk.net ${' :: ' + h.breadcrumb(menu.ancestry, links=False) if menu.ancestry else ''}</title>
- <link rel="Stylesheet" type="text/css" href="${req.site_root}/static/style.css" />
- </head>
- <body>
- <div id="header">
- <a href="${req.page_prefix}/">QMSK.NET</a>
- </div>
-
- <div id="container">
- <div id="nav">
- ${render_menu(menu.page, menu.page, menu.items, menu.ancestry)}
- </div>
-
- <div id="content">
- <div id="breadcrumb">
- <!-- ${h.breadcrumb(menu.ancestry)} -->
- </div>
- ${page.content}
- </div>
-
- </div>
-
- <div id="footer">
- <div id="footer-right">
- Page Modified ${page.modified} <br/>
- Current time ${h.now()}
- </div>
-
- <div id="footer-left">
- © ${h.copyright_year()} Tero Marttila
- </div>
-
- <div id="footer-center">
- ${h.validation_notice(req.site_host)}
- </div>
- </div>
- </body>
-</html>
-