aboutsummaryrefslogtreecommitdiffstats
path: root/templates/scrumli.tmpl
blob: b86c4be31f8e5b8993da24e82efdab9de6634c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/* 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}