Separate scripts from html & New rendering function

This commit is contained in:
Flat 2016-07-02 19:51:56 +09:00
commit e16e92278b
84 changed files with 848 additions and 1280 deletions

View file

@ -32,16 +32,6 @@
<form id="vstobjects" name="v_edit_ip" method="post" class="<?=$v_status?>">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
<input type="hidden" name="save" value="save" />
<script type="text/javascript">
function elementHideShow(elementToHideOrShow) {
var el = document.getElementById(elementToHideOrShow);
if (el.style.display == "block") {
el.style.display = "none";
} else {
el.style.display = "block";
}
}
</script>
<table class='data'>
<tr class="data-add">
@ -60,7 +50,7 @@
<table class="data-col2" width="600px">
<tr>
<td class="vst-text step-top">
<?php print __('IP address'); ?>
<?php print __('IP address'); ?>
</td>
</tr>
<tr>
@ -70,7 +60,7 @@
</tr>
<tr>
<td class="vst-text input-label">
<?php print __('Netmask');?>
<?php print __('Netmask');?>
</td>
</tr>
<tr>
@ -80,7 +70,7 @@
</tr>
<tr>
<td class="vst-text input-label">
<?php print __('Interface'); ?>
<?php print __('Interface'); ?>
</td>
</tr>
<tr>
@ -153,4 +143,4 @@
</tr>
</table>
</form>
</div>
</div>