forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedit_server_httpd.html
More file actions
76 lines (73 loc) · 3.71 KB
/
edit_server_httpd.html
File metadata and controls
76 lines (73 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<div class="l-center edit">
<div class="l-sort clearfix">
<div class="l-unit-toolbar__buttonstrip">
<a class="ui-button cancel" dir="ltr" id="btn-back" href="/list/server/"><i class="fas fa-arrow-left status-icon blue"></i><?=_('Back')?></a>
<a href="/edit/server/php/" class="ui-button cancel" dir="ltr"><i class="fas fa-pencil-alt status-icon orange"></i><?=_('Configure')?> PHP</a>
</div>
<div class="l-unit-toolbar__buttonstrip float-right">
<a href="#" class="ui-button" data-action="submit" data-id="vstobjects"><i class="fas fa-save status-icon purple"></i><?=_('Save')?></a>
</div>
</div>
</div>
<div class="l-separator"></div>
<div class="l-center animated fadeIn">
<?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 class="step-top">
<td class="step-top">
<span class="page-title"><?=_('Configuring Server')?>: <?php print $v_service_name ?></span>
</td>
</tr>
<tr>
<td>
<?php
if (!empty($_SESSION['error_msg'])) {
echo "<span class=\"vst-error\"> <i class=\"fas fa-exclamation-circle status-icon red\"></i> ".htmlentities($_SESSION['error_msg'])."</span>";
} else {
if (!empty($_SESSION['ok_msg'])) {
echo "<span class=\"vst-ok\"> <i class=\"fas fa-check-circle status-icon green\"></i> ".$_SESSION['ok_msg']."</span>";
}
}
?>
</td>
</tr>
<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"></table>
</td>
</tr>
</table>
</form>
</div>