]>
Commit | Line | Data |
---|---|---|
2b840e0c NL |
1 | {% extends "layout.twig" %} |
2 | ||
3 | {% block title %}{% trans "config" %}{% endblock %} | |
4 | {% block menu %} | |
ce4a1dcc | 5 | {% include '_menu.twig' %} |
2b840e0c NL |
6 | {% endblock %} |
7 | {% block content %} | |
3008e36a | 8 | <h2>{% trans "Poching a link" %}</h2> |
d11e2bcf | 9 | <p>You can poche a link by several methods: (<a href="http://inthepoche.com/doc" title="{% trans "read the documentation" %}">?</a>)</p> |
38b418b7 NL |
10 | <ul> |
11 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">download the extension</a></li> | |
12 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">download the extension</a></li> | |
13 | <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">download the application</a></li> | |
ce4a1dcc NL |
14 | <li> |
15 | <form method="get" action="index.php"> | |
16 | <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label> | |
17 | <input autofocus required placeholder="Ex:mywebsite.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | |
18 | <input type="submit" value="{% trans "poche it!" %}" /> | |
19 | </form> | |
20 | </li> | |
e6ba0359 | 21 | <li>bookmarklet: drag & drop this link to your bookmarks bar <a id="bookmarklet" ondragend="this.click();" title="i am a bookmarklet, use me !" href="javascript:if(top['bookmarklet-url@inthepoche.com']){top['bookmarklet-url@inthepoche.com'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "poche it!" %}</a></li> |
38b418b7 | 22 | </ul> |
da368cc8 | 23 | |
6a361945 | 24 | <h2>{% trans "Updating poche" %}</h2> |
258d7032 | 25 | <ul> |
6a361945 | 26 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE_VERSION') }}</strong></li> |
d11e2bcf NL |
27 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
28 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://inthepoche.com/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | |
6a361945 | 29 | </ul> |
32520785 | 30 | |
6a361945 NL |
31 | <h2>{% trans "Change your password" %}</h2> |
32 | <form method="post" action="?config" name="loginform"> | |
33 | <fieldset class="w500p"> | |
34 | <div class="row"> | |
35 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | |
36 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | |
37 | </div> | |
38 | <div class="row"> | |
39 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | |
40 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | |
41 | </div> | |
42 | <div class="row mts txtcenter"> | |
43 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
44 | </div> | |
45 | </fieldset> | |
46 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
47 | <input type="hidden" name="token" value="{{ token }}"> | |
48 | </form> | |
c765c367 | 49 | |
6a361945 NL |
50 | <h2>{% trans "Import" %}</h2> |
51 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> | |
d11e2bcf | 52 | <p>{% trans "More infos in the official doc:" %} <a href="http://inthepoche.com/doc">inthepoche.com</a></p> |
258d7032 | 53 | <ul> |
fccd59e2 NL |
54 | <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> (you must have a "{{ constant('IMPORT_POCKET_FILE')}}" file on your server)</li> |
55 | <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> (you must have a "{{constant('IMPORT_READABILITY_FILE')}}" file on your server)</li> | |
56 | <li><a href="./?import&from=instapaper">{% trans "import from Instapaper" %}</a> (you must have a "{{constant('IMPORT_INSTAPAPER_FILE')}}" file on your server)</li> | |
258d7032 | 57 | </ul> |
c765c367 | 58 | |
6a361945 NL |
59 | <h2>{% trans "Export your poche datas" %}</h2> |
60 | <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your poche datas." %}</p> | |
2b840e0c | 61 | {% endblock %} |