mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
bug #1840: Add safe and restricted dirs tooltip
This commit is contained in:
parent
d368098c52
commit
321644b229
@ -6860,3 +6860,8 @@ div.time-picker li.selected {
|
||||
background: none !important;
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
/* line 791, ../sass/app.scss */
|
||||
form {
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
@ -202,6 +202,7 @@ var create_datastore_tmpl =
|
||||
<input type="text" name="safe_dirs" id="safe_dirs" />\
|
||||
</div>\
|
||||
<div class="one columns">\
|
||||
<div class="tip">'+tr("Paths that can not be used to register images. A space separated list of paths. This will prevent users registering important files as VM images and accessing them thourgh their VMs. OpenNebula will automatically add its configuration directories: /var/lib/one, /etc/one and oneadmin's home ($HOME).")+'</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="twelve columns">\
|
||||
@ -212,6 +213,7 @@ var create_datastore_tmpl =
|
||||
<input type="text" name="restricted_dirs" id="restricted_dirs" />\
|
||||
</div>\
|
||||
<div class="one columns">\
|
||||
<div class="tip">'+tr("If you need to un-block a directory under one of the RESTRICTED_DIRS")+'</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
<div class="twelve columns">\
|
||||
@ -755,7 +757,7 @@ function hide_all(context)
|
||||
// Set up the create datastore dialog
|
||||
function setupCreateDatastoreDialog(){
|
||||
|
||||
dialogs_context.append('<div title=\"'+tr("Create Datastore")+'\" id="create_datastore_dialog"></div>');
|
||||
dialogs_context.append('<div id="create_datastore_dialog"></div>');
|
||||
//Insert HTML in place
|
||||
$create_datastore_dialog = $('#create_datastore_dialog')
|
||||
var dialog = $create_datastore_dialog;
|
||||
|
@ -786,4 +786,8 @@ div.time-picker li.selected {
|
||||
.transparent_table, .transparent_table tr {
|
||||
background: none !important;
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
form {
|
||||
margin: 0 !important;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user