summaryrefslogtreecommitdiffstats
path: root/templates/blogpost.tmpl
diff options
context:
space:
mode:
authorGrégoire Détrez <gregoire.detrez@gu.se>2015-09-29 22:29:32 +0200
committerGrégoire Détrez <gregoire.detrez@gu.se>2015-09-29 22:29:32 +0200
commitdd4243022e3a2ecbed0838bc5433bec8b60532bd (patch)
tree432d8d0a1613d5d466089de726d07b12a3895943 /templates/blogpost.tmpl
parent2f59cf59685653c0a19f2abc4ea77f79afb46689 (diff)
Make the bug list prettier
Diffstat (limited to 'templates/blogpost.tmpl')
-rw-r--r--templates/blogpost.tmpl30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl
new file mode 100644
index 0000000..6156881
--- /dev/null
+++ b/templates/blogpost.tmpl
@@ -0,0 +1,30 @@
+<p class="text-right">
+ <TMPL_IF RSSURL>
+ <a class="label label-info" type="application/rss+xml" rel="alternate"
+ title="<TMPL_VAR RSSDESC>" href="<TMPL_VAR RSSURL>">RSS</a>
+ </TMPL_IF>
+ <TMPL_IF ATOMURL>
+ <a class="label label-info" type="application/atom+xml" rel="alternate"
+ title="<TMPL_VAR ATOMDESC>" href="<TMPL_VAR ATOMURL>">Atom</a>
+ </TMPL_IF>
+</p>
+<form <TMPL_IF POSTFORMID>id="<TMPL_VAR POSTFORMID ESCAPE=HTML>"</TMPL_IF>
+ action="<TMPL_VAR CGIURL>" method="get" class="form-inline">
+ <input type="hidden" name="do" value="blog" />
+ <input type="hidden" name="from" value="<TMPL_VAR ROOTPAGE>" />
+ <input type="hidden" name="subpage" value="1" />
+ <div class="row">
+ <div class="panel panel-default col-md-10 col-md-offset-1">
+ <div class="panel-body">
+ <span class="text-uppercase text-muted">
+ <strong><TMPL_VAR POSTFORMTEXT></strong>&nbsp;
+ </span>
+ <div class="form-group">
+ <label for="title" class="sr-only">Title</label>
+ <input class="form-control" placeholder="Title" name="title" size="40" />
+ </div>
+ <input type="submit" value="Edit" class="btn btn-default"/>
+ </div>
+ </div>
+ </div>
+</form>