]> git.siccegge.de Git - frida/web.git/commitdiff
Add infrastructure / template
authorChristoph Egger <Christoph.Egger@cs.fau.de>
Sat, 6 Dec 2014 19:56:41 +0000 (20:56 +0100)
committerChristoph Egger <Christoph.Egger@cs.fau.de>
Sat, 6 Dec 2014 19:56:41 +0000 (20:56 +0100)
html/main.css [new file with mode: 0644]
r2w.ini [new file with mode: 0644]
src/template.txt [new file with mode: 0644]

diff --git a/html/main.css b/html/main.css
new file mode 100644 (file)
index 0000000..94f41cb
--- /dev/null
@@ -0,0 +1,55 @@
+* {
+    margin: 0;
+    padding: 0;
+}
+
+body {
+    background-color: #B3E1FF;
+}
+
+#frame {
+    margin-left: auto;
+    margin-right: auto;
+    margin-top: 1em;
+    width: 90%;
+    max-width: 80em;
+    background-color: #fff;
+    border: 2px solid #0011CA;
+}
+
+#header {
+    background-color: #A2A5CA;
+    border-bottom: 2px solid #0011CA;
+    color: #000;
+}
+
+#header h1 {
+    margin: 0;
+    padding: 0;
+    text-align: center;
+}
+
+#nav li {
+    display: inline-block;
+    border: 2px solid #0011CA;
+    background-color: #A2A5CA;
+    margin-left: 0.5em;
+    margin-top: -2px;
+}
+
+#nav a {
+    display: inline-block;
+    text-decoration: none;
+    font-weight: bold;
+    color: #000;
+    padding: 2px;
+}
+
+#nav a:hover {
+    color: #fff;
+    background-color: #0011CA;
+}
+
+.document {
+    margin:1em;
+}
diff --git a/r2w.ini b/r2w.ini
new file mode 100644 (file)
index 0000000..e5c833d
--- /dev/null
+++ b/r2w.ini
@@ -0,0 +1,5 @@
+start_directory = src
+target_directory = html
+compare_directory = html
+log_file = r2w.log
+macros = ''
diff --git a/src/template.txt b/src/template.txt
new file mode 100644 (file)
index 0000000..12b8392
--- /dev/null
@@ -0,0 +1,20 @@
+<html>
+  <head>
+    <link rel="stylesheet" href="main.css" type="text/css" />
+    <title><% title %></title>
+  </head>
+  <body>
+    <div id="frame">
+      <div id="header">
+        <h1>Frida </h1>
+      </div>
+      <div id="nav">
+        <ul>
+          <li><a href="/">Home</a></li>
+          <# print_details(sections[None], page_title='', item_wrapper='%s') #>
+        </ul>
+      </div>
+      <% body %>
+    </div>
+  </body>
+</html>