summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/.htaccess25
-rw-r--r--web/admin_dev.php10
-rw-r--r--web/css/main.css405
-rw-r--r--web/images/add.gifbin0 -> 94 bytes
-rw-r--r--web/images/address-new.gifbin0 -> 688 bytes
-rw-r--r--web/images/address.gifbin0 -> 1187 bytes
-rw-r--r--web/images/background-branding.pngbin0 -> 326 bytes
-rw-r--r--web/images/background-navigation.pngbin0 -> 243 bytes
-rw-r--r--web/images/background-notes-start.pngbin0 -> 270 bytes
-rw-r--r--web/images/bottom.gifbin0 -> 690 bytes
-rw-r--r--web/images/down.gifbin0 -> 633 bytes
-rw-r--r--web/images/edit.gifbin0 -> 434 bytes
-rw-r--r--web/images/error.gifbin0 -> 403 bytes
-rw-r--r--web/images/favicon.icobin0 -> 1406 bytes
-rw-r--r--web/images/first.gifbin0 -> 706 bytes
-rw-r--r--web/images/information.gifbin0 -> 666 bytes
-rw-r--r--web/images/last.gifbin0 -> 699 bytes
-rw-r--r--web/images/list.gifbin0 -> 333 bytes
-rw-r--r--web/images/load.gifbin0 -> 825 bytes
-rw-r--r--web/images/logo.pngbin0 -> 1506 bytes
-rw-r--r--web/images/mail-new.gifbin0 -> 443 bytes
-rw-r--r--web/images/mail.gifbin0 -> 1186 bytes
-rw-r--r--web/images/network-server.gifbin0 -> 195 bytes
-rw-r--r--web/images/next.gifbin0 -> 623 bytes
-rw-r--r--web/images/ok.gifbin0 -> 382 bytes
-rw-r--r--web/images/previous.gifbin0 -> 616 bytes
-rw-r--r--web/images/remove.gifbin0 -> 76 bytes
-rw-r--r--web/images/search.gifbin0 -> 587 bytes
-rw-r--r--web/images/shred.gifbin0 -> 380 bytes
-rw-r--r--web/images/sort-asc.gifbin0 -> 328 bytes
-rw-r--r--web/images/sort-desc.gifbin0 -> 323 bytes
-rw-r--r--web/images/top.gifbin0 -> 701 bytes
-rw-r--r--web/images/trash.gifbin0 -> 1199 bytes
-rw-r--r--web/images/up.gifbin0 -> 631 bytes
-rw-r--r--web/images/warning.gifbin0 -> 636 bytes
-rw-r--r--web/index.php10
-rw-r--r--web/robots.txt2
37 files changed, 452 insertions, 0 deletions
diff --git a/web/.htaccess b/web/.htaccess
new file mode 100644
index 0000000..2c0a59f
--- /dev/null
+++ b/web/.htaccess
@@ -0,0 +1,25 @@
+Options +FollowSymLinks +ExecCGI
+
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+
+ # uncomment the following line, if you are having trouble
+ # getting no_script_name to work
+ #RewriteBase /
+
+ # we skip all files with .something
+ RewriteCond %{REQUEST_URI} \..+$
+ RewriteCond %{REQUEST_URI} !\.html$
+ RewriteRule .* - [L]
+
+ # we check if the .html version is here (caching)
+ RewriteRule ^$ index.html [QSA]
+ RewriteRule ^([^.]+)$ $1.html [QSA]
+ RewriteCond %{REQUEST_FILENAME} !-f
+
+ # no, so we redirect to our front web controller
+ RewriteRule ^(.*)$ index.php [QSA,L]
+</IfModule>
+
+# big crash from our front web controller
+ErrorDocument 500 "<h2>Application error</h2>symfony application failed to start properly"
diff --git a/web/admin_dev.php b/web/admin_dev.php
new file mode 100644
index 0000000..931e0a7
--- /dev/null
+++ b/web/admin_dev.php
@@ -0,0 +1,10 @@
+<?php
+
+define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..'));
+define('SF_APP', 'admin');
+define('SF_ENVIRONMENT', 'dev');
+define('SF_DEBUG', true);
+
+require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
+
+sfContext::getInstance()->getController()->dispatch();
diff --git a/web/css/main.css b/web/css/main.css
new file mode 100644
index 0000000..2a66410
--- /dev/null
+++ b/web/css/main.css
@@ -0,0 +1,405 @@
+/* -------------------------------------------------------------------------- */
+/* Common */
+/* -------------------------------------------------------------------------- */
+
+html body {
+ background-color:#ece9d8;
+ height:100%;
+ margin:0;
+ font-size:x-small;
+ voice-family:"\"}\"";
+ voice-family:inherit;
+ font-size:small;
+}
+
+/* !IE */
+html>/**/body {
+ font-size:small;
+}
+
+.base {
+ font-family:Verdana, Helvetica, Sans-Serif;
+ line-height:1.4em;
+ font-size:96%;
+ background-color:transparent;
+ padding:0;
+ margin:0;
+}
+
+/* -------------------------------------------------------------------------- */
+/* Structure */
+/* -------------------------------------------------------------------------- */
+
+.base div.branding {
+ margin:0;
+ padding:20px;
+ height:40px;
+ background-image: url("../images/background-branding.png");
+ background-repeat: repeat-x;
+}
+
+.base div.branding div.logo {
+ float:left;
+ padding-top:4px;
+}
+
+.base div.session {
+ margin:0;
+ padding:5px 20px 5px 20px;
+ background-color:#fff3dc;
+}
+
+.base div.session ul {
+ padding:0;
+ margin:0;
+}
+
+.base div.session li {
+ padding:0;
+ margin-right:20px;
+ display:inline;
+}
+
+.base div.session a {
+ text-decoration:none;
+ border-bottom:1px dotted;
+ color:#006699;
+ font-weight:bold;
+}
+
+.base div.navigation {
+ margin:0;
+ padding:10px 20px 9px 20px;
+ background-image: url("../images/background-navigation.png");
+ background-position:top left;
+}
+
+.base div.navigation ul {
+ padding:0;
+ margin:0;
+}
+
+.base div.navigation li {
+ margin:0;
+ height:1%; /* IE <= 5.5 */
+ padding-right:10px;
+ display:inline;
+}
+
+.base div.navigation li a {
+ margin:0;
+ padding:2px 10px 9px 10px;
+ text-decoration:none;
+ font-size:16px;
+ font-weight:bold;
+ color:#fff;
+}
+
+.base div.navigation li.active a {
+ margin:0;
+ background-color:#485659;
+}
+
+.base div.subnavigation {
+ margin:0;
+ padding:6px 20px 5px 20px;
+ background-color:#485659;
+}
+
+.base div.subnavigation ul {
+ padding:0;
+ margin:0;
+}
+
+.base div.subnavigation li {
+ padding-right:10px;
+ margin:0;
+ height:1%; /* IE <= 5.5 */
+ display:inline;
+}
+
+.base div.subnavigation li a {
+ padding:3px 6px 6px 6px;
+ text-decoration:none;
+ color:#fff;
+}
+
+.base div.subnavigation li.active a {
+ background-color:white;
+ color:black;
+}
+
+.base div#context {
+ margin:0;
+ height:1%; /* IE <= 5.5 */
+ padding:20px;
+ background-color:white;
+}
+
+.base div#context div.tablenavigation {
+ text-align:right;
+}
+
+.base div#context div.tablenavigation a {
+ text-decoration:none;
+ color:#006699;
+}
+
+.base div#context div.tablenavigation ul {
+ margin:0;
+ padding:0;
+}
+
+.base div#context div.tablenavigation li {
+ margin:0;
+ padding-left:20px;
+ display:inline;
+}
+
+.base div#context hr {
+ height:1px;
+ border-top:1px dotted #999999;
+}
+
+.base div#context table {
+ width:100%;
+ border-spacing:5px;
+}
+
+.base div#context table tr.sf_admin_row_0 td {
+ background-color:#f5f4eb;
+}
+
+.base div#context table th {
+ padding:5px;
+ background-color:#ece9d8;
+}
+
+.base div#context table th a {
+ text-decoration: none;
+ color:#000;
+ font-weight:bold;
+ border-bottom:1px dotted;
+}
+
+.base div#context table td {
+ padding:5px;
+ background-color:#ece9d8;
+}
+
+.base div#context table td a {
+ text-decoration:none;
+ color:#006699;
+}
+
+.base div#context table td ul.sf_admin_td_actions {
+ margin:0;
+ padding:0;
+}
+
+.base div#context table td ul.sf_admin_td_actions li {
+ margin:0;
+ padding:0;
+ display:inline;
+}
+
+.base div#context table th#sf_admin_list_th_sf_actions {
+ text-align:left;
+}
+
+.base div#context div#sf_admin_content {
+ padding-top:10px;
+}
+
+.base div#context ul.sf_admin_actions {
+ margin:0;
+ padding:0;
+}
+
+.base div#context ul.sf_admin_actions li {
+ margin:0;
+ padding:0;
+ display:inline;
+}
+
+.base div#context div.sf_admin_edit_help {
+ color:#888a85;
+}
+
+.base div.notes {
+ margin:0;
+ padding:20px;
+ color:#999;
+ text-align:center;
+ background-image: url("../images/background-notes-start.png");
+ background-repeat: repeat-x;
+ background-position:top;
+}
+
+.base div.notes ul {
+ margin:0;
+ padding:0;
+}
+
+.base div.notes li {
+ margin:0;
+ padding:0;
+ padding-right:20px;
+ display:inline;
+}
+
+.base div.notes a {
+ color:#999;
+ text-decoration:none;
+ border-bottom:1px dotted;
+ font-weight:bold;
+}
+
+/* -------------------------------------------------------------------------- */
+/* Standard Tags */
+/* -------------------------------------------------------------------------- */
+
+.base img {
+ vertical-align:middle;
+ border:0;
+}
+
+.base h1 {
+ font-weight:normal;
+ font-size:24px;
+ color:#006699;
+ padding-bottom:10px;
+}
+
+.base h2 {
+ font-size:16px;
+ font-weight:bold;
+ color:#485659;
+}
+
+.base form {
+ margin:0;
+ padding:0;
+}
+
+.base form select {
+ color:#333;
+ font-size:small;
+ border:1px solid;
+}
+
+.base form input {
+ border:1px solid #485659;
+ font-size:small;
+ padding:2px;
+ vertical-align:middle;
+}
+
+.base form textarea {
+ border:1px solid #485659;
+ padding:2px;
+ font-size:small;
+}
+
+.base form label {
+ display:block;
+ color:#006699;
+ font-weight:bold;
+ padding-top:5px;
+}
+
+.base form fieldset {
+ border:0;
+ border-top:1px dotted #999999;
+ padding-left:0;
+ padding-right:0;
+ padding-bottom:20px;
+}
+
+.base form div.formaction, .base form div.sf_admin_actions {
+ display:block;
+ margin-top:10px;
+ padding-bottom:20px;
+}
+
+.base form div.formaction input {
+ margin-right:10px;
+}
+
+/* -------------------------------------------------------------------------- */
+/* Additional Formatting */
+/* -------------------------------------------------------------------------- */
+
+.base #indicator {
+ display:none;
+}
+
+.base div.slidelist ul {
+ margin:0;
+ padding:0;
+ list-style-type:none;
+}
+
+.base div.slidelist a {
+ border-bottom:1px dotted;
+}
+
+.base ul.linklist {
+ margin:0;
+ padding:0;
+ list-style-type:none;
+}
+
+.base ul.linklist li {
+ display:inline;
+ height:1%; /* IE == 5 */
+ padding-left:5px;
+ padding-right:5px;
+}
+
+.base ul.linklist li.label {
+ border:none;
+ padding-left:20px;
+}
+
+.base ul.linklist li a {
+ text-decoration:none;
+ color:#006699;
+}
+
+.base span.adminname {
+ font-style:italic;
+}
+
+.base span.adminrole {
+ color:#ff9900;
+}
+
+.base .form_error, .base .form-error-msg {
+ color:#ef2929;
+}
+
+.base .form_help {
+ padding-left:10px;
+ color:#999;
+}
+
+.base span.legal, .base span.legal a {
+}
+
+.base span.toggle a {
+ text-decoration:none;
+ color:#006699;
+ border-bottom:1px dotted;
+}
+
+.base span.pageinfo {
+}
+
+.base span.pageindex {
+ font-weight:bold;
+}
+
+.base span.summary {
+ padding-right:20px;
+}
diff --git a/web/images/add.gif b/web/images/add.gif
new file mode 100644
index 0000000..f7ab24a
--- /dev/null
+++ b/web/images/add.gif
Binary files differ
diff --git a/web/images/address-new.gif b/web/images/address-new.gif
new file mode 100644
index 0000000..98d6a9f
--- /dev/null
+++ b/web/images/address-new.gif
Binary files differ
diff --git a/web/images/address.gif b/web/images/address.gif
new file mode 100644
index 0000000..15842df
--- /dev/null
+++ b/web/images/address.gif
Binary files differ
diff --git a/web/images/background-branding.png b/web/images/background-branding.png
new file mode 100644
index 0000000..faeb260
--- /dev/null
+++ b/web/images/background-branding.png
Binary files differ
diff --git a/web/images/background-navigation.png b/web/images/background-navigation.png
new file mode 100644
index 0000000..0358ad3
--- /dev/null
+++ b/web/images/background-navigation.png
Binary files differ
diff --git a/web/images/background-notes-start.png b/web/images/background-notes-start.png
new file mode 100644
index 0000000..d0de8f3
--- /dev/null
+++ b/web/images/background-notes-start.png
Binary files differ
diff --git a/web/images/bottom.gif b/web/images/bottom.gif
new file mode 100644
index 0000000..a7a0730
--- /dev/null
+++ b/web/images/bottom.gif
Binary files differ
diff --git a/web/images/down.gif b/web/images/down.gif
new file mode 100644
index 0000000..7751dae
--- /dev/null
+++ b/web/images/down.gif
Binary files differ
diff --git a/web/images/edit.gif b/web/images/edit.gif
new file mode 100644
index 0000000..8b21080
--- /dev/null
+++ b/web/images/edit.gif
Binary files differ
diff --git a/web/images/error.gif b/web/images/error.gif
new file mode 100644
index 0000000..79c53a1
--- /dev/null
+++ b/web/images/error.gif
Binary files differ
diff --git a/web/images/favicon.ico b/web/images/favicon.ico
new file mode 100644
index 0000000..410daf6
--- /dev/null
+++ b/web/images/favicon.ico
Binary files differ
diff --git a/web/images/first.gif b/web/images/first.gif
new file mode 100644
index 0000000..99a2a74
--- /dev/null
+++ b/web/images/first.gif
Binary files differ
diff --git a/web/images/information.gif b/web/images/information.gif
new file mode 100644
index 0000000..0e89c99
--- /dev/null
+++ b/web/images/information.gif
Binary files differ
diff --git a/web/images/last.gif b/web/images/last.gif
new file mode 100644
index 0000000..35219f8
--- /dev/null
+++ b/web/images/last.gif
Binary files differ
diff --git a/web/images/list.gif b/web/images/list.gif
new file mode 100644
index 0000000..667ef38
--- /dev/null
+++ b/web/images/list.gif
Binary files differ
diff --git a/web/images/load.gif b/web/images/load.gif
new file mode 100644
index 0000000..cce32f2
--- /dev/null
+++ b/web/images/load.gif
Binary files differ
diff --git a/web/images/logo.png b/web/images/logo.png
new file mode 100644
index 0000000..0f2131c
--- /dev/null
+++ b/web/images/logo.png
Binary files differ
diff --git a/web/images/mail-new.gif b/web/images/mail-new.gif
new file mode 100644
index 0000000..b766324
--- /dev/null
+++ b/web/images/mail-new.gif
Binary files differ
diff --git a/web/images/mail.gif b/web/images/mail.gif
new file mode 100644
index 0000000..c14447b
--- /dev/null
+++ b/web/images/mail.gif
Binary files differ
diff --git a/web/images/network-server.gif b/web/images/network-server.gif
new file mode 100644
index 0000000..9fc4dd2
--- /dev/null
+++ b/web/images/network-server.gif
Binary files differ
diff --git a/web/images/next.gif b/web/images/next.gif
new file mode 100644
index 0000000..0dabbfc
--- /dev/null
+++ b/web/images/next.gif
Binary files differ
diff --git a/web/images/ok.gif b/web/images/ok.gif
new file mode 100644
index 0000000..c03f738
--- /dev/null
+++ b/web/images/ok.gif
Binary files differ
diff --git a/web/images/previous.gif b/web/images/previous.gif
new file mode 100644
index 0000000..57e200f
--- /dev/null
+++ b/web/images/previous.gif
Binary files differ
diff --git a/web/images/remove.gif b/web/images/remove.gif
new file mode 100644
index 0000000..2905ce5
--- /dev/null
+++ b/web/images/remove.gif
Binary files differ
diff --git a/web/images/search.gif b/web/images/search.gif
new file mode 100644
index 0000000..790843c
--- /dev/null
+++ b/web/images/search.gif
Binary files differ
diff --git a/web/images/shred.gif b/web/images/shred.gif
new file mode 100644
index 0000000..2c81d3b
--- /dev/null
+++ b/web/images/shred.gif
Binary files differ
diff --git a/web/images/sort-asc.gif b/web/images/sort-asc.gif
new file mode 100644
index 0000000..29fee1d
--- /dev/null
+++ b/web/images/sort-asc.gif
Binary files differ
diff --git a/web/images/sort-desc.gif b/web/images/sort-desc.gif
new file mode 100644
index 0000000..d049aa0
--- /dev/null
+++ b/web/images/sort-desc.gif
Binary files differ
diff --git a/web/images/top.gif b/web/images/top.gif
new file mode 100644
index 0000000..13502e4
--- /dev/null
+++ b/web/images/top.gif
Binary files differ
diff --git a/web/images/trash.gif b/web/images/trash.gif
new file mode 100644
index 0000000..73fa119
--- /dev/null
+++ b/web/images/trash.gif
Binary files differ
diff --git a/web/images/up.gif b/web/images/up.gif
new file mode 100644
index 0000000..1165d2e
--- /dev/null
+++ b/web/images/up.gif
Binary files differ
diff --git a/web/images/warning.gif b/web/images/warning.gif
new file mode 100644
index 0000000..76d93ee
--- /dev/null
+++ b/web/images/warning.gif
Binary files differ
diff --git a/web/index.php b/web/index.php
new file mode 100644
index 0000000..5e4fa7a
--- /dev/null
+++ b/web/index.php
@@ -0,0 +1,10 @@
+<?php
+
+define('SF_ROOT_DIR', realpath(dirname(__FILE__).'/..'));
+define('SF_APP', 'admin');
+define('SF_ENVIRONMENT', 'prod');
+define('SF_DEBUG', false);
+
+require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php');
+
+sfContext::getInstance()->getController()->dispatch();
diff --git a/web/robots.txt b/web/robots.txt
new file mode 100644
index 0000000..0827227
--- /dev/null
+++ b/web/robots.txt
@@ -0,0 +1,2 @@
+#User-agent: *
+#Disallow: