From db8511e5081747ebddc4f16303a9c7fe44bb313e Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 19 Apr 2015 13:47:08 +0200 Subject: some text changes --- media/basic-profile.css | 2 +- src/master_content.hpp | 4 ++++ templates/intro.tmpl | 4 ++-- templates/logout.tmpl | 5 +++++ templates/master.tmpl | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) diff --git a/media/basic-profile.css b/media/basic-profile.css index 5ebcaf3..c102585 100644 --- a/media/basic-profile.css +++ b/media/basic-profile.css @@ -5,7 +5,7 @@ For more information, see http://andreasviklund.com/templates/basic-profile/ *{margin:0; padding:0;} body {background:#fff top center no-repeat; color:#303030; font:84% Arial,Helvetica,sans-serif; line-height:1.6em;} -a {color:#0B0B61; text-decoration:none;} +a {color:#0B0B61; text-decoration:none; font-weight: bold;} a:hover {text-decoration:underline;} p,ul,ol,dl {margin:0 0 30px 0;} h1 {color:#888; font-size:3.2em; line-height:1.1em; letter-spacing:-3px; margin:20px 0 0 0;} diff --git a/src/master_content.hpp b/src/master_content.hpp index ff40b09..23db633 100644 --- a/src/master_content.hpp +++ b/src/master_content.hpp @@ -28,6 +28,10 @@ struct master : public cppcms::base_content { login_link = "/strusCms/login"; logout_link = "/strusCms/logout"; } + + std::string root( ) { + return "/strusCms"; + } }; } diff --git a/templates/intro.tmpl b/templates/intro.tmpl index 0fd4c35..205f952 100644 --- a/templates/intro.tmpl +++ b/templates/intro.tmpl @@ -8,11 +8,11 @@ <% template page_content() %>
- Welcome to StrusCms. + Welcome to "StrusCms".
<% if not empty username %> - After oyou finished editing pages, please log out + After you have finished editing pages, please log out here. <% else %> If you want to edit pages, please log in diff --git a/templates/logout.tmpl b/templates/logout.tmpl index 2ce7816..c867e73 100644 --- a/templates/logout.tmpl +++ b/templates/logout.tmpl @@ -18,6 +18,11 @@
Otherwise contacting the developers is possible via email directly.
+ +
+ If you want to edit pages again, you can of course log in + here. +
<% end template %> <% end view %> diff --git a/templates/master.tmpl b/templates/master.tmpl index 7330ef1..6a42731 100644 --- a/templates/master.tmpl +++ b/templates/master.tmpl @@ -17,7 +17,7 @@