app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.5.0 vs app/views/phcscriptcdnpro/scriptcdn/mains/index.html.erb in phcscriptcdnpro-1.5.1

- old
+ new

@@ -4,11 +4,11 @@ <!-- Bread Crumb --> <div class="page-bar"> <ul class="page-breadcrumb"> - <li><%= link_to "Script Listing", scriptcdn_main_path %><i class="fa fa-circle"></i></li> + <li><%= link_to "Script Listing", phcscriptcdnpro.scriptcdn_main_path %><i class="fa fa-circle"></i></li> <li class="active"><%= yield(:phc_title_tagline) %></li> </ul> </div> @@ -20,27 +20,29 @@ <div class="portlet-title"> <div class="caption"> <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> </div> <div class="actions"> - <%= link_to new_scriptcdn_main_path, class: "btn blue-chambray" do %> + <%= link_to phcscriptcdnpro.new_scriptcdn_main_path, class: "btn blue-chambray" do %> <i class="fa fa-plus"></i> Add a New Script for CDN <% end %> </div> </div> <div class="portlet-body"> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover table-header-fixed"> + <thead> <tr> - <th>Scriptname</th> - <th>Scriptdescription</th> + <th>Script Name</th> + <th>Script Description</th> <th>Version</th> <th></th> </tr> </thead> + <tbody> <% @scriptcdn_mains.each do |scriptcdn_main| %> <tr> <td><%= scriptcdn_main.scriptname %></td> <td><%= scriptcdn_main.scriptdescription %></td> @@ -48,19 +50,20 @@ <td> <div class="btn-group" role="group" aria-label="Script"> <% if current_user %> <%= link_to 'Show', scriptcdn_main, class: "btn blue-chambray" %> <%= link_to 'Edit', edit_scriptcdn_main_path(scriptcdn_main), class: "btn blue-chambray" %> - <%= link_to 'Destroy', scriptcdn_main, class: "btn btn-w-m btn-danger btn-xs btn-phc-custom", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %> + <%= link_to 'Destroy', scriptcdn_main, class: "btn blue-chambray", method: :delete, data: { confirm: 'Are you sure?' }, class: "btn red-mint" %> <% end %> </div> </td> </tr> <% end %> </tbody> + </table> </div> </div> </div> </div> -</div> \ No newline at end of file +</div>