summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
blob: 8fa0016f69b8f705c61fbf8f782a2b5b9910cf11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html>
  <head>
    <title><TMPL_VAR TITLE></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8" />
    <!-- Bootstrap -->
    <link rel="stylesheet" href="/bootstrap-3.2.0/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]-->
    <TMPL_IF FAVICON>
    <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
    </TMPL_IF>
    <TMPL_IF EDITURL>
    <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
    </TMPL_IF>
    <TMPL_IF FEEDLINKS><TMPL_VAR FEEDLINKS></TMPL_IF>
    <TMPL_IF RELVCS><TMPL_VAR RELVCS></TMPL_IF>
    <TMPL_IF META><TMPL_VAR META></TMPL_IF>
  </head>
  <style>
    .navbar-fripost {
      background-color: inherit;
      border-bottom: black thin solid;
      border-radius: 0;
      margin-top: 1em
    }
    .navbar-fripost a {
      color: black;
    }
    .navbar-fripost .navbar-toggle .icon-bar {
      background-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="https://fripost.org/">Hem</a></li>
          <li><a href="https://fripost.org/organisation.html">Om</a></li>
          <li><a href="https://fripost.org/faq.html">FAQ</a></li>
          <li><a href="https://fripost.org/medlemskap.html">Gå med</a></li>
          <li><a href="https://fripost.org/kontakt.html">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 class="row">
    <div class="col-md-8 col-md-offset-2">
      <!-- ---------------------------------------------------------------- -->
      <!-- HEADER -->
      <div class="row">
        <div class="col-md-8 col-sm-8 col-xs-6">
          <TMPL_LOOP PARENTLINKS>
            <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
            <span class="text-muted">»</span>
          </TMPL_LOOP>
          <TMPL_VAR TITLE>
          <span class="text-muted">»</span>
        </div>
        <div class="col-md-4 col-sm-4 col-xs-6 text-right">
          <a href="<TMPL_VAR EDITURL>" rel="nofollow">
            <span class="glyphicon glyphicon-pencil"></span> Edit this page
          </a>
        <TMPL_IF EDITURL>
          <a class="btn btn-default" href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a>
        </TMPL_IF>
        </div>
      </div>
      <hr />

      <!-- ---------------------------------------------------------------- -->
      <!-- CONTENT -->
      <TMPL_VAR CONTENT>
      <hr />

      <!-- ---------------------------------------------------------------- -->
      <!-- FOOTER -->
      <p>
        <TMPL_IF TAGS>
        Tags:
          <TMPL_LOOP TAGS>
            <TMPL_VAR LINK>
          </TMPL_LOOP>
        </TMPL_IF>
        <i>
          <span class="glyphicon glyphicon-calendar"></span> Last modified <TMPL_VAR MTIME>
          | <span class="glyphicon glyphicon-time"></span> <a href="<TMPL_VAR HISTORYURL>">History</a>
          | <b>&lt;&gt;</b> <a href="<TMPL_VAR GETSOURCEURL>">Show source</a>
          | <span class="glyphicon glyphicon-comment"></span><a href="<TMPL_VAR DISCUSSIONURL>"> Discussion</a>
        </i>
      </p>

    </div>
  </div>
  


    <div id="content" style="padding:0 1em 0">
      <!-- Tab bar -->
      <TMPL_IF HAVE_ACTIONS>
      <div class="btn-toolbar" role="toolbar">
        <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>
          </TMPL_IF>
          <TMPL_IF HISTORYURL>
            <a class"btn btn-default" href="<TMPL_VAR HISTORYURL>">History</a>
          </TMPL_IF>
          <TMPL_IF GETSOURCEURL>
            <a class"btn btn-default" href="<TMPL_VAR GETSOURCEURL>">Source</a>
          </TMPL_IF>
          <TMPL_IF PREFSURL>
            <a class"btn btn-default" href="<TMPL_VAR PREFSURL>">Preferences</a>
          </TMPL_IF>
        </div>
      <div>
      </TMPL_IF>


    </div>
  </div>

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script src="/jquery-2.1.1.min.js"></script>
  <!-- Include all compiled plugins (below), or include individual files as needed -->
  <script src="/bootstrap-3.2.0/js/bootstrap.min.js"></script>
</body>
</html>