-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathmanage.html
142 lines (120 loc) · 6.44 KB
/
manage.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Manage :: Varnish Dashboard</title>
<link rel="shortcut icon" href="./assets/images/favicon.ico">
<link rel="stylesheet" href="./vendor/bootstrap-3.3.2-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/css/main.css">
</head>
<body data-page="manage">
<header class="navbar navbar-fixed-top navbar-inverse" id="top">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="./" class="navbar-brand"><img src="assets/images/logo.png" alt="Enhanced Varnish Dashboard"></a>
</div>
<nav class="collapse navbar-collapse bs-navbar-collapse">
<ul class="nav navbar-nav">
<li class=""><a href="./">Dashboard</a></li>
<li class="bans"><a href="./bans.html">Bans</a></li>
<li class="manage active"><a href="./manage.html">Manage Server</a></li>
<li class="vcl"><a href="./vcl.html">VCL</a></li>
<li class="stats"><a href="./stats.html">Stats</a></li>
<li class="params"><a href="./params.html">Params</a></li>
<li class="logs"><a href="./logs.html">Logs</a></li>
</ul>
<form class="navbar-form navbar-right" id="server-navigation" style="display:none">
<div class="dropdown clearfix">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
All Servers
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation" class="dropdown-header">Server Groups</li>
<li role="presentation" id="sg-all-servers"><a role="menuitem" class="switch-server" data-server="" href="./">All Servers</a></li>
<li role="presentation" id="sg-servers" class="dropdown-header">Servers</li>
</ul>
</div>
</form>
</nav>
</div>
</header>
<div class="container page-body" id="manage-body">
<div class="row">
<div class="col-md-4">
<div class="panel panel-default">
<div class="panel-heading"><i class="glyphicon glyphicon-cog"></i> Server Actions</div>
<div class="panel-body">
<a class="action-ping btn btn-primary" href="#"><i class="glyphicon glyphicon-comment"></i> Ping Varnish</a>
<a class="action-restart btn btn-danger" href="#"><i class="glyphicon glyphicon-refresh"></i> Restart Varnish</a>
<br><br><strong>varnishadm command:</strong>
<form class="form-inline" style="margin-top:16px;margin-bottom:10px;" id="server-direct">
<input type="text" class="form-control" placeholder="e.g. help" style="width:240px;">
<button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-play"></i> Run</button>
</form>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading"><i class="glyphicon glyphicon-info-sign"></i> Server Info</div>
<div class="panel-body">
<div id="varnish-version">Loading....</div>
</div>
</div>
</div>
<div class="col-md-8" id="last-panic">
<div class="panel panel-default">
<div class="panel-heading"><i class="glyphicon glyphicon-alert"></i> Panic Log</div>
<div class="panel-body">Loading...</div>
</div>
</div>
</div>
</div>
<footer class="site-footer" role="contentinfo">
<div class="container">
<p>Enhanced Varnish Dashboard by <a href="https://github.com/brandonwamboldt" target="_blank">@brandonwamboldt</a>.</p>
<p>
The Enhanced Varnish Dashboard is licensed under the <a href="https://github.com/brandonwamboldt/varnish-dashboard/blob/master/LICENSE.md" target="_blank">MIT</a> license, our documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.
</p>
<ul class="site-footer-links text-muted">
<li>Currently v1.0.0</li>
<li>·</li>
<li><a href="https://github.com/brandonwamboldt/varnish-dashboard">GitHub</a></li>
<li>·</li>
<li><a href="http://brandonwamboldt.github.io/varnish-dashboard/">Documentation</a></li>
<li>·</li>
<li><a href="https://github.com/brandonwamboldt/varnish-dashboard/issues">Issues</a></li>
<li>·</li>
<li><a href="https://github.com/brandonwamboldt/varnish-dashboard/releases">Releases</a></li>
</ul>
</div>
</footer>
<div class="modal fade" id="cmd-output" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Direct Varnish Admin Command Output</h4>
</div>
<div class="modal-body">
<pre></pre>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script src="./config.js"></script>
<script src="./vendor/jquery-1.11.2.min.js"></script>
<script src="./vendor/bootstrap-3.3.2-dist/js/bootstrap.min.js"></script>
<script src="./assets/js/varnish.js"></script>
<script src="./assets/js/main.js"></script>
<script src="./assets/js/manage.js"></script>
</body>
</html>