Tom Willemse
9aed878305
Users can now either look at the whole list or only tasks assigned to them. Currently this waits for the refresh to change the list, this should be fixed in the future.
142 lines
4.4 KiB
Cheetah
142 lines
4.4 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}">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()">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>
|
|
|
|
<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}
|