<!DOCTYPE html>
<html>

<head>
  {% include "common/common-head.html" %}
</head>

<body class="hold-transition skin-blue sidebar-mini">
  <div class="wrapper">

    {% include "common/page-header.html" %} {% with pageselected="syslog" %} {% include "common/sidebar-menu.html" %}
    {% endwith %}

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">

      <!-- Main content -->
      <section class="content">

        <div class="row">
          <div class="col-xs-12">

            <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">

                  <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>

                  <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 }}">
                    </div>
                  </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>

                  <div class="form-group">
                    <label for="format" class="col-sm-2 control-label">Format</label>
                    <div class="col-sm-10">
                      <input type="text" class="form-control" id="format" name="format" placeholder="RFC5424 or RFC3164"
                        value="{{ format }}">
                    </div>
                  </div>

                </div>

                <!-- /.box-body -->
                <div class="box-footer">
                  <button type="submit" class="btn btn-info pull-right">Save</button>
                </div>
                <!-- /.box-footer -->
              </form>
            </div>

          </div>
          <!-- /.col -->
        </div>
        <!-- /.row -->

      </section>
      <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

    {% include "common/footer.html" %}

  </div>
  <!-- ./wrapper -->

  {% include "common/common-js.html" %}

</body>

</html>