diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-09-21 17:00:50 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-09-21 17:00:50 +0200 |
commit | 8311cba002dfcaf1836530b978f944f7228ac004 (patch) | |
tree | d8ff9eac15957194a53e4c6e94d4bd9eb2d89c2d /ratatoeskr/templates | |
parent | a85e1fbbfbbaef176141e98a4691273cd06d0a65 (diff) | |
download | ratatoeskr-cms-8311cba002dfcaf1836530b978f944f7228ac004.tar.gz ratatoeskr-cms-8311cba002dfcaf1836530b978f944f7228ac004.tar.bz2 ratatoeskr-cms-8311cba002dfcaf1836530b978f944f7228ac004.zip |
Replaced Smarty with STE and started the backend.
Diffstat (limited to 'ratatoeskr/templates')
-rwxr-xr-x[-rw-r--r--] | ratatoeskr/templates/.htaccess | 0 | ||||
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/backend_login.html | 34 | ||||
-rw-r--r-- | ratatoeskr/templates/systemtemplates/backend_login.html | 13 | ||||
-rw-r--r-- | ratatoeskr/templates/usertemplates/foo.tpl | 14 |
4 files changed, 34 insertions, 27 deletions
diff --git a/ratatoeskr/templates/.htaccess b/ratatoeskr/templates/.htaccess index 19469bf..19469bf 100644..100755 --- a/ratatoeskr/templates/.htaccess +++ b/ratatoeskr/templates/.htaccess diff --git a/ratatoeskr/templates/src/systemtemplates/backend_login.html b/ratatoeskr/templates/src/systemtemplates/backend_login.html new file mode 100755 index 0000000..84b4cd9 --- /dev/null +++ b/ratatoeskr/templates/src/systemtemplates/backend_login.html @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us" lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <meta http-equiv="Content-Style-Type" content="text/css" /> + <title>Login - Ratatöskr</title> + <link rel="stylesheet" type="text/css" media="screen" href="$rel_path_to_root/ratatoeskr/cms_style/login.css" /> +</head> +<body> + <img id="background_image" src="$rel_path_to_root/ratatoeskr/cms_style/images/login_bg.jpg" alt="" /> + <div id="main"> + <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.1)</div> + <div class="vcenter_outer"><div class="vcenter_inner"> + <div id="login_box"> + <h1><ste:escape><ste:get_translation for="login_form_header" /></ste:escape></h1> + <ste:if> + $login_failed + <ste:then> + <div class="error"> + <ste:escape><ste:get_translation for="login_failed" /></ste:escape> + </div> + </ste:then> + </ste:if> + <p><ste:escape><ste:capitalize><ste:get_translation for="username" /></ste:capitalize></ste:escape>: <input type="text" name="user" /></p> + <p><ste:escape><ste:capitalize><ste:get_translation for="password" /></ste:capitalize></ste:escape>: <input type="password" name="password" /></p> + <p class="loginbtn"><input type="submit" value="<ste:escape><ste:get_translation for='login_form_button' /></ste:escape>" /></p> + </div> + </div></div> + <div id="image_copyright"> + <ste:l10n_replace URL="http://en.wikipedia.org/wiki/File:Helkivad_ööpilved_Kuresoo_kohal.jpg" FILENAME="Helkivad ööpilved Kuresoo kohal.jpg" AUTHOR="Martin Koitmäe" LICENSE="<a href=\"http://creativecommons.org/licenses/by-sa/3.0/deed.en\">CC BY-SA</a>"><ste:get_translation for="login_background_image" /></ste:l10n_replace> + </div> + </div> +</body> +</html> diff --git a/ratatoeskr/templates/systemtemplates/backend_login.html b/ratatoeskr/templates/systemtemplates/backend_login.html deleted file mode 100644 index 24738d2..0000000 --- a/ratatoeskr/templates/systemtemplates/backend_login.html +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<head> - <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> - <title>Login - Ratatöskr</title> - <link rel="stylesheet" href="{$rel_path_to_root}/ratatoeskr/cms_style/login.css" type="text/css" charset="utf-8" /> -</head> -<body> - -</body> -</html> diff --git a/ratatoeskr/templates/usertemplates/foo.tpl b/ratatoeskr/templates/usertemplates/foo.tpl deleted file mode 100644 index af1564c..0000000 --- a/ratatoeskr/templates/usertemplates/foo.tpl +++ /dev/null @@ -1,14 +0,0 @@ -<{*HEADER -Ratatoeskr template -DO NOT REMOVE THIS COMMENT! ------BEGIN META----- -{ - "Content-Type": "text/html", - "ACL": { - "users": ["foo"], - "groups": [], - "rights": {"users": ["read", "write", "delete"], "groups": ["read"], "others": ["read"]} - }, "author": "Kevin Chabowski" -} ------END META----- -/HEADER*}> |