mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-15 19:31:26 +00:00
22 lines
923 B
Text
22 lines
923 B
Text
<% content_for :title, "Agents" -%>
|
||
|
||
<div class='container'>
|
||
<div class='row'>
|
||
<div class='col-md-12'>
|
||
<div class="page-header">
|
||
<h2><%= session[:original_admin_user_id].present? ? "#{current_user.username}’s Agents" : 'Your Agents' %></h2>
|
||
</div>
|
||
|
||
<%= render 'agents/table' %>
|
||
|
||
<br/>
|
||
|
||
<div class="btn-group">
|
||
<%= link_to icon_tag('glyphicon-plus') + ' New Agent', new_agent_path, class: "btn btn-default" %>
|
||
<%= link_to icon_tag('glyphicon-refresh') + ' Run event propagation', propagate_agents_path, method: 'post', class: "btn btn-default" %>
|
||
<%= link_to icon_tag('glyphicon-random') + ' View diagram', diagram_path, class: "btn btn-default" %>
|
||
<%= link_to icon_tag('glyphicon-adjust') + toggle_disabled_text, toggle_visibility_agents_path, method: :put, class: "btn btn-default visibility-enabler" %>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|