summaryrefslogtreecommitdiff
path: root/src/laboratorio/bookmarks/bookmarks_template.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/laboratorio/bookmarks/bookmarks_template.html')
-rw-r--r--src/laboratorio/bookmarks/bookmarks_template.html104
1 files changed, 104 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>