Add Poller Performance admin report
This commit is contained in:
		| @@ -41,11 +41,12 @@ web_plugins: | ||||
|   - Report::DuplexMismatch | ||||
|   - Report::SsidInventory | ||||
|   - Report::VlanInventory | ||||
|   - AdminTask::JobQueue | ||||
|   - AdminTask::PollerPerformance | ||||
|   - AdminTask::PseudoDevice | ||||
|   - AdminTask::Topology | ||||
|   - AdminTask::JobQueue | ||||
|   - AdminTask::Users | ||||
|   - AdminTask::UserLog | ||||
|   - AdminTask::Users | ||||
|   - Search::Device | ||||
|   - Search::Node | ||||
|   - Search::VLAN | ||||
|   | ||||
							
								
								
									
										29
									
								
								Netdisco/share/views/ajax/admintask/performance.tt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								Netdisco/share/views/ajax/admintask/performance.tt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,29 @@ | ||||
| [% IF results.count == 0 %] | ||||
| <div class="span2 alert alert-info">The aren't enough jobs to report.</div> | ||||
| [% ELSE %] | ||||
| <table class="table table-bordered table-condensed table-hover nd_floatinghead"> | ||||
|   <thead> | ||||
|     <tr> | ||||
|       <th class="nd_center-cell">Action</th> | ||||
|       <th class="nd_center-cell">Number of Devices</th> | ||||
|       <th class="nd_center-cell">Queued At</th> | ||||
|       <th class="nd_center-cell">Started</th> | ||||
|       <th class="nd_center-cell">Finished</th> | ||||
|       <th class="nd_center-cell">Time Elapsed</th> | ||||
|     </tr> | ||||
|   </thead> | ||||
|   </tbody> | ||||
|     [% WHILE (row = results.next) %] | ||||
|     <tr> | ||||
|       <td class="nd_center-cell">[% row.action.ucfirst | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.get_column('number')  | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.get_column('entered_stamp') | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.get_column('start')   | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.get_column('end')     | html_entity %]</td> | ||||
|       <td class="nd_center-cell">[% row.get_column('elapsed') | html_entity %]</td> | ||||
|     </tr> | ||||
|     [% END %] | ||||
|   </tbody> | ||||
| </table> | ||||
| [% END %] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user