created file sync

This commit is contained in:
Senad Uka
2016-02-21 19:17:04 +01:00
parent 709ce3e38c
commit ac099e3210
18 changed files with 230 additions and 28 deletions

View File

@@ -13,16 +13,16 @@
<% @templates.each do |template| %>
<div class="row template-selection" id="template_<%= template.id %>">
<div class="col-md-2 text-md-center">
<div class="thumbnail">
<div class="col-md-2 text-md-center unclickable">
<div class="thumbnail unclickable">
<%= image_tag(template.safe_icon, size: '128', class:"img-responsive" ) %>
<div class="caption text-md-center">
<h3 class="server-name"><%= template.name %></h3>
<div class="caption text-md-center unclickable">
<h3 class="server-name unclickable"><%= template.name %></h3>
</div>
</div>
</div>
<div class="col-md-10 template-description">
<div class="col-md-10 template-description unclickable">
<%= template.description %>
</div>
</div>
@@ -30,4 +30,5 @@
<%= form_tag(create_from_template_configuration_files_url, method: :post, id: "create_from_template_form") do %>
<%= hidden_field_tag('template_id','', id: 'template_id') %>
<%= hidden_field_tag('server_id', @server.id, id: 'server_id') %>
<% end %>