mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
add aria-label definition to forms
This commit is contained in:
parent
8bafaa8720
commit
bf15de507a
37 changed files with 122 additions and 122 deletions
|
|
@ -13,7 +13,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<form method="post" role="form">{% csrf_token %}
|
||||
<form method="post" role="form" aria-label="Add new NWFilter rule form">{% csrf_token %}
|
||||
<div class="form-group row">
|
||||
<div class="col-12" id="xmlheight">
|
||||
<input type="hidden" name="nwfilterrule_xml"/>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
<h5 class="modal-title">{% trans "Create New NWFilter" %}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> </div>
|
||||
<div class="modal-body">
|
||||
<form method="post" role="form">{% csrf_token %}
|
||||
<form method="post" role="form" aria-label=""Create new NWFilter form"">{% csrf_token %}
|
||||
<div class="form-group row">
|
||||
<div class="col-12" id="xmlheight">
|
||||
<input type="hidden" name="nwfilter_xml"/>
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@
|
|||
<h5 class="page-header mr-auto">{% trans "Filter References" %}
|
||||
|
||||
|
||||
<form class="form-inline float-right" method="post" role="form">{% csrf_token %}
|
||||
<form class="form-inline float-right" method="post" role="form" aria-label="Add NWFilter form">{% csrf_token %}
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<div class="input-group-prepend">
|
||||
|
|
@ -109,7 +109,7 @@
|
|||
<th scope="row">{{ forloop.counter }}</th>
|
||||
<td>{{ ref }}</td>
|
||||
<td style="width:30px;">
|
||||
<form action="" method="post" role="form">{% csrf_token %}
|
||||
<form action="" method="post" role="form" aria-label="Delete NWFilter form">{% csrf_token %}
|
||||
<input type="hidden" name="ref" value="{{ ref }}">
|
||||
<button type="submit" class="btn btn-sm btn-danger" name="del_nwfilter_ref" title="{% trans "Delete" %}" onclick="return confirm('{% trans "Are you sure?" %}')">
|
||||
<i class="fa fa-trash"></i>
|
||||
|
|
@ -147,7 +147,7 @@
|
|||
<td>{{ rule.statematch }}</td>
|
||||
<td>{{ rule.directives }}</td>
|
||||
<td>
|
||||
<form action="" method="post" role="form">{% csrf_token %}
|
||||
<form action="" method="post" role="form" aria-label="Delete NWFilter rule">{% csrf_token %}
|
||||
<input type="hidden" name="action" value="{{ rule.action }}">
|
||||
<input type="hidden" name="direction" value="{{ rule.direction }}">
|
||||
<input type="hidden" name="priority" value="{{ rule.priority }}">
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@
|
|||
<h5 class="modal-title">{% trans "Clone NWFilter" %} <span class="text-danger">{{ nwfilter.name }}</span></h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
</div>
|
||||
<form method="post" role="form">{% csrf_token %}
|
||||
<form method="post" role="form" aria-label="Clone NWFilter form">{% csrf_token %}
|
||||
<div class="modal-body">
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-3 col-form-label">{% trans "Name" %}</label>
|
||||
|
|
@ -118,7 +118,7 @@
|
|||
<button class="btn btn-sm btn-secondary" data-toggle="modal" data-target="#Clone{{ forloop.counter }}" title="{% trans "Clone" %}"><i class="fa fa-files-o"></i></button>
|
||||
</td>
|
||||
<td>
|
||||
<form action="" method="post" role="form">{% csrf_token %}
|
||||
<form action="" method="post" role="form" aria-label="Delete NWFilter form">{% csrf_token %}
|
||||
<input type="hidden" name="nwfiltername" value="{{ nwfilter.name }}">
|
||||
<button type="submit" class="btn btn-sm btn-secondary" name="del_nwfilter" title="{% trans "Delete" %}" onclick="return confirm('{% trans "Are you sure?" %}')">
|
||||
<i class="fa fa-trash"></i>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue