]>
Commit | Line | Data |
---|---|---|
5ed80507 NL |
1 | {% extends "layout.twig" %} |
2 | ||
3 | {% block title %}{% trans "config" %}{% endblock %} | |
4 | {% block menu %} | |
5 | {% include '_menu.twig' %} | |
6 | {% endblock %} | |
7 | {% block content %} | |
8 | <div id="config"> | |
9 | <h2>{% trans "Poching a link" %}</h2> | |
dcc73856 | 10 | <p>{% trans "There are several ways to save an article:" %} (<a class="special" href="http://doc.wallabag.org" title="{% trans "read the documentation" %}">?</a>)</p> |
5ed80507 NL |
11 | <ul> |
12 | <li>firefox: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.xpi" title="download the firefox extension">{% trans "download the extension" %}</a></li> | |
13 | <li>chrome: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/poche.crx" title="download the chrome extension">{% trans "download the extension" %}</a></li> | |
14 | <li>android: <a href="https://bitbucket.org/jogaulupeau/poche/downloads/Poche.apk" title="download the application">{% trans "download the application" %}</a></li> | |
15 | <li> | |
16 | <form method="get" action="index.php"> | |
17 | <label class="addurl" for="plainurl">{% trans "by filling this field" %}:</label> | |
18 | <input required placeholder="Ex:mywebsite.com/article" class="addurl" id="plainurl" name="plainurl" type="url" /> | |
dcc73856 | 19 | <input type="submit" value="{% trans "bag it!" %}" /> |
5ed80507 NL |
20 | </form> |
21 | </li> | |
dcc73856 | 22 | <li>{% trans "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@wallabag.org']){top['bookmarklet-url@wallabag.org'];}else{(function(){var%20url%20=%20location.href%20||%20url;window.open('{{ poche_url }}?action=add&url='%20+%20btoa(url),'_self');})();void(0);}">{% trans "bag it!" %}</a></li> |
5ed80507 NL |
23 | </ul> |
24 | ||
dcc73856 | 25 | <h2>{% trans "Upgrading wallabag" %}</h2> |
5ed80507 | 26 | <ul> |
cae70cdb | 27 | <li>{% trans "your version" %} : <strong>{{ constant('POCHE') }}</strong></li> |
3e0e7e12 NL |
28 | <li>{% trans "latest stable version" %} : {{ prod }}. {% if compare_prod == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent stable version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li> |
29 | {% if constant('DEBUG_POCHE') == 1 %}<li>{% trans "latest dev version" %} : {{ dev }}. {% if compare_dev == -1 %}<strong><a href="http://wallabag.org/">{% trans "a more recent development version is available." %}</a></strong>{% else %}{% trans "you are up to date." %}{% endif %}</li>{% endif %} | |
5ed80507 NL |
30 | </ul> |
31 | ||
32 | <h2>{% trans "Change your theme" %}</h2> | |
33 | <form method="post" action="?updatetheme" name="changethemeform"> | |
34 | <fieldset class="w500p"> | |
35 | <div class="row"> | |
36 | <label class="col w150p" for="theme">{% trans "Theme:" %}</label> | |
37 | <select class="col" id="theme" name="theme"> | |
f4fbfaa7 NL |
38 | {% for key, theme in themes %} |
39 | <option value="{{ key }}" {{ theme.current ? 'selected' : '' }}>{{ theme.name }}</option> | |
5ed80507 NL |
40 | {% endfor %} |
41 | </select> | |
42 | </div> | |
43 | <div class="row mts txtcenter"> | |
44 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
45 | </div> | |
46 | </fieldset> | |
47 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
48 | <input type="hidden" name="token" value="{{ token }}"> | |
49 | </form> | |
50 | ||
51 | <h2>{% trans "Change your password" %}</h2> | |
52 | <form method="post" action="?config" name="loginform"> | |
53 | <fieldset class="w500p"> | |
54 | <div class="row"> | |
55 | <label class="col w150p" for="password">{% trans "New password:" %}</label> | |
56 | <input class="col" type="password" id="password" name="password" placeholder="{% trans "Password" %}" tabindex="2"> | |
57 | </div> | |
58 | <div class="row"> | |
59 | <label class="col w150p" for="password_repeat">{% trans "Repeat your new password:" %}</label> | |
60 | <input class="col" type="password" id="password_repeat" name="password_repeat" placeholder="{% trans "Password" %}" tabindex="3"> | |
61 | </div> | |
62 | <div class="row mts txtcenter"> | |
63 | <button class="bouton" type="submit" tabindex="4">{% trans "Update" %}</button> | |
64 | </div> | |
65 | </fieldset> | |
66 | <input type="hidden" name="returnurl" value="{{ referer }}"> | |
67 | <input type="hidden" name="token" value="{{ token }}"> | |
68 | </form> | |
69 | ||
70 | <h2>{% trans "Import" %}</h2> | |
71 | <p>{% trans "Please execute the import script locally, it can take a very long time." %}</p> | |
3e0e7e12 | 72 | <p>{% trans "More infos in the official doc:" %} <a href="http://doc.wallabag.org">wallabag.org</a></p> |
5ed80507 NL |
73 | <ul> |
74 | <li><a href="./?import&from=pocket">{% trans "import from Pocket" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCKET_FILE')) }}</li> | |
75 | <li><a href="./?import&from=readability">{% trans "import from Readability" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('READABILITY_FILE')) }}</li> | |
76 | <li><a href="./?import&from=instapaper">{% trans "import from Instapaper" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> | |
77 | </ul> | |
78 | ||
dcc73856 MR |
79 | <h2>{% trans "Export your wallabag data" %}</h2> |
80 | <p><a href="./?export" target="_blank">{% trans "Click here" %}</a> {% trans "to export your wallabag data." %}</p> | |
5ed80507 NL |
81 | </div> |
82 | {% endblock %} |