diff options
Diffstat (limited to 'themes/baggy/config.twig')
-rw-r--r-- | themes/baggy/config.twig | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/themes/baggy/config.twig b/themes/baggy/config.twig index b37ac115..4026bf28 100644 --- a/themes/baggy/config.twig +++ b/themes/baggy/config.twig | |||
@@ -103,13 +103,26 @@ | |||
103 | {% endif %} | 103 | {% endif %} |
104 | 104 | ||
105 | <h2>{% trans "Import" %}</h2> | 105 | <h2>{% trans "Import" %}</h2> |
106 | <p>{% trans "Please execute the import script locally as it can take a very long time." %}</p> | 106 | <p>1. {% trans "Select a file on your computer and upload it." %}</p> |
107 | <p>{% trans "More info in the official documentation:" %} <a href="http://doc.wallabag.org/doku.php?id=users:migrate">wallabag.org</a></p> | 107 | <form method="post" action="?uploadfile" name="uploadfile" enctype="multipart/form-data"> |
108 | <fieldset class="w500p"> | ||
109 | <div class="row"> | ||
110 | <label class="col w150p" for="file">{% trans "File:" %}</label> | ||
111 | <input class="col" type="file" id="file" name="file" tabindex="4"> | ||
112 | </div> | ||
113 | <div class="row mts txtcenter"> | ||
114 | <button class="bouton" type="submit" tabindex="4">{% trans "Upload" %}</button> | ||
115 | </div> | ||
116 | </fieldset> | ||
117 | <input type="hidden" name="MAX_FILE_SIZE" value="1048576"> | ||
118 | <input type="hidden" name="returnurl" value="{{ referer }}"> | ||
119 | </form> | ||
120 | <p>2. {% trans "Then, click on the right link below." %}</p> | ||
108 | <ul> | 121 | <ul> |
109 | <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> | 122 | <li><a href="./?import&from=pocket">{% trans "Import from Pocket" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCKET_FILE')) }}</li> |
110 | <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> | 123 | <li><a href="./?import&from=readability">{% trans "Import from Readability" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('READABILITY_FILE')) }}</li> |
111 | <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> | 124 | <li><a href="./?import&from=instapaper">{% trans "Import from Instapaper" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('INSTAPAPER_FILE')) }}</li> |
112 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(you must have a %s file on your server)'|trans|format(constant('POCHE_FILE')) }}</li> | 125 | <li><a href="./?import&from=poche">{% trans "Import from wallabag" %}</a> {{ '(after uploaded %s file)'|trans|format(constant('POCHE_FILE')) }}</li> |
113 | </ul> | 126 | </ul> |
114 | 127 | ||
115 | <h2>{% trans "Export your wallabag data" %}</h2> | 128 | <h2>{% trans "Export your wallabag data" %}</h2> |