summaryrefslogtreecommitdiffstats
path: root/templates/page.tmpl
blob: e8fb12bb02a3275f63154f5478b84b168cf6aa4c (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
161
<!DOCTYPE html>
<html>
  <head>
    <title><TMPL_IF ISWEBSITE>Fripost &ndash; den fria e-postf&ouml;reningen<TMPL_ELSE><TMPL_VAR TITLE></TMPL_IF></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8" />
    <!-- Bootstrap -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/fripost.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="/static/js/html5shiv.min.js"></script>
      <script src="/static/js/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_UNLESS ISWEBSITE><TMPL_IF EDITURL>
    <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
    </TMPL_IF></TMPL_UNLESS>
    <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>
  <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="https://fripost.org"><b>fripost</b> | demokratisk 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><a href="<TMPL_IF ISWEBSITE>/<TMPL_ELSE>https://fripost.org</TMPL_IF>">Hem</a></li>
          <li><a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/om">Om</a></li>
          <li><a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/medlemskap">G&aring; med</a></li>
          <li><a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/kontakt">Kontakt</a></li>
          <li><a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/english">English</a></li>
          <li><a href="<TMPL_IF ISWEBSITE>https://wiki.fripost.org</TMPL_IF>/faq">FAQ</a></li>
          <li><a href="<TMPL_IF ISWEBSITE>https://wiki.fripost.org<TMPL_ELSE>/</TMPL_IF>">Wiki</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://lists.fripost.org/sympa/lists">
							<span class="glyphicon glyphicon-list"></span> Mailing lists</a></li>

              <!-- later...
              <li class="divider"></li>
              <li><a href="#"><span class="glyphicon glyphicon-wrench"></span> Admin panel</a></li>
              -->

              <li>

								<a href="<TMPL_UNLESS ISWEBSITE>https://fripost.org</TMPL_UNLESS>/certs">
								<span class="glyphicon glyphicon-certificate"></span> Certifikat</a>

							</li>
            </ul>
          </li>
        </ul>
      </div><!-- /.navbar-collapse -->
    </nav>

  <div class="row">
    <div class="col-md-8 col-md-offset-2">
      <!--        -->
      <!-- HEADER -->
      <TMPL_UNLESS ISWEBSITE>
        <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">&raquo;</span>
            </TMPL_LOOP>
            <TMPL_VAR TITLE>
            <span class="text-muted">&raquo;</span>
          </div>
          <TMPL_IF EDITURL>
          <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>
          </div>
          </TMPL_IF>
        </div>
        <hr />
      </TMPL_UNLESS>

      <!--         -->
      <!-- CONTENT -->
      <div class="clearfix">
        <TMPL_VAR CONTENT>
      </div>
      <hr />

      <!--        -->
      <!-- FOOTER -->
      <TMPL_IF TAGS>
        <p><TMPL_LOOP TAGS>
            <span class="label label-default"><TMPL_VAR LINK></span>
        </TMPL_LOOP></p>
      </TMPL_IF>
      <p>
        <TMPL_IF MTIME>
          <span class="glyphicon glyphicon-calendar"></span> Last modified <em><TMPL_VAR MTIME></em>
          <TMPL_IF HISTORYURL>
            | <span class="glyphicon glyphicon-time"></span> <a href="<TMPL_VAR HISTORYURL>">History</a>
          </TMPL_IF>
          <TMPL_UNLESS ISWEBSITE>
            <TMPL_IF GETSOURCEURL>
              | <span class="glyphicon glyphicon-file"></span> <a href="<TMPL_VAR GETSOURCEURL>">Source</a>
            </TMPL_IF>
            <TMPL_IF DISCUSSIONURL>
              | <span class="glyphicon glyphicon-comment"></span> <a href="<TMPL_VAR DISCUSSIONURL>">Discussion</a>
            </TMPL_IF>
            <TMPL_IF PREFSURL>
              | <span class="glyphicon glyphicon-wrench"></span> <a href="<TMPL_VAR PREFSURL>">Preferences</a>
            </TMPL_IF>
          </TMPL_UNLESS>
        </TMPL_IF>
      </p>

      <TMPL_IF COMMENTS>
        <h2>Comments</h2>
        <div id="comments" style="margin-bottom:2em;">
        <TMPL_VAR COMMENTS>
        <TMPL_IF ADDCOMMENTURL>
          <div class="addcomment text-right">
            <a class="btn btn-primary" href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
          </div>
        <TMPL_ELSE>
          <div class="addcomment">Comments on this page are closed.</div>
        </TMPL_IF>
        </div>
      </TMPL_IF>

    </div>
  </div>

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