Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F449184
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
Thu, Apr 24, 4:05 PM
Size
3 KB
Mime Type
text/x-diff
Expires
Sat, Apr 26, 4:05 PM (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
214863
Attached To
rARCHIVING archiving
View Options
diff --git a/app/views/clients/_actions.html.erb b/app/views/clients/_actions.html.erb
index 56a7823..35c8966 100644
--- a/app/views/clients/_actions.html.erb
+++ b/app/views/clients/_actions.html.erb
@@ -1,50 +1,46 @@
<div class="row">
<div class="col-xs-12">
<% if @client.is_backed_up? %>
<%= button_or_disabled_with_label(
@client.host.blocked?, 'Restore Files',
restore_client_path(@client),
class: "btn btn-default", role: "button",
icon_class: 'glyphicon glyphicon-cloud-download', text_class: 'text-warning') %>
<% end %>
<% if @client.host %>
<%= link_to host_path(@client.host), class: "btn btn-default", role: "button" do %>
<label class="glyphicon glyphicon-edit text-primary"></label>
Manage Client
<% end %>
<% end %>
<%= link_to fd_config_host_path(@client.host, token: current_user.token),
class: "btn btn-default", role: "button", download: 'bacula-fd.conf' do %>
<label class="glyphicon glyphicon-download-alt text-primary"></label>
Download Config
<% end %>
<%= link_to '#', data: { toggle: 'modal', target: "#js-fd-config"} do %>
<label class='glyphicon glyphicon-info-sign'></label>
<% end %>
</div>
</div>
-<br/>
-
-<%= link_to 'Back to clients', clients_path %>
-
<div id="js-fd-config" class="modal" tabindex="-1" role="dialog" aria-labelledby="ConfigModal">
<div class="modal-dialog modal-lg">
<div class="modal-content container">
<br />
<div class="panel panel-default">
<div class="panel-heading">Config Download</div>
<div class="panel-body">
You can also download the config like this:
<pre>
<%= "$ wget -O bacula-fd.conf #{fd_config_host_url(@client.host, token: current_user.token,
protocol: 'https://')}" %>
</pre>
</div>
</div>
</div>
</div>
</div>
diff --git a/app/views/clients/jobs.html.erb b/app/views/clients/jobs.html.erb
index 28b8c01..a4a9d58 100644
--- a/app/views/clients/jobs.html.erb
+++ b/app/views/clients/jobs.html.erb
@@ -1,20 +1,18 @@
<%= render partial: 'header' %>
<div class="row">
<div class="col-xs-6">
<h3>Recent Jobs <small>(<%= @jobs.total_count %>)</small></h3>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<%= page_entries_info @jobs, entry_name: 'job' %>
</div>
<div class="col-xs-4 right text-right">
<%= paginate @jobs %>
</div>
</div>
<div class="row">
<%= render partial: 'recent_jobs' %>
</div>
-
-<%= link_to 'Back to clients', clients_path %>
diff --git a/app/views/clients/users.html.erb b/app/views/clients/users.html.erb
index f90ec0e..40e2672 100644
--- a/app/views/clients/users.html.erb
+++ b/app/views/clients/users.html.erb
@@ -1,26 +1,24 @@
<%= render partial: 'header' %>
<div class="row">
<div class="col-xs-6">
<h3>Collaborators for <%= @client.host.name %></h3>
</div>
<% if @client.manually_inserted? && @available_users.any? %>
<div class="col-xs-4 col-xs-offset-2 text-right">
<%= bootstrap_form_for(@invitation, layout: :inline) do |f| %>
<%= f.select :user_id, options_for_select(@available_users),
include_blank: 'Pick a user', skip_label: true %>
<%= f.hidden_field :host_id %>
<%= button_tag type: :submit, class: 'btn btn-default' do %>
<label class="glyphicon glyphicon-plus text-primary"></label>
Invite New User
<% end %>
<% end %>
</div>
<% end %>
</div>
<div class="row">
<%= render partial: 'users' %>
</div>
-
-<%= link_to 'Back to clients', clients_path %>
Event Timeline
Log In to Comment