summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorroot <root@dev.spline.de>2008-08-17 12:08:12 +0200
committerroot <root@dev.spline.de>2008-08-17 12:08:12 +0200
commit236ad4c8dbef414ef29348634fd0a6ccded1a1d6 (patch)
treeb41990232be2235d87878c8f35fbc4a55b8448dc /templates/base.html
downloaddev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.tar.gz
dev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.tar.xz
dev-account-236ad4c8dbef414ef29348634fd0a6ccded1a1d6.zip
initial import
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
new file mode 100644
index 0000000..0828ba4
--- /dev/null
+++ b/templates/base.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <title>dev.spline.de - {% block title %}Welcome{% endblock %}</title>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <link href="/css/layout.css" rel="stylesheet" type="text/css" />
+ <!--[if lte IE 7]>
+ <link href="/css/patches/patch_layout.css" rel="stylesheet" type="text/css" />
+ <![endif]-->
+ <script src="/js/form.js" type="text/javascript"></script>
+</head>
+<body>
+ <div id="page_margins">
+ <div id="page">
+ <div id="header">
+ <div class="subcolumns">
+ <div class="c50l">
+ <a href="/"><img id="logo" src="/img/logo.png" alt="logo" /></a>
+ </div>
+ <div class="c50r" style="text-align: right;">
+ {% if session.login %}
+ you are logged in as <em>{{ session.login }}</em>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ {% if info_msg %}
+ <div id="info">
+ {{ info_msg }}
+ </div>
+ {% endif %}
+ {% if error_msg %}
+ <div id="error">
+ {{ error_msg }}
+ </div>
+ {% endif %}
+ <div id="main">
+ <div id="col1">
+ <div id="col1_content" class="clearfix">
+ <div class="nav navbox">
+ <a href="/trac/">Project Listing</a>
+ </div>
+ {% if session.login %}
+ <div id="nav" class="nav navbox">
+ <a href="new_project">New Project</a>
+ <a href="projects">My Projects</a>
+ <a href="profile">My Profile</a>
+ <a href="logout">Logout</a>
+ </div>
+ {% else %}
+ <div id="login" class="navbox">
+ <p>Sign in with your dev.spline.de account</p>
+ <form action="login" method="post">
+ <input id="login_input" type="text" name="login" value="login" onfocus="clearInput('login_input')" />
+ <input id="password_input" type="password" name="password" value="password" onfocus="clearInput('password_input')" />
+ <input type="submit" value="Login"/>
+ </form>
+ <p><a href="password">I forgot my password</a></p>
+ </div>
+ <div id="register" class="navbox">
+ <p>Don't have a dev.spline.de account?<br/><br/>
+ <a href="register">Create an account now</a></p>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+ <div id="col3">
+ <div id="col3_content" class="clearfix">
+ {% block content %}{% endblock %}
+ </div>
+ <!-- IE Column Clearing -->
+ <div id="ie_clearing"> &#160; </div>
+ </div>
+ </div>
+ <!-- begin: #footer -->
+ <div id="footer">
+ <div class="subcolumns">
+ <div class="c50l">
+ dev.spline.de is operated by <a href="http://www.spline.de/">spline</a>
+ </div>
+ <div class="c50r" style="text-align: right">
+ <a href="/">home</a> |
+ <a href="/account/imprint">imprint</a>
+ </div>
+ </div>
+ </div>
+ {% if debug_msg %}
+ <div id="debug">
+ {{ debug_msg }}
+ </div>
+ {% endif %}
+ </div>
+ </div>
+</body>
+</html>