openpdu/templates/syslog.html

93 lines
2.9 KiB
HTML
Raw Normal View History

2020-12-28 21:58:08 +00:00
<!DOCTYPE html>
<html>
<head>
2021-10-01 16:46:07 +00:00
{% include "common/common-head.html" %}
2020-12-28 21:58:08 +00:00
</head>
<body class="hold-transition skin-blue sidebar-mini">
2021-10-01 16:46:07 +00:00
<div class="wrapper">
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
{% include "common/page-header.html" %} {% with pageselected="syslog" %} {% include "common/sidebar-menu.html" %}
{% endwith %}
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<!-- Main content -->
<section class="content">
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<div class="row">
<div class="col-xs-12">
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<div class="box box-info">
<div class="box-header with-border">
<h3 class="box-title">Syslog configuration</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
<form class="form-horizontal" method="post">
<div class="box-body">
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<div class="form-group">
<label for="status" class="col-sm-2 control-label">Status</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="status" disabled="" value="{{ status }}">
</div>
</div>
<div class="form-group">
<label for="host" class="col-sm-2 control-label">Host</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="host" name="host" placeholder="Hostname or IP address"
value="{{ host }}">
</div>
</div>
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
<div class="form-group">
<label for="port" class="col-sm-2 control-label">Port</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="port" name="port"
placeholder="syslog port, default 514" value="{{ port }}">
2020-12-28 21:58:08 +00:00
</div>
2021-10-01 16:46:07 +00:00
</div>
<div class="form-group">
<label for="protocol" class="col-sm-2 control-label">Protocol</label>
<div class="col-sm-10">
<input type="text" class="form-control" id="protocol" name="protocol" placeholder="udp or tcp"
value="{{ protocol }}">
</div>
</div>
2020-12-28 21:58:08 +00:00
</div>
2021-10-01 16:46:07 +00:00
<!-- /.box-body -->
<div class="box-footer">
<button type="submit" class="btn btn-info pull-right">Save</button>
</div>
<!-- /.box-footer -->
</form>
</div>
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
</div>
<!-- /.col -->
</div>
<!-- /.row -->
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
</section>
<!-- /.content -->
2020-12-28 21:58:08 +00:00
</div>
2021-10-01 16:46:07 +00:00
<!-- /.content-wrapper -->
{% include "common/footer.html" %}
</div>
<!-- ./wrapper -->
2020-12-28 21:58:08 +00:00
2021-10-01 16:46:07 +00:00
{% include "common/common-js.html" %}
2020-12-28 21:58:08 +00:00
</body>
</html>