Commit fba37096 authored by Alain Takoudjou's avatar Alain Takoudjou

Update slaprunner layout

parent d4ccd3a8
...@@ -54,7 +54,8 @@ ...@@ -54,7 +54,8 @@
margin:34px 0 0; margin:34px 0 0;
} }
.tabContents{ .tabContents{
padding:20px padding:20px;
min-height: 250px;
} }
.tabContents p{ .tabContents p{
padding:0 0 10px; padding:0 0 10px;
......
...@@ -27,7 +27,8 @@ td{ ...@@ -27,7 +27,8 @@ td{
border-bottom: 1px solid #A8A8A8; border-bottom: 1px solid #A8A8A8;
border-right: 1px solid #A8A8A8; border-right: 1px solid #A8A8A8;
} }
td.propertie{padding-left:10px; color:blue;} td.propertie{padding-left:10px; color:blue;width: 178px;}
.slapvalues{display:block;width: 375px;word-wrap: break-word}
td.first{border-left: 1px solid #A8A8A8;} td.first{border-left: 1px solid #A8A8A8;}
th{ th{
background: #2281C1; background: #2281C1;
...@@ -505,6 +506,7 @@ h2.hight:hover{ ...@@ -505,6 +506,7 @@ h2.hight:hover{
width: 754px; width: 754px;
padding: 2px; padding: 2px;
height: 450px; height: 450px;
font-size: 13px;
} }
.log_btn{border: 1px solid #678dad; border-top:none; height: 22px; width: 654px; margin: 0 40px 10px 40px; .log_btn{border: 1px solid #678dad; border-top:none; height: 22px; width: 654px; margin: 0 40px 10px 40px;
padding:4px 10px 4px 10px; font-size: 16px; color: #4c6172;} padding:4px 10px 4px 10px; font-size: 16px; color: #4c6172;}
...@@ -715,4 +717,4 @@ padding:10px; font-size:14px; color:#03406A} ...@@ -715,4 +717,4 @@ padding:10px; font-size:14px; color:#03406A}
.login-label{padding:5px; font-size:16px;} .login-label{padding:5px; font-size:16px;}
.login-input{width:220px;} .login-input{width:220px;}
.information{display:block; float:left; height:16px; margin-top:10px; margin-left:10px; font-weight:bold} .information{display:block; float:left; height:16px; margin-top:10px; margin-left:10px; font-weight:bold}
.account{margin-left:60px;} .account{margin-left:60px;}
\ No newline at end of file
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
} }
else{setupBox();} else{setupBox();}
function setupBox(){ function setupBox(){
if (msg == undefined){
msg = "Cannot execute your request. Please make sure you are logged in!!"
option.type = "error";
}
$box.empty(); $box.empty();
$box.css('top','-1000px'); $box.css('top','-1000px');
$box.show(); $box.show();
...@@ -66,4 +70,4 @@ ...@@ -66,4 +70,4 @@
} }
} }
}); });
}(jQuery, document, this)); }(jQuery, document, this));
\ No newline at end of file
...@@ -62,13 +62,13 @@ ...@@ -62,13 +62,13 @@
</h2> </h2>
<div class="clear"></div><br/> <div class="clear"></div><br/>
<div id="bcontent{{item[0]}}"> <div id="bcontent{{item[0]}}">
<table cellpadding="0" cellspacing="0" width="100%"> <table cellpadding="0" cellspacing="0" width="577">
<tr> <tr>
<th>Parameter Name</th><th>Parameter Value</th> <th>Parameter Name</th><th>Parameter Value</th>
</tr> </tr>
{% for k in item[1] %} {% for k in item[1] %}
<tr> <tr>
<td class="propertie first">{{k}}</td><td align='left'>{{item[1][k]}}</td> <td class="propertie first">{{k}}</td><td align='left'><span class="slapvalues">{{item[1][k]}}</span></td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
...@@ -140,3 +140,4 @@ ...@@ -140,3 +140,4 @@
</div> </div>
{{instance}} {{instance}}
{% endblock %} {% endblock %}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment