summaryrefslogtreecommitdiff
path: root/manager/public
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:39 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:11:50 +0200
commitce38587c8459587d7a03002ebcb4427ed95fb85c (patch)
tree1a5d787189deb6b895ff6df7fe1bb2303f92961d /manager/public
parent2cbb6d9c9cea8624d474807857ba2f8c81352c15 (diff)
downloadcacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.gz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.tar.xz
cacert-mgr-ce38587c8459587d7a03002ebcb4427ed95fb85c.zip
bug 1396: Normalize Linefeed to Unix format in Repository
Diffstat (limited to 'manager/public')
-rw-r--r--manager/public/css/global.css246
-rw-r--r--manager/public/css/login.css22
-rw-r--r--manager/public/css/mail.css98
-rw-r--r--manager/public/index.php102
-rw-r--r--manager/public/js/center.js20
-rw-r--r--manager/public/js/mail_redirect.js16
-rw-r--r--manager/public/js/positionUserInfo.js34
7 files changed, 269 insertions, 269 deletions
diff --git a/manager/public/css/global.css b/manager/public/css/global.css
index b289414..ab111bf 100644
--- a/manager/public/css/global.css
+++ b/manager/public/css/global.css
@@ -1,123 +1,123 @@
-@CHARSET "UTF-8";
-
-html {
- font-family: sans-serif;
- background-color: #cccccc;
- color: #333333;
- overflow: scroll;
-}
-
-#center {
- position: absolute;
- width: 1000px;
- left: 50%;
- margin-left: -500px;
-}
-
-#header {
- background-color: #F5F7F7;
- width: 99%;
- height: 30px;
- top: 0px;
- left: 0px;
- position: absolute;
- padding: 3px;
- margin: 3px;
-}
-
-#header-logo {
- float: left;
- color: #FFFFFF;
-}
-
-#header-navigation {
- float: right;
-}
-
-#header-navigation ul {
- list-style-type: none;
- padding: 0px;
- margin: 0px;
- font-size: 1.2em;
-}
-
-#header-navigation ul li {
- padding-left: 5px;
- margin-left: 5px;
- display: inline;
-}
-
-#header-navigation ul li a {
- text-decoration: none;
- color: #000000;
-}
-
-#header-navigation ul li a:hover {
- color: #777777;
-}
-
-#header-navigation ul li a.active {
- color: #505090;
-}
-
-#left-navigation {
- background-color: #F5F7F7;
- width: 180px;
- height: 600px;
- left: 0px;
- top: 36px;
- position: absolute;
- padding: 3px;
- margin: 3px;
-}
-
-#left-navigation ul {
- list-style-type: none;
- padding: 0px;
- margin: 0px;
- font-size: 1.2em;
-}
-
-#left-navigation ul li {
- padding-left: 5px;
- margin-left: 5px;
- display: block;
-}
-
-#left-navigation ul li a {
- text-decoration: none;
- color: #000000;
-}
-
-#left-navigation ul li a:hover {
- color: #777777;
-}
-
-#left-navigation ul li a.active {
- color: #770000;
-}
-
-#content {
- left: 186px;
- top: 36px;
- width: 800px;
- position: absolute;
- padding: 5px;
- margin: 3px;
- background-color: #FFFFFF;
-}
-
-#userinfo {
- right: 5px;
- bottom: 5px;
- position: absolute;
- padding: 3px;
- margin: 3px;
- background-color: #DDDDAA;
- font-size: 0.8em;
-}
-
-#content .error {
- color: #F80808;
- font-weight: bold;
-} \ No newline at end of file
+@CHARSET "UTF-8";
+
+html {
+ font-family: sans-serif;
+ background-color: #cccccc;
+ color: #333333;
+ overflow: scroll;
+}
+
+#center {
+ position: absolute;
+ width: 1000px;
+ left: 50%;
+ margin-left: -500px;
+}
+
+#header {
+ background-color: #F5F7F7;
+ width: 99%;
+ height: 30px;
+ top: 0px;
+ left: 0px;
+ position: absolute;
+ padding: 3px;
+ margin: 3px;
+}
+
+#header-logo {
+ float: left;
+ color: #FFFFFF;
+}
+
+#header-navigation {
+ float: right;
+}
+
+#header-navigation ul {
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+ font-size: 1.2em;
+}
+
+#header-navigation ul li {
+ padding-left: 5px;
+ margin-left: 5px;
+ display: inline;
+}
+
+#header-navigation ul li a {
+ text-decoration: none;
+ color: #000000;
+}
+
+#header-navigation ul li a:hover {
+ color: #777777;
+}
+
+#header-navigation ul li a.active {
+ color: #505090;
+}
+
+#left-navigation {
+ background-color: #F5F7F7;
+ width: 180px;
+ height: 600px;
+ left: 0px;
+ top: 36px;
+ position: absolute;
+ padding: 3px;
+ margin: 3px;
+}
+
+#left-navigation ul {
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+ font-size: 1.2em;
+}
+
+#left-navigation ul li {
+ padding-left: 5px;
+ margin-left: 5px;
+ display: block;
+}
+
+#left-navigation ul li a {
+ text-decoration: none;
+ color: #000000;
+}
+
+#left-navigation ul li a:hover {
+ color: #777777;
+}
+
+#left-navigation ul li a.active {
+ color: #770000;
+}
+
+#content {
+ left: 186px;
+ top: 36px;
+ width: 800px;
+ position: absolute;
+ padding: 5px;
+ margin: 3px;
+ background-color: #FFFFFF;
+}
+
+#userinfo {
+ right: 5px;
+ bottom: 5px;
+ position: absolute;
+ padding: 3px;
+ margin: 3px;
+ background-color: #DDDDAA;
+ font-size: 0.8em;
+}
+
+#content .error {
+ color: #F80808;
+ font-weight: bold;
+}
diff --git a/manager/public/css/login.css b/manager/public/css/login.css
index c68a4aa..809f4fc 100644
--- a/manager/public/css/login.css
+++ b/manager/public/css/login.css
@@ -1,11 +1,11 @@
-@CHARSET "UTF-8";
-
-#content a {
- text-decoration: none;
- color: #000000;
- font-size: 1.2em;
-}
-
-#content a:hover {
- color: #777777;
-} \ No newline at end of file
+@CHARSET "UTF-8";
+
+#content a {
+ text-decoration: none;
+ color: #000000;
+ font-size: 1.2em;
+}
+
+#content a:hover {
+ color: #777777;
+}
diff --git a/manager/public/css/mail.css b/manager/public/css/mail.css
index 4ce23f5..13b12ea 100644
--- a/manager/public/css/mail.css
+++ b/manager/public/css/mail.css
@@ -1,49 +1,49 @@
-@CHARSET "UTF-8";
-
-#content table {
- border: 1px solid black;
- border-collapse: collapse;
-}
-
-#content th {
- border: 1px solid black;
- padding: 3px;
-}
-
-#content td {
- border: 1px solid black;
- padding: 3px;
-}
-
-#content .col1 {
- width: 170px;
-}
-#content .col2 {
- width: 170px;
-}
-#content .col3 {
- width: 165px;
-}
-#content .col4 {
- width: 170px;
-}
-#content .col5 {
- width: 50px;
-}
-#content .col6 {
- width: 30px;
-}
-
-#content a {
- text-decoration: none;
- color: #000000;
-}
-
-#content a:hover {
- color: #777777;
-}
-
-#content a.delete {
- background-color: #ffffff;
- color: white;
-}
+@CHARSET "UTF-8";
+
+#content table {
+ border: 1px solid black;
+ border-collapse: collapse;
+}
+
+#content th {
+ border: 1px solid black;
+ padding: 3px;
+}
+
+#content td {
+ border: 1px solid black;
+ padding: 3px;
+}
+
+#content .col1 {
+ width: 170px;
+}
+#content .col2 {
+ width: 170px;
+}
+#content .col3 {
+ width: 165px;
+}
+#content .col4 {
+ width: 170px;
+}
+#content .col5 {
+ width: 50px;
+}
+#content .col6 {
+ width: 30px;
+}
+
+#content a {
+ text-decoration: none;
+ color: #000000;
+}
+
+#content a:hover {
+ color: #777777;
+}
+
+#content a.delete {
+ background-color: #ffffff;
+ color: white;
+}
diff --git a/manager/public/index.php b/manager/public/index.php
index 229290b..54a0e72 100644
--- a/manager/public/index.php
+++ b/manager/public/index.php
@@ -1,51 +1,51 @@
-<?php
-/*
- * @done Zend_Locale (http://framework.zend.com/manual/en/zend.locale.functions.html)
- * @done Zend_Translate (Buch 381ff, 383) http://framework.zend.com/manual/en/zend.translate.using.html
- * @done Session Tabelle aufräumen (auto expire eingebaut, Housekeeper fehlt aber)
- * @todo Zend_Auth (LoginController - Reaktion auf falsche Eingaben fehlt noch)
- * @todo Zend_Filter_Input - Zeichensätze aus Userinput filtern
- * @todo Zend_Measure, Zend_Currency
- * @todo Zend_Date
- * @todo Daemon / CLI Zend_Console_Getopt (Buch 203ff)
- * @todo Zend_Mail (Buch 279ff)
- * @todo Zend_Form(!), Zend_Validate, Zend_Filter
- * @todo Zend_Log - Formatierung der Texte
- * @todo Funktionsmodule - jedes Modul prüft die Rechte anhand der Session und Zend_Acl und fügt ggf. einen Link ins Menü ein (TOP / LEFT)
- * @todo addMessages mit übersetzten Strings (LoginController -> getForm, ...)
- * @todo favicon
- * @todo sinnvolle Defaults, wenn system_config leer ist (globale Config BIND)
- * @todo sinnvolle Defaults, wenn system_config leer ist (Organisationsconfig BIND)
- * @todo Links zum Löschen für Zonen / Organisationen, Rechtechecks in ActionController (foreign key constraints beachten!)
- * @todo ConfigBIND left Menu geht nicht aus, wenn man die selektierte Org deaktiviert (init vor Action)
- * @todo Textausgabe, wenn Attribute aus Defaults initialisiert und NICHT aus der DB geladen wurden
- */
-
-require_once('../library/global/defines.php');
-
-try {
- /** Zend Autoloader */
- require_once 'Zend/Loader/Autoloader.php';
- Zend_Loader_Autoloader::getInstance();
-
- // Create application, bootstrap, and run
- $application = new Zend_Application(
- APPLICATION_ENV,
- APPLICATION_PATH . '/configs/application.ini'
- );
-
- /** override settings from application.ini, if necessary
- $fc = Zend_Controller_Front::getInstance();
- $fc->setControllerDirectory(realpath(APPLICATION_PATH . '/controllers'));
- $fc->setParam('noViewRenderer', false);
- $fc->throwExceptions(true);
- $fc->setParam('noErrorHandler', false);
- */
-
- $application->bootstrap()
- ->run();
-} catch (Exception $e) {
- print "Exception: " . $e->getMessage() . "\n";
- print $e->getTraceAsString() . "\n";
- Log::Log()->emerg($e);
-}
+<?php
+/*
+ * @done Zend_Locale (http://framework.zend.com/manual/en/zend.locale.functions.html)
+ * @done Zend_Translate (Buch 381ff, 383) http://framework.zend.com/manual/en/zend.translate.using.html
+ * @done Session Tabelle aufräumen (auto expire eingebaut, Housekeeper fehlt aber)
+ * @todo Zend_Auth (LoginController - Reaktion auf falsche Eingaben fehlt noch)
+ * @todo Zend_Filter_Input - Zeichensätze aus Userinput filtern
+ * @todo Zend_Measure, Zend_Currency
+ * @todo Zend_Date
+ * @todo Daemon / CLI Zend_Console_Getopt (Buch 203ff)
+ * @todo Zend_Mail (Buch 279ff)
+ * @todo Zend_Form(!), Zend_Validate, Zend_Filter
+ * @todo Zend_Log - Formatierung der Texte
+ * @todo Funktionsmodule - jedes Modul prüft die Rechte anhand der Session und Zend_Acl und fügt ggf. einen Link ins Menü ein (TOP / LEFT)
+ * @todo addMessages mit übersetzten Strings (LoginController -> getForm, ...)
+ * @todo favicon
+ * @todo sinnvolle Defaults, wenn system_config leer ist (globale Config BIND)
+ * @todo sinnvolle Defaults, wenn system_config leer ist (Organisationsconfig BIND)
+ * @todo Links zum Löschen für Zonen / Organisationen, Rechtechecks in ActionController (foreign key constraints beachten!)
+ * @todo ConfigBIND left Menu geht nicht aus, wenn man die selektierte Org deaktiviert (init vor Action)
+ * @todo Textausgabe, wenn Attribute aus Defaults initialisiert und NICHT aus der DB geladen wurden
+ */
+
+require_once('../library/global/defines.php');
+
+try {
+ /** Zend Autoloader */
+ require_once 'Zend/Loader/Autoloader.php';
+ Zend_Loader_Autoloader::getInstance();
+
+ // Create application, bootstrap, and run
+ $application = new Zend_Application(
+ APPLICATION_ENV,
+ APPLICATION_PATH . '/configs/application.ini'
+ );
+
+ /** override settings from application.ini, if necessary
+ $fc = Zend_Controller_Front::getInstance();
+ $fc->setControllerDirectory(realpath(APPLICATION_PATH . '/controllers'));
+ $fc->setParam('noViewRenderer', false);
+ $fc->throwExceptions(true);
+ $fc->setParam('noErrorHandler', false);
+ */
+
+ $application->bootstrap()
+ ->run();
+} catch (Exception $e) {
+ print "Exception: " . $e->getMessage() . "\n";
+ print $e->getTraceAsString() . "\n";
+ Log::Log()->emerg($e);
+}
diff --git a/manager/public/js/center.js b/manager/public/js/center.js
index 267550c..ea3a568 100644
--- a/manager/public/js/center.js
+++ b/manager/public/js/center.js
@@ -1,10 +1,10 @@
-function setCSS() {
- var x = window.innerWidth;
-
- x = x - 18; // maybe scroll bar
- document.getElementById('center').style.width = x + "px";
- document.getElementById('center').style.marginLeft = "-" + x/2 + "px";
-}
-
-window.onload = setCSS;
-window.onresize = setCSS;
+function setCSS() {
+ var x = window.innerWidth;
+
+ x = x - 18; // maybe scroll bar
+ document.getElementById('center').style.width = x + "px";
+ document.getElementById('center').style.marginLeft = "-" + x/2 + "px";
+}
+
+window.onload = setCSS;
+window.onresize = setCSS;
diff --git a/manager/public/js/mail_redirect.js b/manager/public/js/mail_redirect.js
index a60e58f..b2ac8dd 100644
--- a/manager/public/js/mail_redirect.js
+++ b/manager/public/js/mail_redirect.js
@@ -1,8 +1,8 @@
-var delay = 2000;
-setTimeout('redirect()', delay);
-
-function redirect() {
- var returnto = document.getElementById('returnto');
-
- window.location = returnto.value;
-} \ No newline at end of file
+var delay = 2000;
+setTimeout('redirect()', delay);
+
+function redirect() {
+ var returnto = document.getElementById('returnto');
+
+ window.location = returnto.value;
+}
diff --git a/manager/public/js/positionUserInfo.js b/manager/public/js/positionUserInfo.js
index 0de1db4..b912b46 100644
--- a/manager/public/js/positionUserInfo.js
+++ b/manager/public/js/positionUserInfo.js
@@ -1,17 +1,17 @@
-function setUserInfoPos() {
- var x = window.innerWidth;
- var ui;
-
- x = x - 18; // maybe scroll bar
-
- ui = document.getElementById('userinfo');
- if (ui != null) {
- ui.style.right = "3px";
-// document.getElementById('userinfo').style.bottom = "3px";
- ui.style.bottom = 3 - window.pageYOffset + "px";
- }
-}
-
-window.onload = setUserInfoPos;
-window.onresize = setUserInfoPos;
-window.onscroll = setUserInfoPos;
+function setUserInfoPos() {
+ var x = window.innerWidth;
+ var ui;
+
+ x = x - 18; // maybe scroll bar
+
+ ui = document.getElementById('userinfo');
+ if (ui != null) {
+ ui.style.right = "3px";
+// document.getElementById('userinfo').style.bottom = "3px";
+ ui.style.bottom = 3 - window.pageYOffset + "px";
+ }
+}
+
+window.onload = setUserInfoPos;
+window.onresize = setUserInfoPos;
+window.onscroll = setUserInfoPos;