-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
/
index.html.erb
24 lines (20 loc) · 958 Bytes
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<div class='container'>
<div class='row'>
<div class='col-md-12'>
<div class="page-header">
<h2>Your Agents</h2>
</div>
<%= render partial: 'agents/table', locals: {agents: @agents} %>
<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 class="btn-group">
<%= link_to 'Shared Agents', shared_agents_path, class: "btn btn-default" %>
</div>
</div>
</div>
</div>