blob: b80d0f9d746a3bcbc4feb072d25e6970b85897f0 (
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
|
<% c++ #include "content.hpp" %>
<% skin view %>
<% view master uses content::master %>
<% template title( ) %><%= title %><% end %>
<% template page_content( ) %>Override Me<% end %>
<% template render( ) %>
<html>
<head>
<title><% include title( ) %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" type="text/css" href="/media/basic-profile.css" title="Basic Profile" media="all" />
</head>
<body>
<div id="wrap">
<div id="sidebar">
<img src="/media/images/strus_big.jpg" width="280" height="280" alt="Strus logo" /></a>
<h1><a href="<%= root() %>">Strus CMS</a></h1>
<p class="slogan">A simple demo CMS showing the power of the following software:</p>
<ul>
<li><a href="http://project-strus.net">Strus</a><br/>a collection of C++ libraries for building a full-text search engine</li>
<li><a href="http://cppcms.com/wikipp/en/page/main">CppCMS</a><br/>a C++ web programming framework</li>
<li><a href="http://brokestream.com/captcha.html"</li>libcaptcha</a><br/>a C standalone Captcha generator</li>
<li><a href="http://libb64.sourceforge.net/"</li>libb64</a><br/>a BASE64 encoder/decoder library</li>
</ul>
</div>
<div id="content">
<h2><% include title( ) %></h2>
<% if not empty username %>
<p>Logged in as <%= username %><p>
<% else %>
<p>Currently not logged in</p>
<% end %>
<% include page_content( ) %>
<p class="credits">© 2015 Patrick Frey<br />
Template design by <a href="http://andreasviklund.com/">Andreas Viklund</a> / Best hosted at <a href="https://www.svenskadomaner.se/?ref=mall&ling=en" title="Svenska Domäner AB">www.svenskadomaner.se</a></p>
</div>
</body>
</html>
<% end template %>
<% end view %>
<% end skin %>
|