* changed css names to compatible with zui.

This commit is contained in:
Catouse
2014-03-26 11:01:19 +08:00
parent 1ff011f641
commit e94843f4e2
74 changed files with 303 additions and 296 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ function toggleShowapp(webappID, webappName)
height = document.documentElement.clientHeight - 110;
if(url[webappID] == undefined) url[webappID] = $('#useapp' + webappID).attr('href');
$('#useapp' + webappID).attr('href', '#iframe' + webappID);
var html = "<tr id='iframe" + webappID + "'><td><p>" + webappName + "<span class='f-right'><button class='button-c' onclick='toggleShowapp(" + webappID + ", \" " + webappName + "\")'>" + packup + "</button></span></p><iframe src='" + url[webappID] + "' height='" + height + "' width='100%' style='border:1px solid #999;'></iframe></td></tr>";
var html = "<tr id='iframe" + webappID + "'><td><p>" + webappName + "<span class='text-right'><button class='button-c' onclick='toggleShowapp(" + webappID + ", \" " + webappName + "\")'>" + packup + "</button></span></p><iframe src='" + url[webappID] + "' height='" + height + "' width='100%' style='border:1px solid #999;'></iframe></td></tr>";
$('#webapps').parent().parent().after(html);
show[webappID] = true;
}
+7 -7
View File
@@ -16,23 +16,23 @@
<caption><?php echo $lang->webapp->create?></caption>
<tr>
<th align='left'><?php echo $lang->webapp->module?></th>
<td><?php echo html::select('module', $modules, '', "class='select-3'")?></td>
<td><?php echo html::select('module', $modules, '', "class='form-control'")?></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->name?></th>
<td><?php echo html::input('name', '', "class='text-3'")?></td>
<td><?php echo html::input('name', '', "class='form-control'")?></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->url?></th>
<td><?php echo html::input('url', '', "class='text-3'")?></td>
<td><?php echo html::input('url', '', "class='form-control'")?></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->target?></th>
<td><?php echo html::select('target', $lang->webapp->targetList, '', "class='select-3'")?></td>
<td><?php echo html::select('target', $lang->webapp->targetList, '', "class='form-control'")?></td>
</tr>
<tr class="size hidden">
<th align='left'><?php echo $lang->webapp->size?></th>
<td><?php echo html::select('size', $lang->webapp->sizeList, '', "class='select-3'")?></td>
<td><?php echo html::select('size', $lang->webapp->sizeList, '', "class='form-control'")?></td>
</tr>
<tr class="customSize hidden">
<th align='left'><?php echo $lang->webapp->custom?></th>
@@ -40,7 +40,7 @@
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->abstract?></th>
<td><?php echo html::input('abstract', '', "class='text-3' maxlength='30'")?> <span><?php echo $lang->webapp->noticeAbstract?></span></td>
<td><?php echo html::input('abstract', '', "class='form-control' maxlength='30'")?> <span><?php echo $lang->webapp->noticeAbstract?></span></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->desc?></th>
@@ -48,7 +48,7 @@
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->icon?></th>
<td><?php echo html::file('files', "class='text-1' size='57'")?><br /><span><?php echo $lang->webapp->noticeIcon?></span></td>
<td><?php echo html::file('files', "class='form-control' size='57'")?><br /><span><?php echo $lang->webapp->noticeIcon?></span></td>
</tr>
<tr><td colspan='2' align='center'><?php echo html::submitButton()?></td></tr>
</table>
+9 -9
View File
@@ -16,21 +16,21 @@
<caption><?php echo $lang->webapp->edit?></caption>
<tr>
<th align='left'><?php echo $lang->webapp->module?></th>
<td><?php echo html::select('module', $modules, $webapp->module, "class='select-3'")?></td>
<td><?php echo html::select('module', $modules, $webapp->module, "class='form-control'")?></td>
</tr>
<?php if($webapp->addType != 'system'):?>
<tr>
<th align='left'><?php echo $lang->webapp->name?></th>
<td><?php echo html::input('name', $webapp->name, "class='text-3'")?></td>
<td><?php echo html::input('name', $webapp->name, "class='form-control'")?></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->url?></th>
<td><?php echo html::input('url', $webapp->url, "class='text-3'")?></td>
<td><?php echo html::input('url', $webapp->url, "class='form-control'")?></td>
</tr>
<?php endif;?>
<tr>
<th align='left'><?php echo $lang->webapp->target?></th>
<td><?php echo html::select('target', $lang->webapp->targetList, $webapp->target, "class='select-3'")?></td>
<td><?php echo html::select('target', $lang->webapp->targetList, $webapp->target, "class='form-control'")?></td>
</tr>
<?php
$customWidth = '';
@@ -44,7 +44,7 @@
?>
<tr class="size">
<th align='left'><?php echo $lang->webapp->size?></th>
<td><?php echo html::select('size', $lang->webapp->sizeList, $webapp->size, "class='select-3'")?></td>
<td><?php echo html::select('size', $lang->webapp->sizeList, $webapp->size, "class='form-control'")?></td>
</tr>
<tr class="customSize <?php if($webapp->size != 'custom') echo 'hidden'?>">
<th align='left'><?php echo $lang->webapp->custom?></th>
@@ -52,7 +52,7 @@
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->abstract?></th>
<td><?php echo html::input('abstract', $webapp->abstract, "class='text-3' maxlength='30'")?> <span><?php echo $lang->webapp->noticeAbstract?></span></td>
<td><?php echo html::input('abstract', $webapp->abstract, "class='form-control' maxlength='30'")?> <span><?php echo $lang->webapp->noticeAbstract?></span></td>
</tr>
<tr>
<th align='left'><?php echo $lang->webapp->desc?></th>
@@ -64,7 +64,7 @@
<td>
<?php
if($webapp->icon) echo "<p><img src='{$webapp->icon->webPath}' /></p>";
echo html::file('files', "class='text-1' size='57'");
echo html::file('files', "class='form-control' size='57'");
?>
<br /><span><?php echo $lang->webapp->noticeIcon?></span>
</td>
@@ -77,11 +77,11 @@
<table class='table-1'>
<tr class="hideSize">
<th><?php echo $lang->webapp->size?></th>
<td><?php echo html::select('size', $lang->webapp->sizeList, $webapp->size, "class='select-3'")?></td>
<td><?php echo html::select('size', $lang->webapp->sizeList, $webapp->size, "class='form-control'")?></td>
</tr>
<tr class="hideHeight">
<th><?php echo $lang->webapp->height?></th>
<td><?php echo html::input('size', $webapp->size, "class='text-3'")?></td>
<td><?php echo html::input('size', $webapp->size, "class='form-control'")?></td>
</tr>
</table>
</div>
+1 -1
View File
@@ -26,7 +26,7 @@
<div class='box-title'><?php echo $lang->webapp->bySearch;?></div>
<div class='box-content a-center'>
<form method='post' action='<?php echo inlink('obtain', 'type=bySearch');?>'>
<?php echo html::input('key', $this->post->key, "class='text-1'") . html::submitButton($lang->webapp->bySearch);?>
<?php echo html::input('key', $this->post->key, "class='form-control'") . html::submitButton($lang->webapp->bySearch);?>
</form>
</div>
<div class='box-title'><?php echo $lang->webapp->byCategory;?></div>
+1 -1
View File
@@ -14,7 +14,7 @@
<table class='table-1'>
<caption>
<?php echo $lang->webapp->view?>
<span class='f-right'><?php if($type =='local') common::printLink('webapp', 'edit', "webappID=$webapp->id", $lang->edit);?></span>
<span class='text-right'><?php if($type =='local') common::printLink('webapp', 'edit', "webappID=$webapp->id", $lang->edit);?></span>
</caption>
<?php if($type == 'local'):?>
<tr>