summaryrefslogtreecommitdiff
path: root/manager/public
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2015-08-09 19:12:51 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:23:21 +0200
commit4edd7b57c0057f9cfab0874a198256b87bd018b7 (patch)
tree2a623eade7fea29bda28e15692991821448c8fe1 /manager/public
parentce38587c8459587d7a03002ebcb4427ed95fb85c (diff)
downloadcacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.gz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.xz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.zip
bug 1396: Codestyle cleanup
Diffstat (limited to 'manager/public')
-rw-r--r--manager/public/css/form_dl.css20
-rw-r--r--manager/public/css/form_dl_wide.css22
-rw-r--r--manager/public/css/global.css132
-rw-r--r--manager/public/css/login.css10
-rw-r--r--manager/public/css/mail.css34
-rw-r--r--manager/public/index.php40
-rw-r--r--manager/public/js/center.js8
-rw-r--r--manager/public/js/positionUserInfo.js22
8 files changed, 144 insertions, 144 deletions
diff --git a/manager/public/css/form_dl.css b/manager/public/css/form_dl.css
index c3dc8c0..f677c34 100644
--- a/manager/public/css/form_dl.css
+++ b/manager/public/css/form_dl.css
@@ -1,23 +1,23 @@
@CHARSET "UTF-8";
#content dl.zend_form label.required {
- color: #000000;
- font-weight: bold;
+ color: #000000;
+ font-weight: bold;
}
#content dl.zend_form {
- display: block;
+ display: block;
}
#content dl.zend_form dt {
- display: block;
- float: left;
- width: 125px;
- margin: 10px;
+ display: block;
+ float: left;
+ width: 125px;
+ margin: 10px;
}
#content dl.zend_form dd {
- display: block;
- clear: right;
- padding: 10px;
+ display: block;
+ clear: right;
+ padding: 10px;
}
diff --git a/manager/public/css/form_dl_wide.css b/manager/public/css/form_dl_wide.css
index 6f8ed41..181c6ca 100644
--- a/manager/public/css/form_dl_wide.css
+++ b/manager/public/css/form_dl_wide.css
@@ -1,24 +1,24 @@
@CHARSET "UTF-8";
#content dl.zend_form label.required {
- color: #000000;
- font-weight: bold;
+ color: #000000;
+ font-weight: bold;
}
#content dl.zend_form {
- display: block;
- font-size: 0.8em;
+ display: block;
+ font-size: 0.8em;
}
#content dl.zend_form dt {
- display: block;
- float: left;
- width: 350px;
- margin: 10px;
+ display: block;
+ float: left;
+ width: 350px;
+ margin: 10px;
}
#content dl.zend_form dd {
- display: block;
- clear: right;
- padding: 10px;
+ display: block;
+ clear: right;
+ padding: 10px;
}
diff --git a/manager/public/css/global.css b/manager/public/css/global.css
index ab111bf..d67ce22 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;
+ font-family: sans-serif;
+ background-color: #cccccc;
+ color: #333333;
+ overflow: scroll;
}
#center {
- position: absolute;
- width: 1000px;
- left: 50%;
- margin-left: -500px;
+ 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;
+ background-color: #F5F7F7;
+ width: 99%;
+ height: 30px;
+ top: 0px;
+ left: 0px;
+ position: absolute;
+ padding: 3px;
+ margin: 3px;
}
#header-logo {
- float: left;
- color: #FFFFFF;
+ float: left;
+ color: #FFFFFF;
}
#header-navigation {
- float: right;
+ float: right;
}
#header-navigation ul {
- list-style-type: none;
- padding: 0px;
- margin: 0px;
- font-size: 1.2em;
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+ font-size: 1.2em;
}
#header-navigation ul li {
- padding-left: 5px;
- margin-left: 5px;
- display: inline;
+ padding-left: 5px;
+ margin-left: 5px;
+ display: inline;
}
#header-navigation ul li a {
- text-decoration: none;
- color: #000000;
+ text-decoration: none;
+ color: #000000;
}
#header-navigation ul li a:hover {
- color: #777777;
+ color: #777777;
}
#header-navigation ul li a.active {
- color: #505090;
+ color: #505090;
}
#left-navigation {
- background-color: #F5F7F7;
- width: 180px;
- height: 600px;
- left: 0px;
- top: 36px;
- position: absolute;
- padding: 3px;
- margin: 3px;
+ 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;
+ list-style-type: none;
+ padding: 0px;
+ margin: 0px;
+ font-size: 1.2em;
}
#left-navigation ul li {
- padding-left: 5px;
- margin-left: 5px;
- display: block;
+ padding-left: 5px;
+ margin-left: 5px;
+ display: block;
}
#left-navigation ul li a {
- text-decoration: none;
- color: #000000;
+ text-decoration: none;
+ color: #000000;
}
#left-navigation ul li a:hover {
- color: #777777;
+ color: #777777;
}
#left-navigation ul li a.active {
- color: #770000;
+ color: #770000;
}
#content {
- left: 186px;
- top: 36px;
- width: 800px;
- position: absolute;
- padding: 5px;
- margin: 3px;
- background-color: #FFFFFF;
+ 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;
+ right: 5px;
+ bottom: 5px;
+ position: absolute;
+ padding: 3px;
+ margin: 3px;
+ background-color: #DDDDAA;
+ font-size: 0.8em;
}
#content .error {
- color: #F80808;
- font-weight: bold;
-}
+ color: #F80808;
+ font-weight: bold;
+} \ No newline at end of file
diff --git a/manager/public/css/login.css b/manager/public/css/login.css
index 809f4fc..7fcc8aa 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;
+ text-decoration: none;
+ color: #000000;
+ font-size: 1.2em;
}
#content a:hover {
- color: #777777;
-}
+ color: #777777;
+} \ No newline at end of file
diff --git a/manager/public/css/mail.css b/manager/public/css/mail.css
index 13b12ea..4fbcde3 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;
+ border: 1px solid black;
+ border-collapse: collapse;
}
#content th {
- border: 1px solid black;
- padding: 3px;
+ border: 1px solid black;
+ padding: 3px;
}
#content td {
- border: 1px solid black;
- padding: 3px;
+ border: 1px solid black;
+ padding: 3px;
}
#content .col1 {
- width: 170px;
+ width: 170px;
}
#content .col2 {
- width: 170px;
+ width: 170px;
}
#content .col3 {
- width: 165px;
+ width: 165px;
}
#content .col4 {
- width: 170px;
+ width: 170px;
}
#content .col5 {
- width: 50px;
+ width: 50px;
}
#content .col6 {
- width: 30px;
+ width: 30px;
}
#content a {
- text-decoration: none;
- color: #000000;
+ text-decoration: none;
+ color: #000000;
}
#content a:hover {
- color: #777777;
+ color: #777777;
}
#content a.delete {
- background-color: #ffffff;
- color: white;
+ background-color: #ffffff;
+ color: white;
}
diff --git a/manager/public/index.php b/manager/public/index.php
index 54a0e72..f214332 100644
--- a/manager/public/index.php
+++ b/manager/public/index.php
@@ -24,28 +24,28 @@
require_once('../library/global/defines.php');
try {
- /** Zend Autoloader */
- require_once 'Zend/Loader/Autoloader.php';
- Zend_Loader_Autoloader::getInstance();
+ /** 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'
- );
+ // 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);
- */
+ /** 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();
+ $application->bootstrap()
+ ->run();
} catch (Exception $e) {
- print "Exception: " . $e->getMessage() . "\n";
- print $e->getTraceAsString() . "\n";
- Log::Log()->emerg($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 ea3a568..9313315 100644
--- a/manager/public/js/center.js
+++ b/manager/public/js/center.js
@@ -1,9 +1,9 @@
function setCSS() {
- var x = window.innerWidth;
+ 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";
+ x = x - 18; // maybe scroll bar
+ document.getElementById('center').style.width = x + "px";
+ document.getElementById('center').style.marginLeft = "-" + x/2 + "px";
}
window.onload = setCSS;
diff --git a/manager/public/js/positionUserInfo.js b/manager/public/js/positionUserInfo.js
index b912b46..f6344eb 100644
--- a/manager/public/js/positionUserInfo.js
+++ b/manager/public/js/positionUserInfo.js
@@ -1,15 +1,15 @@
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";
- }
+ 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;