summaryrefslogtreecommitdiff
path: root/src/laboratorio/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'src/laboratorio/bookmarks')
-rw-r--r--src/laboratorio/bookmarks/bookmarks_template.html104
-rw-r--r--src/laboratorio/bookmarks/index.txt14
2 files changed, 118 insertions, 0 deletions
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">&lt;<a href="{{bm['url']}}">{{bm['url']}}</a>&gt;</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">
+ &lt;<a href={{entry['url']}}>{{entry['url']}}</a>&gt;
+ </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">
+ &lt;<a href={{entry['url']}}>{{entry['url']}}</a>&gt;
+ </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">
+ &lt;<a href="{{entry['url']}}">{{entry['url']}}</a>&gt;
+ </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:
+