summaryrefslogtreecommitdiff
path: root/manager/application/views/scripts/login
diff options
context:
space:
mode:
authorMarkus Warg <markus@mawaunix.mawa.sls>2010-03-31 16:43:49 +0200
committerMarkus Warg <markus@mawaunix.mawa.sls>2010-03-31 16:43:49 +0200
commit4f4c5ce3ccf0370f926d75e700e8b0bd2208f3f6 (patch)
tree82cb017ac68772ea36c0f522ec019bf14fbdc77a /manager/application/views/scripts/login
parent8398c9048d34a1f51212ae770998fc082fc93b69 (diff)
downloadcacert-mgr-4f4c5ce3ccf0370f926d75e700e8b0bd2208f3f6.tar.gz
cacert-mgr-4f4c5ce3ccf0370f926d75e700e8b0bd2208f3f6.tar.xz
cacert-mgr-4f4c5ce3ccf0370f926d75e700e8b0bd2208f3f6.zip
initial setup of framework code
enabled features * login * crt login * top / left menu * logging * db layer
Diffstat (limited to 'manager/application/views/scripts/login')
-rw-r--r--manager/application/views/scripts/login/index.phtml16
-rw-r--r--manager/application/views/scripts/login/loginresult.phtml16
2 files changed, 32 insertions, 0 deletions
diff --git a/manager/application/views/scripts/login/index.phtml b/manager/application/views/scripts/login/index.phtml
new file mode 100644
index 0000000..57f49ea
--- /dev/null
+++ b/manager/application/views/scripts/login/index.phtml
@@ -0,0 +1,16 @@
+<?php
+/**
+ * @author markus
+ * $Id: index.phtml 36 2009-12-15 15:49:57Z markus $
+ */
+
+// $this->headScript()->appendFile('js/1st.js');
+// $this->headScript()->appendFile('js/2nd.js');
+$this->headLink()->appendStylesheet('/css/login.css');
+
+$this->headLink()->appendStylesheet('/css/form_dl.css');
+?>
+
+<H1><?php print I18n::_('Please log in'); ?></H1>
+<?php print $this->form;?>
+<a href='/login/crt'><?php print I18n::_('Client Cert Login'); ?></a> \ No newline at end of file
diff --git a/manager/application/views/scripts/login/loginresult.phtml b/manager/application/views/scripts/login/loginresult.phtml
new file mode 100644
index 0000000..09437ca
--- /dev/null
+++ b/manager/application/views/scripts/login/loginresult.phtml
@@ -0,0 +1,16 @@
+<?php
+/**
+ * @author markus
+ * $Id: loginresult.phtml 7 2009-11-19 15:03:59Z markus $
+ */
+
+if ($this->session->authdata['authed']) {
+?>
+<H1>Willkommen im Club, <?php print $this->session->authdata['authed_username']; ?></H1>
+<?php
+}
+else {
+?>
+<H1>Bitte loggen Sie sich ein.</H1>
+<?php
+} \ No newline at end of file