[enh] archive.org link added to results

This commit is contained in:
Adam Tauber 2014-09-08 00:52:15 +02:00
parent cd3a52e189
commit 00e5262834
3 changed files with 8 additions and 3 deletions

View File

@ -38,9 +38,10 @@ a{text-decoration:none;color:#1a11be}a:visited{color:#8e44ad}
.result{margin:19px 0 18px 0;padding:0;clear:both} .result{margin:19px 0 18px 0;padding:0;clear:both}
.result_title{margin-bottom:0}.result_title a{color:#2980b9;font-weight:normal;font-size:1.1em}.result_title a:hover{text-decoration:underline} .result_title{margin-bottom:0}.result_title a{color:#2980b9;font-weight:normal;font-size:1.1em}.result_title a:hover{text-decoration:underline}
.result_title a:visited{color:#8e44ad} .result_title a:visited{color:#8e44ad}
.cache_link{font-size:10px !important}
.result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0} .result h3{font-size:1em;word-wrap:break-word;margin:5px 0 1px 0;padding:0}
.result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24} .result .content{font-size:.8em;margin:0;padding:0;max-width:54em;word-wrap:break-word;line-height:1.24}
.result .url{font-size:.8em;margin:3px 0 0 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b} .result .url{font-size:.8em;margin:0 0 3px 0;padding:0;max-width:54em;word-wrap:break-word;color:#c0392b}
.result .published_date{font-size:.8em;color:#888;margin:5px 20px} .result .published_date{font-size:.8em;color:#888;margin:5px 20px}
.engines{color:#888} .engines{color:#888}
.small_font{font-size:.8em} .small_font{font-size:.8em}

View File

@ -216,6 +216,10 @@ a {
} }
} }
.cache_link {
font-size: 10px !important;
}
.result { .result {
h3 { h3 {
font-size: 1em; font-size: 1em;
@ -235,7 +239,7 @@ a {
.url { .url {
font-size: 0.8em; font-size: 0.8em;
margin: 3px 0 0 0; margin: 0 0 3px 0;
padding: 0; padding: 0;
max-width: 54em; max-width: 54em;
word-wrap:break-word; word-wrap:break-word;

View File

@ -6,8 +6,8 @@
<div> <div>
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3> <h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<p class="url">{{ result.pretty_url }} <a class="cache_link" href="https://web.archive.org/web/{{ result.url }}">cached</a></p>
{% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %} {% if result.publishedDate %}<p class="published_date">{{ result.publishedDate }}</p>{% endif %}
<p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p> <p class="content">{% if result.content %}{{ result.content|safe }}<br />{% endif %}</p>
<p class="url">{{ result.pretty_url }}</p>
</div> </div>
</div> </div>