From b1b5452910a5d03374c59c155ecdc8db93ecc597 Mon Sep 17 00:00:00 2001 From: Elena of Valhalla'' Grandi Date: Tue, 22 Jan 2013 13:45:48 +0100 Subject: Sezione bookmark --- src/laboratorio/bookmarks.txt | 29 ++++++ src/laboratorio/bookmarks/bookmarks_template.html | 104 ++++++++++++++++++++++ src/laboratorio/bookmarks/index.txt | 14 +++ src/style/bookmarks.css | 49 ++++++++++ src/style/index.txt | 1 + 5 files changed, 197 insertions(+) create mode 100644 src/laboratorio/bookmarks.txt create mode 100644 src/laboratorio/bookmarks/bookmarks_template.html create mode 100644 src/laboratorio/bookmarks/index.txt create mode 100644 src/style/bookmarks.css (limited to 'src') diff --git a/src/laboratorio/bookmarks.txt b/src/laboratorio/bookmarks.txt new file mode 100644 index 0000000..252b3da --- /dev/null +++ b/src/laboratorio/bookmarks.txt @@ -0,0 +1,29 @@ +.. + restindex + include: yes + page-description: + Raccolta di bookmark relativi al LIFO + /description + tags: + section: laboratorio + encoding: UTF8 + initialheaderlevel: 2 + /restindex + + uservalues + created: 2013-01-22T12:00:00Z + /uservalues + +Bookmark +======== + +I link a pagine web di interesse comune passati sulla mailing list +o su altri canali di comunicazione del LIFO vengono raccolti +in un repository git e possono essere consultati nelle seguenti pagine. + +* `LIFO `_ (elenco completo) +* `Crypto `_ (solo link riferiti alla crittografia) + +.. + vim: set filetype=rst sw=3: + diff --git a/src/laboratorio/bookmarks/bookmarks_template.html b/src/laboratorio/bookmarks/bookmarks_template.html new file mode 100644 index 0000000..10ff991 --- /dev/null +++ b/src/laboratorio/bookmarks/bookmarks_template.html @@ -0,0 +1,104 @@ + + + Bookmarks - LIFO + + + + + + + + + + +
+ LIFO + » Laboratorio + » Bookmarks + » LIFO +
+ +
+ +
+ Di questi bookmark è anche disponibile il + + feed Atom. +
+ + {% for bm in data['bms'] | sort(reverse=True,attribute='added') %} +
+
+ {{bm['title']}} + <{{bm['url']}}> + {% if bm['comment'] is defined %} +
{{bm['comment']}}
+ {% endif %} +
+
+ {% for data in ['content-type','added','last-seen'] %} + {% if bm[data] is defined %} +
{{data}}:{{bm[data]}}
+ {% endif %} + {% endfor %} + {% if bm['mirrors'] is defined %} +
+
mirrors
+
    + {% for entry in bm['mirrors'] %} +
  • {{ entry['server']}} + + <{{entry['url']}}> + + (added: {{entry['added']}})
  • + {% endfor %} +
+
+ {% endif %} + {% if bm['positions'] is defined %} +
+
positions
+
    + {% for entry in bm['positions'] %} +
  • {{ entry['title']}} + + <{{entry['url']}}> + + (added: {{entry['added']}}) + {% if entry['comment'] is defined %} +
    {{entry['comment']}}
    + {% endif %}
  • + {% endfor %} +
+
+ {% endif %} + {% if bm['related'] is defined %} + + {% endif %} +
keywords: {% for kw in bm['keywords'] %}{{kw}} {%endfor%}
+
id: {{bm['bm_id']}}
+
+
+ {% endfor %} +
+ + diff --git a/src/laboratorio/bookmarks/index.txt b/src/laboratorio/bookmarks/index.txt new file mode 100644 index 0000000..34179b2 --- /dev/null +++ b/src/laboratorio/bookmarks/index.txt @@ -0,0 +1,14 @@ +.. + restindex + include: no + /restindex + + uservalues + created: 2010-10-10T10:10:10Z + updated: 2010-10-10T10:10:10Z + /uservalues + + +.. + vim: set filetype=rst sw=3: + diff --git a/src/style/bookmarks.css b/src/style/bookmarks.css new file mode 100644 index 0000000..64ce94f --- /dev/null +++ b/src/style/bookmarks.css @@ -0,0 +1,49 @@ + +div.feed { + margin-bottom: 1em; +} + +div.bookmark { + border-collapse: collapse; + border: solid; + border-width: 1px; + border-color: #ccc; + margin: 0px; +} + +div.bhead { + padding: 6px; + border-bottom: dotted; + border-bottom-width: 1px; +} + +div.bdata { + padding: 6px; +} + +span.url { + font-family: monospace; +} + +div.dadded { + font-family: monospace; + font-size: 80%; +} + +div.dcomment { + text-indent: 2em; +} + +div.subcomment { + text-indent: 2em; +} + +div.dkeywords { + font-family: monospace; + font-size: 80%; +} + +div.dbid { + font-family: monospace; + font-size: 80%; +} diff --git a/src/style/index.txt b/src/style/index.txt index be61d9e..83655b7 100644 --- a/src/style/index.txt +++ b/src/style/index.txt @@ -2,6 +2,7 @@ restindex include: no file: default.css + file: bookmarks.css /restindex uservalues -- cgit v1.2.3