diff options
author | Grégoire <Grégoire@web> | 2014-01-12 00:02:42 +0100 |
---|---|---|
committer | ikiwiki <ikiwiki@zetkin.marxist.se> | 2014-01-12 00:02:42 +0100 |
commit | 45f9d2510417a93281a8c4adf6c9e40229d4da39 (patch) | |
tree | 2e0f350d26111d1ac48a39b4b5be5c988be0baf7 /tracker/New_template_for_the_wiki | |
parent | a210d8954190d0282ecf36189d7d05a6c57f2f9b (diff) |
attachment upload
Diffstat (limited to 'tracker/New_template_for_the_wiki')
-rw-r--r-- | tracker/New_template_for_the_wiki/0001-Bootstrap-template.patch | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/tracker/New_template_for_the_wiki/0001-Bootstrap-template.patch b/tracker/New_template_for_the_wiki/0001-Bootstrap-template.patch new file mode 100644 index 0000000..96daf15 --- /dev/null +++ b/tracker/New_template_for_the_wiki/0001-Bootstrap-template.patch @@ -0,0 +1,125 @@ +From 200490842426b70eb2d5fbcc9e8211e9b0845b1f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Gr=C3=A9goire=20D=C3=A9trez?= <gregoire.detrez@gu.se> +Date: Tue, 7 Jan 2014 18:20:07 +0100 +Subject: [PATCH] Bootstrap template + +--- + templates/page.tmpl | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++ + 1 file changed, 106 insertions(+) + create mode 100644 templates/page.tmpl + +diff --git a/templates/page.tmpl b/templates/page.tmpl +new file mode 100644 +index 0000000..023121c +--- /dev/null ++++ b/templates/page.tmpl +@@ -0,0 +1,106 @@ ++<!DOCTYPE html> ++<html> ++ <head> ++ <title>Fripost | democratisk e-post</title> ++ <meta name="viewport" content="width=device-width, initial-scale=1.0"> ++ <!-- Bootstrap --> ++ <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"> ++ <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> ++ <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> ++ <!--[if lt IE 9]> ++ <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> ++ <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> ++ <![endif]--> ++ </head> ++ <style> ++ .navbar-fripost { ++ background-color: inherit; ++ border-bottom: black thin solid; ++ border-radius: 0; ++ margin-top: 1em ++ } ++ .navbar-fripost a { ++ color: black; ++ } ++ </style> ++ <body> ++ <div class="container"> ++ <nav class="navbar navbar-fripost" role="navigation"> ++ <!-- Brand and toggle get grouped for better mobile display --> ++ <div class="navbar-header"> ++ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> ++ <span class="sr-only">Toggle navigation</span> ++ <span class="icon-bar"></span> ++ <span class="icon-bar"></span> ++ <span class="icon-bar"></span> ++ </button> ++ <a class="navbar-brand" href="#"><b>fripost</b> | democratisk e-post</a> ++ </div> ++ ++ <!-- Collect the nav links, forms, and other content for toggling --> ++ <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> ++ <ul class="nav navbar-nav"> ++ <li class="active"><a href="#">Hem</a></li> ++ <li><a href="<TMPL_VAR BASEURL>om/">Om</a></li> ++ <li><a href="<TMPL_VAR BASEURL>faq">FAQ</a></li> ++ <li><a href="<TMPL_VAR BASEURL>ga-med">Gå med</a></li> ++ <li><a href="<TMPL_VAR BASEURL>kontakt">Kontakt</a></li> ++ </ul> ++ <ul class="nav navbar-nav navbar-right"> ++ <li> ++ <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="glyphicon glyphicon-user"></span> Members <b class="caret"></b></a> ++ <ul class="dropdown-menu"> ++ <li><a href="https://mail.fripost.org/"><span class="glyphicon glyphicon-envelope"></span> Webmail</a></li> ++ <li><a href="https://antilop.fripost.org/mailman/listinfo"><span class="glyphicon glyphicon-list"></span> Mailing lists</a></li> ++ <li class="divider"></li> ++ <li><a href="#"><span class="glyphicon glyphicon-wrench"></span> Admin panel</a></li> ++ </ul> ++ </li> ++ </ul> ++ </div><!-- /.navbar-collapse --> ++ </nav> ++ ++ <div id="content" style="padding:0 1em 0"> ++ <TMPL_VAR CONTENT> ++ ++ <div class="row"><div class="col-md-6"> ++ <ol class="breadcrumb"> ++ <TMPL_LOOP NAME="PARENTLINKS"> ++ <li><a href="<TMPL_VAR NAME=URL>"><TMPL_VAR NAME=PAGE></a></li> ++ </TMPL_LOOP> ++ <li class="active"><TMPL_VAR TITLE> ++ </ol> ++ </div> ++ ++ <div class="btn-toolbar col-md-6" role="toolbar"> ++ <TMPL_IF HAVE_ACTIONS> ++ <div class="btn-group"> ++ <TMPL_IF EDITURL> ++ <a class="btn btn-default" href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a> ++ </TMPL_IF> ++ <TMPL_IF RECENTCHANGESURL> ++ <a class"btn btn-default" href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li> ++ </TMPL_IF> ++ <TMPL_IF HISTORYURL> ++ <a class"btn btn-default" href="<TMPL_VAR HISTORYURL>">History</a></li> ++ </TMPL_IF> ++ <TMPL_IF GETSOURCEURL> ++ <a class"btn btn-default" href="<TMPL_VAR GETSOURCEURL>">Source</a></li> ++ </TMPL_IF> ++ <TMPL_IF PREFSURL> ++ <a class"btn btn-default" href="<TMPL_VAR PREFSURL>">Preferences</a></li> ++ </TMPL_IF> ++ </ul> ++ </div> ++ </TMPL_IF> ++ </div> ++ </div> ++ </div> ++ </div> ++ ++<!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> ++<script src="https://code.jquery.com/jquery.js"></script> ++<!-- Include all compiled plugins (below), or include individual files as needed --> ++<script src="https://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script> ++</body> ++</html> +-- +1.8.3.2 + |