Files
old-saburly-confighub/web/app/views/servers/list.html.erb
2016-02-20 13:14:21 +01:00

24 lines
623 B
Plaintext

<div class="row">
<div class="col-md-11">
<h2>Servers</h2>
</div>
<div class="col-md-1 text-right">
<%= link_to(new_server_path) do %>
<button class="btn btn-default pull-right">Add Server</button>
<% end %>
</dev>
</div>
<div class="row">
<% @page.items.each do |server| %>
<div class="col-md-2 col-xs-6 text-md-center server-thumbnail">
<div class="thumbnail">
<%= image_tag('ubuntu.png', size: '128', class:"img-responsive" ) %>
<div class="caption text-md-center" >
<h3 class="server-name"><%= server.name %></h3>
</div>
</div>
</div>
<% end %>
</div>