Cipboard copy of device IP from Job Queue, Err jobs link to Discover form
This commit is contained in:
		| @@ -35,8 +35,13 @@ | ||||
|       [% ELSE %] | ||||
|       <td class="nd_center-cell">[% row.status.ucfirst | html_entity %]</td> | ||||
|       [% END %] | ||||
|       <td class="nd_center-cell"><a class="nd_linkcell" | ||||
|         href="[% uri_for('/device') %]?q=[% row.device | uri %]">[% row.device | html_entity %]</a></td> | ||||
|       <td class="nd_center-cell"> | ||||
|         [% IF row.status == 'error' %] | ||||
|         <a href="[% uri_for('/') %]?device=[% row.device | uri %]">[% row.device | html_entity %]</a> | ||||
|         [% ELSE %] | ||||
|         <a href="[% uri_for('/device') %]?q=[% row.device | uri %]">[% row.device | html_entity %]</a> | ||||
|         [% END %] | ||||
|       </td> | ||||
|       <td class="nd_center-cell">[% row.port | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.subaction | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.username | html_entity %]</td> | ||||
|   | ||||
| @@ -50,7 +50,7 @@ | ||||
|           [% IF user_has_role('admin') %] | ||||
|           <form class="nd_login-form" method="post" action="[% uri_for('/admin/discover') %]"> | ||||
|             <div class="form-horizontal"> | ||||
|               <input placeholder="Device hostname or IP" class="span4" name="device" type="text"/> | ||||
|               <input placeholder="Device hostname or IP" class="span4" name="device" value="[% params.device %]" type="text"/> | ||||
|               <input type="hidden" name="extra" value="with-nodes"/> | ||||
|               <button type="submit" class="btn btn-info">Discover</button> | ||||
|             </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user