use blockquote to make dialog more readable
This commit is contained in:
@@ -41,10 +41,10 @@
|
|||||||
<h3 id="nd_devdel_label-[% count %]">Are you sure?</h3>
|
<h3 id="nd_devdel_label-[% count %]">Are you sure?</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>The following pseudo-device will be deleted:</p>
|
<blockquote>
|
||||||
<ul>
|
<p class="text-info">
|
||||||
<li>[% row.dns | html_entity %] / [% row.ip | html_entity %]</li>
|
Pseudo-device "[% row.dns | html_entity %] / [% row.ip | html_entity %]" will be deleted.</p>
|
||||||
</ul>
|
</blockquote>
|
||||||
<input data-form="del" name="dns" type="hidden" value="[% row.dns | html_entity %]">
|
<input data-form="del" name="dns" type="hidden" value="[% row.dns | html_entity %]">
|
||||||
<input data-form="del" name="ip" type="hidden" value="[% row.ip | html_entity %]">
|
<input data-form="del" name="ip" type="hidden" value="[% row.ip | html_entity %]">
|
||||||
<input data-form="del" name="ports" type="hidden" value="[% row.port_count | html_entity %]">
|
<input data-form="del" name="ports" type="hidden" value="[% row.port_count | html_entity %]">
|
||||||
|
|||||||
@@ -60,11 +60,16 @@
|
|||||||
<h3 id="nd_devdel_label-[% count %]">Are you sure?</h3>
|
<h3 id="nd_devdel_label-[% count %]">Are you sure?</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<p>The link between these two ports will be removed:</p>
|
<blockquote>
|
||||||
|
<p class="text-info">The link between these two ports will be removed:</p>
|
||||||
|
<p> </p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[% (row.device1.dns || row.device1.name || row.device1.ip) | html_entity %], [% row.port1 | html_entity %]</li>
|
<li><p class="text-info">[% (row.device1.dns || row.device1.name || row.device1.ip) | html_entity %],
|
||||||
<li>[% (row.device2.dns || row.device2.name || row.device2.ip) | html_entity %], [% row.port2 | html_entity %]</li>
|
[% row.port1 | html_entity %]</p></li>
|
||||||
|
<li><p class="text-info">[% (row.device2.dns || row.device2.name || row.device2.ip) | html_entity %],
|
||||||
|
[% row.port2 | html_entity %]</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
</blockquote>
|
||||||
<input data-form="del" name="dev1" type="hidden" value="[% row.dev1 | html_entity %]">
|
<input data-form="del" name="dev1" type="hidden" value="[% row.dev1 | html_entity %]">
|
||||||
<input data-form="del" name="port1" type="hidden" value="[% row.port1 | html_entity %]">
|
<input data-form="del" name="port1" type="hidden" value="[% row.port1 | html_entity %]">
|
||||||
<input data-form="del" name="dev2" type="hidden" value="[% row.dev2 | html_entity %]">
|
<input data-form="del" name="dev2" type="hidden" value="[% row.dev2 | html_entity %]">
|
||||||
|
|||||||
@@ -115,12 +115,14 @@
|
|||||||
<h3 id="nd_devdel_label">Confirm Delete: [% d.dns || d.ip | html_entity %]</h3>
|
<h3 id="nd_devdel_label">Confirm Delete: [% d.dns || d.ip | html_entity %]</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
<blockquote>
|
||||||
<ul>
|
<ul>
|
||||||
<li>This action is immediate and not reversible</li>
|
<li><p>This action is immediate and not reversible</p></li>
|
||||||
<li>All associated Nodes will be removed from the database</li>
|
<li><p>All associated Nodes will be removed from the database</p></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>Log message:</p>
|
</blockquote>
|
||||||
<textarea class="input-block-level" rows="2" data-form="delete" name="log"></textarea>
|
<textarea class="input-block-level" rows="2" data-form="delete"
|
||||||
|
placeholder="Enter a log message" name="log"></textarea>
|
||||||
<input type="hidden" data-form="delete" value="[% d.ip %]" name="device"/>
|
<input type="hidden" data-form="delete" value="[% d.ip %]" name="device"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
|
|||||||
Reference in New Issue
Block a user