mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
Arrange CSS for tables. Remove unnecessary add nwfilter button.
This commit is contained in:
parent
ead0414a4d
commit
cba5147cd1
1 changed files with 23 additions and 25 deletions
|
@ -6,7 +6,6 @@
|
||||||
<!-- Page Heading -->
|
<!-- Page Heading -->
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
{% include 'create_nwfilter_block.html' %}
|
|
||||||
<h1 class="page-header">{% trans "NWFilter:" %} {{ name }}</h1>
|
<h1 class="page-header">{% trans "NWFilter:" %} {{ name }}</h1>
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="active">
|
<li class="active">
|
||||||
|
@ -74,10 +73,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
|
||||||
<h3 class="page-header">{% trans "Filter References" %}</h3>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<form class="form-inline pull-right" method="post" role="form">{% csrf_token %}
|
<form class="form-inline pull-right" method="post" role="form">{% csrf_token %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>{% trans "Filter" %}:</label>
|
<label>{% trans "Filter" %}:</label>
|
||||||
|
@ -92,10 +88,12 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
<div class="row">
|
||||||
|
<h3 class="page-header">{% trans "Filter References" %}</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="table-responsive">
|
<div class="col-xs-12 col-sm-12">
|
||||||
<table class="table table-striped">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<th style="width: 45px;">#</th>
|
<th style="width: 45px;">#</th>
|
||||||
<th>{% trans "Reference" %}</th>
|
<th>{% trans "Reference" %}</th>
|
||||||
|
@ -107,7 +105,7 @@
|
||||||
<td>{{ forloop.counter }}</td>
|
<td>{{ forloop.counter }}</td>
|
||||||
<td>{{ ref }}</td>
|
<td>{{ ref }}</td>
|
||||||
<td style="width:30px;">
|
<td style="width:30px;">
|
||||||
<form action="" method="post" style="height:10px" role="form">{% csrf_token %}
|
<form action="" method="post" role="form">{% csrf_token %}
|
||||||
<input type="hidden" name="ref" value="{{ ref }}">
|
<input type="hidden" name="ref" value="{{ ref }}">
|
||||||
<button type="submit" class="btn btn-sm btn-default" name="del_nwfilter_ref" title="{% trans "Delete" %}" onclick="return confirm('{% trans "Are you sure?" %}')">
|
<button type="submit" class="btn btn-sm btn-default" name="del_nwfilter_ref" title="{% trans "Delete" %}" onclick="return confirm('{% trans "Are you sure?" %}')">
|
||||||
<i class="fa fa-trash"></i>
|
<i class="fa fa-trash"></i>
|
||||||
|
@ -120,12 +118,12 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
{% include 'add_nwf_rule.html' %}
|
{% include 'add_nwf_rule.html' %}
|
||||||
|
<div class="row">
|
||||||
<h3 class="page-header">{% trans "Rules" %}</h3>
|
<h3 class="page-header">{% trans "Rules" %}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-responsive">
|
<div class="col-xs-12 col-sm-12">
|
||||||
<table class="table table-striped">
|
<table class="table table-hover">
|
||||||
<thead>
|
<thead>
|
||||||
<th style="width:45px;">{% trans "Rule" %}</th>
|
<th style="width:45px;">{% trans "Rule" %}</th>
|
||||||
<th>{% trans "ActionType" %}</th>
|
<th>{% trans "ActionType" %}</th>
|
||||||
|
@ -145,7 +143,7 @@
|
||||||
<td>{{ rule.statematch }}</td>
|
<td>{{ rule.statematch }}</td>
|
||||||
<td>{{ rule.directives }}</td>
|
<td>{{ rule.directives }}</td>
|
||||||
<td>
|
<td>
|
||||||
<form action="" method="post" style="height:10px" role="form">{% csrf_token %}
|
<form action="" method="post" role="form">{% csrf_token %}
|
||||||
<input type="hidden" name="action" value="{{ rule.action }}">
|
<input type="hidden" name="action" value="{{ rule.action }}">
|
||||||
<input type="hidden" name="direction" value="{{ rule.direction }}">
|
<input type="hidden" name="direction" value="{{ rule.direction }}">
|
||||||
<input type="hidden" name="priority" value="{{ rule.priority }}">
|
<input type="hidden" name="priority" value="{{ rule.priority }}">
|
||||||
|
|
Loading…
Reference in a new issue