diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/_c/.gitkeep | 0 | ||||
-rw-r--r-- | templates/layout.admin.tmpl | 43 | ||||
-rw-r--r-- | templates/layout.guest.tmpl | 20 | ||||
-rw-r--r-- | templates/layout.user.tmpl | 43 | ||||
-rw-r--r-- | templates/login.tmpl | 15 | ||||
-rw-r--r-- | templates/logout.tmpl | 1 |
6 files changed, 122 insertions, 0 deletions
diff --git a/templates/_c/.gitkeep b/templates/_c/.gitkeep new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/templates/_c/.gitkeep diff --git a/templates/layout.admin.tmpl b/templates/layout.admin.tmpl new file mode 100644 index 00000000000..5a31c6af0a3 --- /dev/null +++ b/templates/layout.admin.tmpl @@ -0,0 +1,43 @@ +<!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" xml:lang="en" lang="en"> + <head> + <title>ownCloud</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="shortcut icon" href="favicon.ico" /> + [%foreach $cssfiles as $cssfile%] + <link rel="stylesheet" href="[%$cssfile%]" type="text/css" media="screen" /> + [%/foreach%] + [%foreach $jsfiles as $jsfile%] + <script type="text/javascript" src="[%$jsfile%]"></script> + [%/foreach%] + </head> + + <body> + <div id="header"> + <a href="/" title="" id="owncloud"><img src="[%imagepath file='owncloud-logo-small-white.png'%]" alt="ownCloud" /></a> + + <div id="user"> + <a id="user_menu_link" href="" title="">Username</a> + <ul id="user_menu"> + [%foreach $personalmenu as $entry%] + <li><a href="[%linkto app=$entry.app file=$entry.file%]" title="">[%$entry.name%]</a></li> + [%/foreach%] + </ul> + </div> + </div> + + <div id="main"> + <div id="plugins"> + <ul> + [%foreach $navigation as $entry%] + <li><a href="[%linkto app=$entry.app file=$entry.file%]" title="">[%$entry.name%]</a></li> + [%/foreach%] + </ul> + </div> + + <div id="content"> + [%$content%] + </div> + </div> + </body> +</html> diff --git a/templates/layout.guest.tmpl b/templates/layout.guest.tmpl new file mode 100644 index 00000000000..518ba9e771e --- /dev/null +++ b/templates/layout.guest.tmpl @@ -0,0 +1,20 @@ +<!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" xml:lang="en" lang="en"> + <head> + <title>ownCloud</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="shortcut icon" href="favicon.ico" /> + [%foreach $cssfiles as $cssfile%] + <link rel="stylesheet" href="[%$cssfile%]" type="text/css" media="screen" /> + [%/foreach%] + [%foreach $jsfiles as $jsfile%] + <script type="text/javascript" src="[%$jsfile%]"></script> + [%/foreach%] + </head> + + <body class="login"> + [%$content%] + <p class="info">ownCloud is an open personal cloud which runs on your personal server.<br /> + To learn more, please visit <a href="http://www.owncloud.org/">owncloud.org</a>.</p> + </body> +</html> diff --git a/templates/layout.user.tmpl b/templates/layout.user.tmpl new file mode 100644 index 00000000000..5a31c6af0a3 --- /dev/null +++ b/templates/layout.user.tmpl @@ -0,0 +1,43 @@ +<!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" xml:lang="en" lang="en"> + <head> + <title>ownCloud</title> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <link rel="shortcut icon" href="favicon.ico" /> + [%foreach $cssfiles as $cssfile%] + <link rel="stylesheet" href="[%$cssfile%]" type="text/css" media="screen" /> + [%/foreach%] + [%foreach $jsfiles as $jsfile%] + <script type="text/javascript" src="[%$jsfile%]"></script> + [%/foreach%] + </head> + + <body> + <div id="header"> + <a href="/" title="" id="owncloud"><img src="[%imagepath file='owncloud-logo-small-white.png'%]" alt="ownCloud" /></a> + + <div id="user"> + <a id="user_menu_link" href="" title="">Username</a> + <ul id="user_menu"> + [%foreach $personalmenu as $entry%] + <li><a href="[%linkto app=$entry.app file=$entry.file%]" title="">[%$entry.name%]</a></li> + [%/foreach%] + </ul> + </div> + </div> + + <div id="main"> + <div id="plugins"> + <ul> + [%foreach $navigation as $entry%] + <li><a href="[%linkto app=$entry.app file=$entry.file%]" title="">[%$entry.name%]</a></li> + [%/foreach%] + </ul> + </div> + + <div id="content"> + [%$content%] + </div> + </div> + </body> +</html> diff --git a/templates/login.tmpl b/templates/login.tmpl new file mode 100644 index 00000000000..bfa975f630e --- /dev/null +++ b/templates/login.tmpl @@ -0,0 +1,15 @@ +<div id="login"> + <img src="[%imagepath file='owncloud-logo-medium-white.png'%]" alt="ownCloud" /> + <form action="index.php" method="post"> + <!-- <h1>Sign in :</h1> --> + <fieldset> + [%if $error%] + Login failed! + [%/if%] + <p><input type="text" name="user" value="" /></p> + <p><input type="password" name="password" /></p> + <p><input type="submit" value="Sign in" /></p> + </fieldset> + </form> +</div> + diff --git a/templates/logout.tmpl b/templates/logout.tmpl new file mode 100644 index 00000000000..4a15998a5c0 --- /dev/null +++ b/templates/logout.tmpl @@ -0,0 +1 @@ +You are logged out. |