diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-19 13:29:08 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-19 13:29:08 +0200 |
commit | 7fd19157644534d004a5ef4ca450fa7a3d3eb4b0 (patch) | |
tree | c9c0189d72380cdf942fb7e4a24dab43b943d8a5 /templates/master.tmpl | |
parent | 1543cd3d0c0e6b54440c6a895f2f283dc3688913 (diff) | |
download | aCms-7fd19157644534d004a5ef4ca450fa7a3d3eb4b0.tar.gz aCms-7fd19157644534d004a5ef4ca450fa7a3d3eb4b0.tar.bz2 |
completed login/logout
Diffstat (limited to 'templates/master.tmpl')
-rw-r--r-- | templates/master.tmpl | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/templates/master.tmpl b/templates/master.tmpl new file mode 100644 index 0000000..7330ef1 --- /dev/null +++ b/templates/master.tmpl @@ -0,0 +1,45 @@ +<% 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="index.htm">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> + </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 %> |