Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F886267
index.html.erb
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
Sat, Aug 9, 12:14 AM
Size
1 KB
Mime Type
text/plain
Expires
Mon, Aug 11, 12:14 AM (1 d, 13 h)
Engine
blob
Format
Raw Data
Handle
234452
Attached To
rARCHIVING archiving
index.html.erb
View Options
<h1>Settings</h1>
<%
if
!
@settings
.
persisted?
%>
<div class="alert alert-warning" role="alert">
The following configuration is the default configuration.
</div>
<%
end
%>
<div class="row">
<div class="col-xs-4">
<h3>Client Settings</h3>
</div>
<div class="col-xs-4">
<h3>Job Settings</h3>
</div>
</div>
<div class="row">
<div class="col-xs-4">
<%=
table_for
(
ConfigurationSetting
.
current_job_settings
)
%>
</div>
<div class="col-xs-4">
<%=
table_for
(
ConfigurationSetting
.
current_client_settings
)
%>
</div>
</div>
<div class="row">
<div class="col-xs-2">
<%=
link_to
'Change Config'
,
@settings
.
persisted?
?
edit_admin_setting_path
(
@settings
)
:
new_admin_setting_path
,
class
:
'btn btn-primary'
,
role
:
'button'
%>
</div>
<%
if
@settings
.
persisted?
%>
<div class="col-xs-2">
<%=
link_to
'Restore to defaults'
,
reset_admin_setting_path
(
@settings
),
method
:
:delete
,
data
:
{
confirm
:
'This will reset the configuration to the defaults'
},
class
:
'btn btn-danger'
,
role
:
'button'
%>
</div>
<%
end
%>
</div>
Event Timeline
Log In to Comment