aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/config.twig1
-rw-r--r--tpl/login.twig6
-rw-r--r--tpl/view.twig1
3 files changed, 5 insertions, 3 deletions
diff --git a/tpl/config.twig b/tpl/config.twig
index c18806bc..dc49ee39 100644
--- a/tpl/config.twig
+++ b/tpl/config.twig
@@ -42,6 +42,7 @@
42 <p><ul> 42 <p><ul>
43 <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li> 43 <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "ril_export.html" file on your server)</li>
44 <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li> 44 <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "readability" file on your server)</li>
45 <li><a href="./?import&from=instapaper">{% trans "import from Instapaper" %}</a> (you must have a "instapaper-export.html" file on your server)</li>
45 </ul></p> 46 </ul></p>
46 47
47 <h2>{% trans "Export your poche datas" %}</h2> 48 <h2>{% trans "Export your poche datas" %}</h2>
diff --git a/tpl/login.twig b/tpl/login.twig
index c3028795..b24674e2 100644
--- a/tpl/login.twig
+++ b/tpl/login.twig
@@ -5,15 +5,15 @@
5 <form method="post" action="?login" name="loginform"> 5 <form method="post" action="?login" name="loginform">
6 <fieldset class="w500p center"> 6 <fieldset class="w500p center">
7 <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2> 7 <h2 class="mbs txtcenter">{% trans "login to your poche" %}</h2>
8 {% if demo == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %} 8 {% if constant('MODE_DEMO') == 1 %}<p>{% trans "you are in demo mode, some features may be disabled." %}</p>{% endif %}
9 <div class="row"> 9 <div class="row">
10 <label class="col w150p" for="login">{% trans "Login" %}</label> 10 <label class="col w150p" for="login">{% trans "Login" %}</label>
11 <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if demo == 1 %}value="poche"{% endif %} /> 11 <input class="col" type="text" id="login" name="login" placeholder="Login" tabindex="1" autofocus {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
12 </div> 12 </div>
13 13
14 <div class="row"> 14 <div 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" {% if demo == 1 %}value="poche"{% endif %} /> 16 <input class="col" type="password" id="password" name="password" placeholder="Password" tabindex="2" {% if constant('MODE_DEMO') == 1 %}value="poche"{% endif %} />
17 </div> 17 </div>
18 <div class="row"> 18 <div class="row">
19 <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label> 19 <label class="col w150p" for="longlastingsession">{% trans "Stay signed in" %}</label>
diff --git a/tpl/view.twig b/tpl/view.twig
index 8ef5cd9c..bf9a9af9 100644
--- a/tpl/view.twig
+++ b/tpl/view.twig
@@ -8,6 +8,7 @@
8 </div> 8 </div>
9 <div class="tools"> 9 <div class="tools">
10 <ul> 10 <ul>
11 {% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title}}%20{{ entry.url|e }}%20via%20@getpoche" target="_blank" class="tool twitter"><span></span></a></li>{% endif %}
11 <li><a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" onclick="toggle_archive(this, {{ entry.id|e }})"><span></span></a></li> 12 <li><a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" onclick="toggle_archive(this, {{ entry.id|e }})"><span></span></a></li>
12 <li><a href="#" id="themeswitch">{% trans "dark" %}</a></li> 13 <li><a href="#" id="themeswitch">{% trans "dark" %}</a></li>
13 <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" onclick="toggle_favorite(this, {{ entry.id|e }})"><span></span></a></li> 14 <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" onclick="toggle_favorite(this, {{ entry.id|e }})"><span></span></a></li>