diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-18 11:53:48 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-04-18 11:53:48 +0200 |
commit | dc080f8fe2697569923ed326f8080cb0baedc46b (patch) | |
tree | 84ccd679d3c9de649583bb51c830d069e6419432 /templates | |
parent | 2b5cb826fae8325661abd54eb6521cade1c80dba (diff) | |
download | aCms-dc080f8fe2697569923ed326f8080cb0baedc46b.tar.gz aCms-dc080f8fe2697569923ed326f8080cb0baedc46b.tar.bz2 |
some rearrangement
Diffstat (limited to 'templates')
-rw-r--r-- | templates/intro.tmpl | 8 | ||||
-rw-r--r-- | templates/main.tmpl | 26 |
2 files changed, 27 insertions, 7 deletions
diff --git a/templates/intro.tmpl b/templates/intro.tmpl index b99ea06..eb7fa49 100644 --- a/templates/intro.tmpl +++ b/templates/intro.tmpl @@ -1,13 +1,15 @@ -<% c++ #include "content.hpp" %> +<% c++ #include "intro_content.hpp" %> <% skin view %> -<% view intro uses content::master extends master %> +<% view intro uses content::intro extends master %> <% template title() %> <% include master::title() %> :: Intro <% end %> <% template page_content() %> - Welcome to <b>StrusCms</b>. + <div> + Welcome to <b>StrusCms</b>. + </div> <% end template %> <% end view %> diff --git a/templates/main.tmpl b/templates/main.tmpl index 8e4592f..0d949d7 100644 --- a/templates/main.tmpl +++ b/templates/main.tmpl @@ -9,12 +9,30 @@ <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> - <h1><% include title( ) %></h1> - <div id="content"> - <% include page_content( ) %> - </div> + <div id="wrap"> + <h2><% include title( ) %></h2> + <div id="content"> + <% 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> + + <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> + </body> </html> <% end template %> |