teaching: new topics page to index thesis topics
authorStefano Zacchiroli <zack@upsilon.cc>
Wed, 16 Jul 2014 12:38:20 +0000 (14:38 +0200)
committerStefano Zacchiroli <zack@upsilon.cc>
Wed, 16 Jul 2014 12:38:20 +0000 (14:38 +0200)
local.css
teaching/topics.mdwn [new file with mode: 0644]
templates/inline-stage.tmpl [new file with mode: 0644]

index 231ab65..daa8f3a 100644 (file)
--- a/local.css
+++ b/local.css
@@ -203,3 +203,10 @@ table.identikit tr td {
 }
 
 .course-material-entry { display: list-item }
+
+.inline-stage {
+    border: 1px solid #aaa;
+    padding: 0 5px 0 5px;
+    overflow: auto;
+    margin-bottom: 5px;
+}
diff --git a/teaching/topics.mdwn b/teaching/topics.mdwn
new file mode 100644 (file)
index 0000000..1c32a9e
--- /dev/null
@@ -0,0 +1,8 @@
+# (MSc) Thesis topics / Sujets de stage / Argomenti di tesi
+
+[[!inline
+   pages="teaching/topics/*"
+   show="0"
+   sort="path"
+   template="inline-stage"
+]]
diff --git a/templates/inline-stage.tmpl b/templates/inline-stage.tmpl
new file mode 100644 (file)
index 0000000..109809a
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="inline-stage">
+<TMPL_VAR CONTENT>
+</div>