summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/admin.html0
-rw-r--r--templates/footer.html16
-rw-r--r--templates/header.html19
-rw-r--r--templates/index/index.html0
-rw-r--r--templates/jobs.html9
-rw-r--r--templates/login/login.html0
-rw-r--r--templates/navbar.html23
-rw-r--r--templates/register/register.html0
8 files changed, 67 insertions, 0 deletions
diff --git a/templates/admin/admin.html b/templates/admin/admin.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/admin/admin.html
diff --git a/templates/footer.html b/templates/footer.html
new file mode 100644
index 0000000..b62b56f
--- /dev/null
+++ b/templates/footer.html
@@ -0,0 +1,16 @@
+ {{range .moreScripts}}
+ <script src="/public/{{.}}" type="text/javascript" charset="utf-8"></script>
+ {{end}}
+<div class="footer">
+ <div class="container">
+ <div class="row">
+ <footer>
+ <p id="copyright-text" align='right'> Copyright 2015 <a class="footer-a" href="//www.iamfabulous.de" title="Maximilian Möhring">Maximilian M&ouml;hring</a></p>
+ </footer>
+ </div>
+ </div>
+</div>
+<script src="//code.jquery.com/jquery-1.10.1.min.js"></script>
+<script src="/static/js/bootstrap.js"></script>
+ </body>
+</html>
diff --git a/templates/header.html b/templates/header.html
new file mode 100644
index 0000000..2875487
--- /dev/null
+++ b/templates/header.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>{{.title}}</title>
+ <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
+ <!--link rel="stylesheet" type="text/css" href="/static/css/bootstrap.css"-->
+ <link rel="stylesheet" type="text/css" href="/static/css/style.css">
+ <link rel="shortcut icon" type="image/png" href="/static/img/favicon.ico">
+ {{range .moreStyles}}
+ <link rel="stylesheet" type="text/css" href="/public/{{.}}">
+ {{end}}
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <noscript>
+ <style>.navbar{margin-bottom:0;}</style>
+ </noscript>
+ </head>
+ <body>
diff --git a/templates/index/index.html b/templates/index/index.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/index/index.html
diff --git a/templates/jobs.html b/templates/jobs.html
new file mode 100644
index 0000000..c0d68ac
--- /dev/null
+++ b/templates/jobs.html
@@ -0,0 +1,9 @@
+{{template "header.html"}}
+{{template "navbar.html"}}
+<form method="post" action="/new">
+ <input type="text" name="Url" placeholder="domain">
+ <!--input type="text" name="name" placeholder="name">
+ <input type="hidden" name="private" value="0"-->
+ <input type="submit">
+</form>
+{{template "footer.html"}}
diff --git a/templates/login/login.html b/templates/login/login.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/login/login.html
diff --git a/templates/navbar.html b/templates/navbar.html
new file mode 100644
index 0000000..6cb06b6
--- /dev/null
+++ b/templates/navbar.html
@@ -0,0 +1,23 @@
+<nav class="navbar navbar-default navbar-custom" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbarCollapse">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <a class="navbar-brand" href="/"><span class="glyphicon glyphicon-home"></span> Home</a>
+ </div>
+ <div class="collapse navbar-collapse" id="navbarCollapse">
+ <ul class="nav navbar-nav navbar-bar-left">
+ <li>
+ <a href="#" >About</a>
+ </li>
+ <li>
+ <a href="#" >Something</a>
+ </li>
+ </ul>
+ </div>
+ </div>
+</nav>
diff --git a/templates/register/register.html b/templates/register/register.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/templates/register/register.html