* adjust webapp style.

This commit is contained in:
wangyidong
2013-01-11 02:04:51 +00:00
parent d52e498017
commit 7b63bcbf61
4 changed files with 12 additions and 9 deletions

View File

@@ -3,13 +3,16 @@
.error {color:red; font-size:14px}
.success {color:green; font-size:14px}
.exttable td {padding:10px 5px 5px 10px}
.exttable tr {padding:5px 0px}
.exttable td {padding:0px 5px 0px 10px}
.exttable caption{background:#efefef; border-color:#CCC9C9; margin-left:0}
.exttable {border-color:#CCC9C9; border-top:none;}
.exttable td{border-color:#CCC9C9}
#webapps li {float:left; width:25%; list-style:none}
#webapps li table {border:0px; width:95%; background:#f0f0f0}
#webapps li table .webapp-name{font-size:14px}
#webapps li table {border:0px; width:95%; background:#f5f5f5}
#webapps li table .webapp-name{font-size:14px; color:#039; padding-top:6px;}
#webapps li table .webapp-icon{padding:5px;}
#webapps li table .webapp-info{color:#888; padding-top:2px;}
small{font-weight:normal}

View File

@@ -20,10 +20,10 @@
<li>
<table class='fixed exttable' id='webapp<?php echo $webapp->id?>'>
<tr>
<td rowspan='4' width='73' height='73'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : ($webapp->addType == 'custom' ? '' : $config->webapp->url) . $webapp->icon?>' width='72' height='72' /></td>
<td class='webapp-name'><h4><?php echo $webapp->name?></h4></td>
<td rowspan='4' width='73' height='73' class='webapp-icon'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : ($webapp->addType == 'custom' ? '' : $config->webapp->url) . $webapp->icon?>' width='72' height='72' /></td>
<td class='webapp-name'><?php echo $webapp->name?></td>
</tr>
<tr><td><span title='<?php echo $webapp->desc?>'><?php echo empty($webapp->desc) ? '&nbsp;' : $webapp->desc?></span></td></tr>
<tr><td class='webapp-info'><span title='<?php echo $webapp->desc?>'><?php echo empty($webapp->desc) ? '&nbsp;' : $webapp->desc?></span></td></tr>
<tr><td><?php echo $lang->webapp->addTypeList[$webapp->addType];?></td></tr>
<tr>
<td>

View File

@@ -42,10 +42,10 @@
<li>
<table class='fixed exttable'>
<tr>
<td rowspan='4' width='73' height='73'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : $config->webapp->url . $webapp->icon?>' width='72' height='72' /></td>
<td class='webapp-name'><h4><?php echo $webapp->name?></h4></td>
<td rowspan='3' width='73' height='73' class='webapp-icon'><img src='<?php echo empty($webapp->icon) ? '/theme/default/images/main/webapp-default.png' : $config->webapp->url . $webapp->icon?>' width='72' height='72' /></td>
<td class='webapp-name'><?php echo $webapp->name?></td>
</tr>
<tr><td><span title='<?php echo $webapp->desc?>'><?php echo empty($webapp->desc) ? '&nbsp;' : $webapp->desc?></span></td></tr>
<tr><td class='webapp-info'><span title='<?php echo $webapp->desc?>'><?php echo empty($webapp->desc) ? '&nbsp;' : $webapp->desc?></span></td></tr>
<tr><td><?php echo isset($installeds[$webapp->id]) ? html::commonButton($lang->webapp->installed, "disabled='disabled' style='color:gray'") : html::a(inLink('install', "webappID={$webapp->id}"), $lang->webapp->install, '_self', "class='button-c iframe'")?></td></tr>
</table>
</li>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB