basic structure
authorpaulr <me@pjr.cc>
Sun, 30 Oct 2011 01:58:17 +0000 (12:58 +1100)
committerpaulr <me@pjr.cc>
Sun, 30 Oct 2011 01:58:17 +0000 (12:58 +1100)
gwvplib/gwvplib.php [new file with mode: 0644]
www/.htaccess [new file with mode: 0644]
www/config.php [new file with mode: 0644]
www/css/normal.css [new file with mode: 0644]
www/index.php
www/js/base.js [new file with mode: 0644]

diff --git a/gwvplib/gwvplib.php b/gwvplib/gwvplib.php
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/www/.htaccess b/www/.htaccess
new file mode 100644 (file)
index 0000000..be7a5ed
--- /dev/null
@@ -0,0 +1,8 @@
+RewriteEngine on
+RewriteBase /src/eclipse-workspace/glcas/www/ 
+RewriteRule ^index\.php.* - [L,B]
+RewriteRule ^soap\.php.* - [L,B]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule ^(.*)$ index.php?q=$1 [L,QSA,B]
+
diff --git a/www/config.php b/www/config.php
new file mode 100644 (file)
index 0000000..fc67a23
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+// the config file, this is as exciting as it gets really
+$repo_base = "/tmp/gwvp-repos/";
+$lib_base = "../gwvplib/";
+
+
+
+// nothing to configure from here
+$WEB_ROOT_FS = realpath(dirname(__FILE__));
+$BASE_URL = dirname($_SERVER["PHP_SELF"]);
+
+global $WEB_ROOT_FS, $BASE_URL;
+
+// add libglcas as if it were a path in ../libglcas
+if(file_exists($lib_base)) {
+       $path = realpath($WEB_ROOT_FS."/$lib_base");
+       error_log("addded $path as include");
+       set_include_path(get_include_path().PATH_SEPARATOR.$path);
+}
+
+?>
\ No newline at end of file
diff --git a/www/css/normal.css b/www/css/normal.css
new file mode 100644 (file)
index 0000000..bf63908
--- /dev/null
@@ -0,0 +1,138 @@
+head {
+  color: #333333;
+}
+body {
+  color: #333333;
+}
+table { border-width: 0px;
+       empty-cells: hide;
+}
+table.formsection, table.sortable, table.ui_table, table.loginform {
+  border-collapse: collapse;
+  border: 1px solid #FFFFFF;
+  width: 100%;
+}
+img, a img { border:0; }
+tr.row0 {background-color:#e8e8ea;}
+tr.row1 {background-color:#f8f8fa;}
+table.formsection thead, table.sortable thead, table.ui_table thead, table.loginform thead {
+background-color:#427ad1;
+border:0px;
+color:#ffffff;
+border: 2px solid #b3b6b0;
+}
+table.formsection tbody, table.sortable tbody, table.ui_table tbody, table.loginform tbody {
+background-color:#EFEFEF;
+}
+tr.maintitle {
+  color: #ffffff;
+  background-color: #427ad1;
+}
+td.maintitle {
+  color: #ffffff;
+  background-color: #427ad1;
+}
+tr.maintitle a, tr.maintitle a:visited {
+  color: #ffffff;
+}
+td.maintitle a, td.maintitle a:visited {
+  color: #ffffff;
+}
+tr.maintitle a:hover {
+  color: #EFEFEF;
+}
+td.maintitle a:hover {
+  color: #EFEFEF;
+}
+a:link { color: #333399;
+  text-decoration: none;
+}
+a:hover, a:visited:hover { color: #6666EE;
+  text-decoration: none;
+}
+a:visited { color: #333399;
+  text-decoration: none;
+}
+body, p, td, br, center { font-size: 10pt;
+  font-family: sans-serif;
+}
+title { color: #333333;
+  font-family: sans-serif;
+}
+h1 { color: #333333;
+  font-size: 150%;
+  font-family: sans-serif;
+}
+h2 { color: #333333;
+  font-size: 130%;
+  font-family: sans-serif;
+}
+h3 { color: #333333;
+  font-size: 125%;
+  font-family: sans-serif;
+}   
+h4 { color: #333333;
+  font-size: 120%;
+  font-family: sans-serif;
+} 
+th { font-size: small; }
+pre { font-size: 8pt; }
+#main { border-style: solid;
+  border:1px solid #FFFFFF;
+  margin:0;
+  padding:0;
+}
+tr.mainsel { background-color: #ddffbb; }
+tr.mainhigh { background-color: #ffffbb; }
+tr.mainhighsel { background-color: #bbffcc; }
+.itemhidden { display: none; }
+.itemshown { display:block; }
+.barchart { padding: 1px;
+  border: 1px solid #b3b6b0;
+  position:relative;
+}
+.ui_post_header{ font-size: 120%;
+ text-align: center;
+ padding: 4px;
+}
+hr { border: 0;
+  width: 90%;
+  height: 1px;
+  color: #D9D9D9;
+  background-color: #D9D9D9;
+}
+table.wrapper {
+  background-color:#D9D9D9;
+       border:0;
+  padding:0;
+  margin:0;
+  border-collapse:collapse;
+}
+div.wrapper {
+  border:1px solid #D9D9D9;
+  background-color:#F5F5F5;
+  padding:0;
+  margin:0;
+}
+.shrinkwrapper {
+  background-color:#D9D9D9;
+  border:0;
+  padding:0;
+       margin:0;
+  border-collapse:collapse;
+}
+.tabSelected {
+       background-color:#D9D9D9;
+}
+.tabUnselected {
+  background-color:#dadaf8;
+}
+
+input[type=text] {
+       width: 200px;
+       
+}
+
+input.storage {
+       width: 400px;   
+}
\ No newline at end of file
index 95cbd7e..6c8f617 100644 (file)
@@ -1,5 +1,6 @@
-<php?
+<?php
 
 // initial http file
+require_once("config.php");
 
 ?>
diff --git a/www/js/base.js b/www/js/base.js
new file mode 100644 (file)
index 0000000..58fd4b1
--- /dev/null
@@ -0,0 +1 @@
+// none
\ No newline at end of file