forked from wallabag/wallabag
Merge branch 'dev' into register
This commit is contained in:
@ -2,6 +2,10 @@
|
||||
<a href="javascript: void(null);" id="bagit-form-close"> </a>
|
||||
<form method="get" action="index.php" id="bagit-form-form">
|
||||
<input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
|
||||
<div style="display:inline-block;cursor: pointer;" title="{% trans "Edit tags" %}" id="showtaginput" class="edit-tags">
|
||||
<span id="showtaginput">Add tags</span>
|
||||
</div>
|
||||
<input placeholder="tags, with commas" class="addurl" id="tags2add" name="tags" type="text"/>
|
||||
<input type="submit" value="{% trans "save link!" %}" />
|
||||
<div id="add-link-result"></div>
|
||||
</form>
|
||||
|
||||
@ -7,6 +7,8 @@
|
||||
{% block content %}
|
||||
<h2>{% trans "About wallabag" %}</h2>
|
||||
|
||||
<p>{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}</p>
|
||||
|
||||
<dl>
|
||||
<dt>{% trans "Project website" %}</dt>
|
||||
<dd><a href="http://www.wallabag.org">http://www.wallabag.org</a></dd>
|
||||
@ -27,8 +29,6 @@
|
||||
<dd>{{ constant('POCHE') }}</dd>
|
||||
</dl>
|
||||
|
||||
<p>{% trans "wallabag is a read-it-later application: you can save a web page by keeping only content. Elements like ads or menus are deleted." %}</p>
|
||||
|
||||
<h2>{% trans "Helping wallabag" %}</h2>
|
||||
|
||||
<p>{% trans "wallabag is free and opensource. You can help us:" %}</p>
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
</ul>
|
||||
<h3>{% trans "Bookmarklet" %}</h3>
|
||||
<p>
|
||||
{% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" 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>
|
||||
{% trans "Drag & drop this link to your bookmarks bar:" %} <a id="bookmarklet" ondragend="this.click();" 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&autoclose=true&url='%20+%20btoa(url),'_blank');})();void(0);}">{% trans "bag it!" %}</a>
|
||||
</p>
|
||||
|
||||
<h2>{% trans "Feeds" %}</h2>
|
||||
|
||||
@ -43,6 +43,11 @@ a.carrot span {
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
|
||||
a.evernote span {
|
||||
background-image: url('../../_global/img/icons/evernote-icon--black.svg');
|
||||
background-size: 16px 16px;
|
||||
}
|
||||
|
||||
a.diaspora span {
|
||||
background-image: url('../../_global/img/icons/diaspora-icon--black.png');
|
||||
background-size: 16px 16px;
|
||||
@ -67,3 +72,16 @@ a.bad-display span {
|
||||
a.print span {
|
||||
background-image: url('../img/default/print.png');
|
||||
}
|
||||
a.reload span {
|
||||
background-image: url('../img/default/reload.png');
|
||||
}
|
||||
.edit-tags span {
|
||||
background-image: url('../img/default/tags.png');
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
/* Hide textual content */
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
@ -151,6 +151,16 @@ a:visited {
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
.random {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
overflow: hidden;
|
||||
text-align: left;
|
||||
text-indent: -9999px;
|
||||
background-image: url('../img/default/dice.png');
|
||||
}
|
||||
|
||||
/*** ***/
|
||||
|
||||
/*** ARTICLE PAGE ***/
|
||||
|
||||
@ -31,7 +31,8 @@
|
||||
{% block pager %}
|
||||
{% if nb_results > 1 %}
|
||||
<div class="results">
|
||||
<div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}</div>
|
||||
<div class="nb-results">{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
|
||||
<a class="random" href="?action=random"><span>{% trans "random" %}</span></a></div>
|
||||
{{ page_links | raw }}
|
||||
</div>
|
||||
{% elseif nb_results == 1 %}
|
||||
|
||||
BIN
themes/default/img/default/dice.png
Normal file
BIN
themes/default/img/default/dice.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 243 B |
BIN
themes/default/img/default/reload.png
Normal file
BIN
themes/default/img/default/reload.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 343 B |
BIN
themes/default/img/default/tags.png
Normal file
BIN
themes/default/img/default/tags.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 332 B |
@ -14,10 +14,12 @@
|
||||
{% if constant('SHARE_TWITTER') == 1 %}<li><a href="https://twitter.com/home?status={{entry.title|url_encode}}%20{{ entry.url|url_encode }}%20via%20@wallabagapp" target="_blank" class="tool twitter" title="{% trans "Tweet" %}"><span>{% trans "Tweet" %}</span></a></li>{% endif %}
|
||||
{% if constant('SHARE_MAIL') == 1 %}<li><a href="mailto:?subject={{ entry.title|url_encode }}&body={{ entry.url|url_encode }}%20via%20@wallabagapp" class="tool email" title="{% trans "Email" %}"><span>{% trans "Email" %}</span></a></li>{% endif %}
|
||||
{% if constant('SHARE_SHAARLI') == 1 %}<li><a href="{{ constant('SHAARLI_URL') }}/index.php?post={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool shaarli" title="{% trans "shaarli" %}"><span>{% trans "shaarli" %}</span></a></li>{% endif %}
|
||||
{% if constant('SHARE_EVERNOTE') == 1 %}<li><a href="https://www.evernote.com/clip.action?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" target="_blank" class="tool evernote" title="{% trans "evernote" %}"><span>{% trans "evernote" %}</span></a></li>{% endif %}
|
||||
{% if constant('SHARE_DIASPORA') == 1 %}<li><a href="{{ constant('DIASPORA_URL') }}/bookmarklet?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}¬es=&v=1&noui=1&jump=doclose" target="_blank" class="tool diaspora" title="{% trans "diaspora" %}"><span>{% trans "diaspora" %}</span></a></li>{% endif %}
|
||||
{% if constant('FLATTR') == 1 %}{% if flattr.status == constant('FLATTRABLE') %}<li><a href="http://flattr.com/submit/auto?url={{ entry.url }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span></a></li>{% elseif flattr.status == constant('FLATTRED') %}<li><a href="{{ flattr.flattrItemURL }}" class="tool flattr" target="_blank" title="{% trans "flattr" %}"><span>{% trans "flattr" %}</span>{{ flattr.numFlattrs }}</a></li>{% endif %}{% endif %}
|
||||
{% if constant('CARROT') == 1 %}<li><a href="https://secure.carrot.org/GiveAndGetBack.do?url={{ entry.url|url_encode }}&title={{ entry.title|url_encode }}" class="tool carrot icon" target="_blank" title="{% trans "carrot" %}"><span>{% trans "carrot" %}</span></a></li>{% endif %}
|
||||
{% if constant('SHOW_PRINTLINK') == 1 %}<li><a title="{% trans "Print" %}" class="tool print" href="javascript: window.print();"><span>{% trans "Print" %}</span></a></li>{% endif %}
|
||||
{% if constant('RELOAD_ARTICLE') == 1 %}<li><a class="tool reload" href="./?action=reload_article&id={{ entry.id|e }}" title="{% trans "Reload article" %}"><span>{% trans "Reload article" %}</span></a></li>{% endif %}}
|
||||
{% if constant('EPUB') == 1 %}<li><a href="./?epub&method=id&value={{ entry.id|e }}" title="Generate ePub file">EPUB</a></li>{% endif %}
|
||||
{% if constant('MOBI') == 1 %}<li><a href="./?mobi&method=id&value={{ entry.id|e }}" title="Generate Mobi file">MOBI</a></li>{% endif %}
|
||||
{% if constant('PDF') == 1 %}<li><a href="./?pdf&method=id&value={{ entry.id|e }}" title="Generate PDF file">PDF</a></li>{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user