scrumli/templates/scrumli.tmpl

149 lines
4.6 KiB
Cheetah

/* 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/>. */
{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>
<li class="divider-vertical"></li>
<li id="filter"></li>
<li><a href="{$ulogout}">
<i class="icon-signout icon-light"></i>
Logout
</a></li>
<li class="divider-vertical"></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container">
<h1>
<button data-target=".newTaskModal" role="button"
data-toggle="modal" class="nothing">
<i class="icon-plus-sign icon-2x"></i>
</button>
Backlog
</h1>
<div id="content"></div>
<script src="{$umainjs}" type="text/jsx"></script>
</div>
<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>
</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()">
<i class="icon-signin icon-light"></i>
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()">
<i class="icon-signin"></i>
Login
</a>
</div>
</div>
<form id="login-form" method="POST" action="">
<input id="assertion-field" type="hidden" name="assertion" />
</form>
<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>
</body>
</html>
{/template}