diff options
author | Elena of Valhalla'' Grandi <valhalla.trueelena.org> | 2013-01-22 13:45:48 +0100 |
---|---|---|
committer | Elena of Valhalla'' Grandi <valhalla.trueelena.org> | 2013-01-22 13:45:48 +0100 |
commit | b1b5452910a5d03374c59c155ecdc8db93ecc597 (patch) | |
tree | 5105105a06761bb8cb7dfc3c2ace207b718a446b | |
parent | 7e611e0bb14c75dcffc94ce7be05e0bafe5ae96a (diff) |
Sezione bookmark
-rw-r--r-- | src/laboratorio/bookmarks.txt | 29 | ||||
-rw-r--r-- | src/laboratorio/bookmarks/bookmarks_template.html | 104 | ||||
-rw-r--r-- | src/laboratorio/bookmarks/index.txt | 14 | ||||
-rw-r--r-- | src/style/bookmarks.css | 49 | ||||
-rw-r--r-- | src/style/index.txt | 1 |
5 files changed, 197 insertions, 0 deletions
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 <bookmarks/lifo.html>`_ (elenco completo) +* `Crypto <bookmarks/crypto.html>`_ (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 @@ +<html> +<head> + <title>Bookmarks - LIFO</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <link rel="stylesheet" href="../../style/default.css" type="text/css"> + <link rel="stylesheet" href="../../style/bookmarks.css" type="text/css"> + <link rel="alternate" href="lifo.atom" + type="application/atom+xml" + title="{{data['collection']}} - dumb Bookmark Collection"> + <link rel="vcs-git" href="git://git.home.trueelena.org/bookmarks/lifo.git" + title="lifolab bookmarks repository" /> +</head> +<body> + +<div id="menubar"> + <div><img src="../../img/logo.png" width="160" height="160" /></div> +</div> + +<div id="crumbs"> + <a href="../../index.html">LIFO</a> + » <a href="../index.html">Laboratorio</a> + » <a href="../bookmarks.html">Bookmarks</a> + » LIFO +</div> + +<div id="main"> + + <div class="feed"> + Di questi bookmark è anche disponibile il + <a type="application/atom+xml" href="{{data['collection']}}.atom"> + feed Atom</a>. + </div> + + {% for bm in data['bms'] | sort(reverse=True,attribute='added') %} + <div class="bookmark"> + <div class="bhead"> + <span class="dtitle">{{bm['title']}}</span> + <span class="url"><<a href="{{bm['url']}}">{{bm['url']}}</a>></span> + {% if bm['comment'] is defined %} + <div class="dcomment">{{bm['comment']}}</div> + {% endif %} + </div> + <div class="bdata"> + {% for data in ['content-type','added','last-seen'] %} + {% if bm[data] is defined %} + <div class="d{{ data }}">{{data}}:{{bm[data]}}</div> + {% endif %} + {% endfor %} + {% if bm['mirrors'] is defined %} + <div class="mirrors"> + <div class="dmirrors-head">mirrors</div> + <ul class="dmirrors-body"> + {% for entry in bm['mirrors'] %} + <li class="dmirror">{{ entry['server']}} + <span class="url"> + <<a href={{entry['url']}}>{{entry['url']}}</a>> + </span> + (added: {{entry['added']}})</li> + {% endfor %} + </ul> + </div> + {% endif %} + {% if bm['positions'] is defined %} + <div class="positions"> + <div class="dpositions-head">positions</div> + <ul class="dpositions-body"> + {% for entry in bm['positions'] %} + <li class="dpositions">{{ entry['title']}} + <span class="url"> + <<a href={{entry['url']}}>{{entry['url']}}</a>> + </span> + (added: {{entry['added']}}) + {% if entry['comment'] is defined %} + <div class="subcomment">{{entry['comment']}}</div> + {% endif %}</li> + {% endfor %} + </ul> + </div> + {% endif %} + {% if bm['related'] is defined %} + <div class="related"> + <div class="drelated-head">related resources</div> + <ul class="drelated-body"> + {% for entry in bm['related'] %} + <li class="drelated">{{ entry['relation']}}: {{ entry['title']}} + <span class="url"> + <<a href="{{entry['url']}}">{{entry['url']}}</a>> + </span> + (added: {{entry['added']}}) + {% if entry['comment'] is defined %} + <div class="subcomment">{{entry['comment']}}</div> + {% endif %}</li> + {% endfor %} + </ul> + </div> + {% endif %} + <div class="dkeywords">keywords: {% for kw in bm['keywords'] %}{{kw}} {%endfor%}</div> + <div class="dbid">id: {{bm['bm_id']}}</div> + </div> + </div> + {% endfor %} +</div> +</body> +</html> 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 |