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> | ||||
|           </div> | ||||
|           <div class="modal-body"> | ||||
|             <p>The following pseudo-device will be deleted:</p> | ||||
|             <ul> | ||||
|               <li>[% row.dns | html_entity %] / [% row.ip | html_entity %]</li> | ||||
|             </ul> | ||||
|             <blockquote> | ||||
|               <p class="text-info"> | ||||
|                 Pseudo-device "[% row.dns | html_entity %] / [% row.ip | html_entity %]" will be deleted.</p> | ||||
|             </blockquote> | ||||
|             <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="ports" type="hidden" value="[% row.port_count | html_entity %]"> | ||||
|   | ||||
| @@ -60,11 +60,16 @@ | ||||
|             <h3 id="nd_devdel_label-[% count %]">Are you sure?</h3> | ||||
|           </div> | ||||
|           <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> | ||||
|               <li>[% (row.device1.dns || row.device1.name || row.device1.ip) | html_entity %], [% row.port1 | html_entity %]</li> | ||||
|               <li>[% (row.device2.dns || row.device2.name || row.device2.ip) | html_entity %], [% row.port2 | html_entity %]</li> | ||||
|               <li><p class="text-info">[% (row.device1.dns || row.device1.name || row.device1.ip) | html_entity %],  | ||||
|                 [% 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> | ||||
|             </blockquote> | ||||
|             <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="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> | ||||
|           </div> | ||||
|           <div class="modal-body"> | ||||
|             <ul> | ||||
|               <li>This action is immediate and not reversible</li> | ||||
|               <li>All associated Nodes will be removed from the database</li> | ||||
|             </ul> | ||||
|             <p>Log message:</p> | ||||
|             <textarea class="input-block-level" rows="2" data-form="delete" name="log"></textarea> | ||||
|             <blockquote> | ||||
|               <ul> | ||||
|                 <li><p>This action is immediate and not reversible</p></li> | ||||
|                 <li><p>All associated Nodes will be removed from the database</p></li> | ||||
|               </ul> | ||||
|             </blockquote> | ||||
|             <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"/> | ||||
|           </div> | ||||
|           <div class="modal-footer"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user