summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--funcweb/funcweb/static/css/style.css129
-rw-r--r--funcweb/funcweb/templates/async_table.html40
2 files changed, 167 insertions, 2 deletions
diff --git a/funcweb/funcweb/static/css/style.css b/funcweb/funcweb/static/css/style.css
index 1c626fb..882f679 100644
--- a/funcweb/funcweb/static/css/style.css
+++ b/funcweb/funcweb/static/css/style.css
@@ -181,7 +181,7 @@ height:20px;
max-width: 200px;
margin-top: 2em;
}
-#resultbigbox {
+.resultbigbox {
background-color:#f7f7f7;
min-height: 150px;
width: 90%;
@@ -332,9 +332,10 @@ text-decoration:none;
border: 1px dashed #dddddd;
padding:1px;
}
+
#globalerrorbig {
float:right;
-max-height:150px;
+min-height:150px;
width:930px;
margin-left:auto;
margin-right:8em;
@@ -370,6 +371,130 @@ background-image: url(../images/button2_hover.jpg);
background-repeat:no-repeat;
border: 0px;
}
+#tablecontent {
+}
+#tablebigbox {
+background-color:#F7F7F7;
+min-height: 150px;
+width: 90%;
+padding:10px;
+border: 2px solid #dddddd;
+float:left;
+margin-left:30px;
+margin-right:30px;
+}
+
+#tablebox {
+background-color:#f1f5f6;
+overflow: auto;
+min-height: 150px;
+width: 900px;
+margin-left: auto;
+margin-right: auto;
+margin-top: 2em;
+margin-bottom: 2px;
+padding:4px;
+border: 2px solid #dddddd;
+font-family: Arial, Helvetica, sans-serif;
+font-size:14px;
+color: #666666;
+text-decoration:none;
+}
+.column {
+min-height:25px;
+width:177px;
+border: 1px solid #dddddd;
+float:left;
+}
+
+.tableboxes {
+width:170px;
+border: 2px solid #dddddd;
+background-color:#f1f5f6;
+}
+
+.navlinks {
+display:block;
+height:30px;
+max-width:200px;
+font-family: Arial, Helvetica, sans-serif;
+font-size:14px;
+color: #666666;
+font-weight:bold;
+text-decoration:none;
+padding-top:5px;
+padding-left:1em;
+padding-right:1em;
+float:left;
+}
+
+.navlinks:hover {
+background:#FFFFFF;
+display:block;
+height:30px;
+max-width:200px;
+font-weight:bold;
+font-family: Arial, Helvetica, sans-serif;
+font-size:14px;
+color: #6CACE9;
+font-weight:bold;
+text-decoration:none;
+padding-top:5px;
+float:left;
+padding-left:1em;
+padding-right:1em;
+}
+
+.lines{
+display:block;
+height:30px;
+font-family: Arial, Helvetica, sans-serif;
+font-size:14px;
+color: #666666;
+font-weight:bold;
+text-decoration:none;
+padding:5px;
+float:left;
+}
+
+#menudiv {
+background-image:url(../images/menuimg.jpg);
+background-repeat:repeat-x;
+height:30px;
+width:100%;
+}
+
+#navigaton {
+width:100%;
+height:30px;
+float:left;
+margin-left:8em;
+}
+
+.intabletext {
+font-family: Arial, Helvetica, sans-serif;
+font-size:14px;
+color: #666666;
+text-decoration:none;
+}
+#newico {
+height:30px;
+width:41px;
+background-image:url(../images/new.gif);
+background-repeat:no-repeat;
+margin-left:auto;
+margin-right:auto;
+}
+#changedimg {
+height:30px;
+width:41px;
+margin-left:auto;
+margin-right:auto;
+background-image: url(../images/changed.gif);
+background-repeat:no-repeat;
+
+}
+
a{
font-family: Arial, Helvetica, sans-serif;
diff --git a/funcweb/funcweb/templates/async_table.html b/funcweb/funcweb/templates/async_table.html
new file mode 100644
index 0000000..c743e7e
--- /dev/null
+++ b/funcweb/funcweb/templates/async_table.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:py="http://genshi.edgewall.org/"
+ xmlns:xi="http://www.w3.org/2001/XInclude">
+ <xi:include href="master.html"/>
+ <head/>
+ <body onLoad = "window.setTimeout('check_async_change()',10000);">
+
+ <div class="minioncontent" id="tablecontent">
+ <div id="tablebigbox">
+ <div class="graytexts" id="tablename">
+ <div align="center">Async Call Result Table</div>
+ </div>
+ <div class="tablebox" id="tablebox">
+ <table width="900" align="center" cellpadding="1" cellspacing="3" bordercolor="#DDDDDD" bgcolor="#F1F5F6">
+ <tr>
+ <td width="180" class="tableboxes"><div align="center" class="graytexts">Glob</div></td>
+ <td width="180" class="tableboxes"><div align="center" class="graytexts">Module</div></td>
+ <td width="180" class="tableboxes"><div align="center" class="graytexts">Method</div></td>
+ <td width="180" class="tableboxes"><div align="center" class="graytexts">Job id</div></td>
+ <td width="180" class="tableboxes"><div align="center" class="graytexts">Job status</div></td>
+ </tr>
+ <tr py:for="job_id,job_pack in func_db.iteritems()">
+ <td class="tableboxes"><p class="intabletext">${job_pack[2]}</p></td>
+ <td class="tableboxes"><p class="intabletext">${job_pack[3]}</p></td>
+ <td class="tableboxes"><p class="intabletext">${job_pack[4]}</p></td>
+ <td class="tableboxes"><p class="intabletext">${job_id}</p></td>
+ <td class="tableboxes"><div class="newico" id="newico"></div>${job_pack[0]}</td>
+ </tr>
+ </table>
+ </div>
+ </div>
+ </div>
+
+
+ <div class="minioncontent" id="resultcontent"></div>
+ <a name="resultcontent"/>
+
+</body>
+</html>