diff options
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/error.twig | 7 | ||||
-rw-r--r-- | tpl/install.twig | 16 |
2 files changed, 15 insertions, 8 deletions
diff --git a/tpl/error.twig b/tpl/error.twig new file mode 100644 index 00000000..84c3bc1c --- /dev/null +++ b/tpl/error.twig | |||
@@ -0,0 +1,7 @@ | |||
1 | {% extends "layout.twig" %} | ||
2 | {% block title %}{% trans "error" %}{% endblock %} | ||
3 | {% block content %} | ||
4 | <h1>error</h1> | ||
5 | <p>{{ msg|raw }}</p> | ||
6 | <p>Don't forget <a href="http://inthepoche.com/?pages/Documentation">the documentation</a>.</p> | ||
7 | {% endblock %} \ No newline at end of file | ||
diff --git a/tpl/install.twig b/tpl/install.twig index 8bcede0d..afb5b0f6 100644 --- a/tpl/install.twig +++ b/tpl/install.twig | |||
@@ -7,21 +7,21 @@ | |||
7 | <p> | 7 | <p> |
8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://inthepoche.com/?pages/Documentation'>read the documentation on poche website</a>." %} | 8 | {% trans "poche is still not installed. Please fill the below form to install it. Don't hesitate to <a href='http://inthepoche.com/?pages/Documentation'>read the documentation on poche website</a>." %} |
9 | </p> | 9 | </p> |
10 | <div class="row"> | 10 | <p class="row"> |
11 | <label class="col w150p" for="login">{% trans "Login" %}</label> | 11 | <label class="col w150p" for="login">{% trans "Login" %}</label> |
12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus /> | 12 | <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus /> |
13 | </div> | 13 | </p> |
14 | <div class="row"> | 14 | <p class="row"> |
15 | <label class="col w150p" for="password">{% trans "Password" %}</label> | 15 | <label class="col w150p" for="password">{% trans "Password" %}</label> |
16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2"> | 16 | <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2"> |
17 | </div> | 17 | </p> |
18 | <div class="row"> | 18 | <p class="row"> |
19 | <label class="col w150p" for="password_repeat">{% trans "Repeat your password" %}</label> | 19 | <label class="col w150p" for="password_repeat">{% trans "Repeat your password" %}</label> |
20 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3"> | 20 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="Password" tabindex="3"> |
21 | </div> | 21 | </p> |
22 | <div class="row mts txtcenter"> | 22 | <p class="row mts txtcenter"> |
23 | <button class="bouton" type="submit" tabindex="4">{% trans "Install" %}</button> | 23 | <button class="bouton" type="submit" tabindex="4">{% trans "Install" %}</button> |
24 | </div> | 24 | </p> |
25 | </fieldset> | 25 | </fieldset> |
26 | <input type="hidden" name="token" value="{{ token }}"> | 26 | <input type="hidden" name="token" value="{{ token }}"> |
27 | </form> | 27 | </form> |