scrumli/templates/scrumli.tmpl

142 lines
4.4 KiB
Cheetah
Raw Normal View History

2013-07-23 23:40:09 +02:00
/* scrumli --- A simple scrum web application
Copyright (C) 2013 Tom Willemse
scrumli is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
scrumli is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with scrumli. If not, see <http://www.gnu.org/licenses/>. */
2013-07-13 22:55:54 +02:00
{namespace scrumli-templates}
{template main}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{$title}</title>
{foreach $css in $csss}
<link href="{$css}" rel="stylesheet" type="text/css">
{/foreach}
{foreach $js in $jss}
<script src="{$js}" type="text/javascript" language="javascript">
</script>
{/foreach}
</head>
<body>
<div class="navbar navbar-static-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a class="brand">scrumli</a>
<div class="pull-right">
<ul class="nav pull-right">
<li>
<span class="navbar-text">
<img src="https://secure.gravatar.com/avatar/{$usermd5}?s=16" />
{$username}
</span>
</li>
2013-07-13 22:55:54 +02:00
<li class="divider-vertical"></li>
<li><a href="{$ulogout}">Logout</a></li>
<li class="divider-vertical"></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
2013-07-15 19:51:45 +02:00
<h1>
2013-07-24 20:45:43 +02:00
<button data-target=".newTaskModal" role="button"
2013-07-15 19:51:45 +02:00
data-toggle="modal" class="nothing">
<i class="icon-plus-sign icon-2x"></i>
</button>
Backlog
</h1>
2013-07-13 22:55:54 +02:00
<div id="content"></div>
<script src="{$umainjs}" type="text/jsx"></script>
</div>
2013-07-23 23:40:09 +02:00
<footer class="footer">
<div class="container">
<small>
Scrumli available under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU
Affero General Public License</a>. You can download its
source code
<a href="http://code.ryuslash.org/cgit.cgi/scrumli/">here</a>.
</small>
</div>
</footer>
2013-07-13 22:55:54 +02:00
</body>
</html>
{/template}
{template login}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>{$title}</title>
{foreach $css in $csss}
<link href="{$css}" rel="stylesheet" type="text/css">
{/foreach}
{foreach $js in $jss}
<script src="{$js}" type="text/javascript" language="javascript">
</script>
{/foreach}
</head>
<body>
<div class="navbar navbar-static-top navbar-inverse">
<div class="navbar-inner">
<div class="container">
<a class="brand">scrumli</a>
<ul class="nav pull-right">
<li class="divider-vertical"></li>
<li><a href="javascript:login()">Login</a></li>
<li class="divider-vertical"></li>
</ul>
</div>
</div>
</div>
<div class="container">
<br />
<div class="hero-unit">
<h1>Scrumli</h1>
<p>
As a <em>developer</em> I <em>love</em>
to <em>scrum</em>...
</p>
<a class="btn btn-primary btn-large" href="javascript:login()">
Login
</a>
</div>
</div>
<form id="login-form" method="POST" action="">
<input id="assertion-field" type="hidden" name="assertion" />
</form>
2013-07-23 23:40:09 +02:00
<footer class="footer">
<div class="container">
<small>
Scrumli available under the
<a href="https://www.gnu.org/licenses/agpl-3.0.html">GNU
Affero General Public License</a>. You can download its
source code
<a href="http://code.ryuslash.org/cgit.cgi/scrumli/">here</a>.
</small>
</div>
</footer>
2013-07-13 22:55:54 +02:00
</body>
</html>
{/template}