diff options
author | Emilien Klein <emilien@klein.st> | 2014-11-08 17:32:12 +0100 |
---|---|---|
committer | Emilien Klein <emilien@klein.st> | 2014-11-08 17:32:12 +0100 |
commit | 19920acc179f95a88b5c26c2e6aeebcebdda19c6 (patch) | |
tree | 3a826d9a4761ebb5a31d52f8cf4247a1fffd0e4d | |
parent | 36b226ca1bdc856ec3b8c0655852289e52b8d777 (diff) | |
parent | b113dc8e6bba052883297ab575dd36fd3073805e (diff) | |
download | Shaarli-19920acc179f95a88b5c26c2e6aeebcebdda19c6.tar.gz Shaarli-19920acc179f95a88b5c26c2e6aeebcebdda19c6.tar.zst Shaarli-19920acc179f95a88b5c26c2e6aeebcebdda19c6.zip |
Merge pull request #43 from nodiscc/archiveorg-integration
Add Archive.org integration
-rw-r--r-- | inc/shaarli.css | 9 | ||||
-rw-r--r-- | tpl/linklist.html | 1 |
2 files changed, 6 insertions, 4 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css index 13e6ab33..28394ed5 100644 --- a/inc/shaarli.css +++ b/inc/shaarli.css | |||
@@ -232,9 +232,10 @@ cursor:pointer; | |||
232 | .linktitle { font-size:14pt; font-weight:bold; } | 232 | .linktitle { font-size:14pt; font-weight:bold; } |
233 | .linktitle a { text-decoration: none; color:#80AD48; } | 233 | .linktitle a { text-decoration: none; color:#80AD48; } |
234 | .linktitle a:hover { color:#F57900; } | 234 | .linktitle a:hover { color:#F57900; } |
235 | .linkdate { font-size:8pt; color:#888; } | 235 | .linkdate, .linkarchive { font-size:8pt; color:#888; } |
236 | .linkdate a { background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; color:#E28E3F; } | 236 | .linkdate a, .linkarchive a { color:#E28E3F; } |
237 | .linkdate a:hover { color: #F57900 } | 237 | .linkdate a {background-image:url('../images/calendar.png');padding:2px 0 3px 20px;background-repeat:no-repeat;text-decoration: none; } |
238 | .linkdate a:hover, .linkarchive a:hover { color: #F57900 } | ||
238 | .linkurl { font-size:8pt; color:#4BAA74; } | 239 | .linkurl { font-size:8pt; color:#4BAA74; } |
239 | .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; } | 240 | .linkdescription { color:#000; margin-top:0; margin-bottom:12px; font-weight:normal; max-height:400px; overflow:auto; } |
240 | .linkdescription a { text-decoration: none; color:#3465A4; } | 241 | .linkdescription a { text-decoration: none; color:#3465A4; } |
@@ -466,4 +467,4 @@ div.dailyEntryDescription { font-size:10pt; } | |||
466 | } | 467 | } |
467 | 468 | ||
468 | /* Highlight search results */ | 469 | /* Highlight search results */ |
469 | .highlight { background-color: #FFFF33; } \ No newline at end of file | 470 | .highlight { background-color: #FFFF33; } |
diff --git a/tpl/linklist.html b/tpl/linklist.html index ddc38cb0..b7cf096f 100644 --- a/tpl/linklist.html +++ b/tpl/linklist.html | |||
@@ -48,6 +48,7 @@ | |||
48 | {else} | 48 | {else} |
49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> | 49 | <span class="linkdate" title="Short link here"><a href="?{$value.linkdate|smallHash}">permalink</a> - </span> |
50 | {/if} | 50 | {/if} |
51 | <span class="linkarchive"><a href="https://web.archive.org/web/{$value.url|htmlspecialchars}">archive</a> - </span> | ||
51 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" | 52 | <div style="position:relative;display:inline;"><a href="http://qrfree.kaywa.com/?l=1&s=8&d={$scripturl|urlencode}%3F{$value.linkdate|smallHash}" |
52 | onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code"></a></div> - | 53 | onclick="showQrCode(this); return false;" class="qrcode" data-permalink="{$scripturl}?{$value.linkdate|smallHash}"><img src="images/qrcode.png#" width="13" height="13" title="QR-Code"></a></div> - |
53 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> | 54 | <span class="linkurl" title="Short link">{$value.url|htmlspecialchars}</span><br> |