vesta/web/templates/admin/edit_server_httpd.html
2016-11-22 07:05:19 -05:00

86 lines
3.4 KiB
HTML

<div class="l-center edit">
<div class="l-sort clearfix">
<div class="l-sort-toolbar clearfix float-left subtitle">
<table class="width-100p">
<tbody><tr>
<td>
<span class="vst selected"><?=__('Configuring Server')?> / <?php print $v_service_name ?></span>
<a href="/edit/server/php/" class="vst"><?= __('Configure')." php.ini"?></a>
</td>
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<td><span class=\"vst-error\"> → ".htmlentities($_SESSION['error_msg'])."</span></td>";
} else {
if (!empty($_SESSION['ok_msg'])) {
echo "<td><span class=\"vst-ok\"> → ".$_SESSION['ok_msg']."</span></td>";
}
}
?>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="l-separator"></div>
<!-- /.l-separator -->
<div class="l-center">
<?php
$back = $_SESSION['back'];
if (empty($back)) {
$back = "location.href='/list/server/'";
} else {
$back = "location.href='".$back."'";
}
?>
<form id="vstobjects" name="v_configure_server" method="post">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
<input type="hidden" name="save" value="save" />
<table class="data mode-add">
<tr class="data-add">
<td class="data-dotted">
<table class="data-col1">
<tr><td></td></tr>
</table>
</td>
<td class="data-dotted">
<table class="data-col2" width="600px">
<tr>
<td class="vst-text step-top">
<?php print $v_config_path ?>
</td>
</tr>
<tr>
<td>
<textarea class="vst-textinput console" name="v_config"><?=$v_config?></textarea>
</td>
</tr>
<tr>
<td class="vst-text input-label" style="text-transform: capitalize;">
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_restart" checked="yes"> <?php print __('restart');?></label>
</td>
</tr>
</table>
<table class="data-col2">
<tr>
<td class="step-top" width="116px">
<input type="submit" class="button" name="save" value="<?=__('Save')?>">
</td>
<td class="step-top">
<input type="button" class="button cancel" value="<?=__('Back')?>" onclick="<?=$back?>">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</div>