Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F886110
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Aug 8, 8:44 PM
Size
3 KB
Mime Type
text/x-diff
Expires
Sun, Aug 10, 8:44 PM (1 d, 3 h)
Engine
blob
Format
Raw Data
Handle
246063
Attached To
rARCHIVING archiving
View Options
diff --git a/app/views/jobs/_job_templates.html.erb b/app/views/jobs/_job_templates.html.erb
index 17d22ef..54b25ee 100644
--- a/app/views/jobs/_job_templates.html.erb
+++ b/app/views/jobs/_job_templates.html.erb
@@ -1,27 +1,27 @@
<div class="col-lg-9 col-md-12">
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>FileSet</th>
<th>Schedule</th>
<th>Client Before Run Job</th>
<th>Client After Run Job</th>
<th>Enabled</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<%= render partial: 'jobs/job_template_details',
collection: @host.job_templates, as: :job %>
</tbody>
</table>
</div>
<%= button_or_disabled_with_label(
- @host.blocked?, 'Add Job', new_host_job_path(host_id: @host.id),
+ @host.blocked?, 'Add Job', new_host_simple_config_path(host_id: @host.id),
class: "btn btn-default", role: "button",
icon_class: 'glyphicon glyphicon-plus', text_class: 'text-success') %>
</div>
diff --git a/app/views/jobs/show.html.erb b/app/views/jobs/show.html.erb
index 802d669..a0ce0de 100644
--- a/app/views/jobs/show.html.erb
+++ b/app/views/jobs/show.html.erb
@@ -1,31 +1,32 @@
<div class="row">
- <div class="col-xs-6">
+ <div class="col-sm-12 col-md-8 col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">
<h1>"<%= @job.name %>" Job Template</h1>
</div>
<%= render partial: 'job_details' %>
</div>
- <div class="col-xs-2 col-xs-offset-4 right">
- <%= link_to host_path(@host), class: "btn btn-default" do %>
- <label class="glyphicon glyphicon-menu-left text-primary"></label>
- Back to host
- <% end %>
- </div>
- <div class="col-xs-1">
- <%= link_to edit_host_job_path(@host, @job), class: "btn btn-default", role: "button" do %>
- <label class="glyphicon glyphicon-edit text-primary"></label>
- Edit
- <% end %>
- </div>
- <div class="col-xs-1">
- <%= link_to host_job_path(@host, @job),
- method: :delete, data: { confirm: 'This will delete the job' },
- class: "btn btn-default", role: "button" do %>
- <label class="glyphicon glyphicon-ban-circle text-danger"></label>
- Delete
- <% end %>
- </div>
+ </div>
+</div>
+
+<div class="row">
+ <div class="col-sm-12 col-md-8 col-lg-6">
+ <%= link_to host_path(@host), class: "btn btn-default" do %>
+ <label class="glyphicon glyphicon-menu-left text-primary"></label>
+ Back to host
+ <% end %>
+
+ <%= link_to edit_host_job_path(@host, @job), class: "btn btn-default", role: "button" do %>
+ <label class="glyphicon glyphicon-edit text-primary"></label>
+ Edit
+ <% end %>
+
+ <%= link_to host_job_path(@host, @job),
+ method: :delete, data: { confirm: 'This will delete the job' },
+ class: "btn btn-default right", role: "button" do %>
+ <label class="glyphicon glyphicon-ban-circle text-danger"></label>
+ Delete
+ <% end %>
</div>
</div>
Event Timeline
Log In to Comment