mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
PHRAS-2212_refacto_admin_user_alerts
This commit is contained in:
@@ -559,15 +559,6 @@ input[id="elasticsearch_settings_highlight"] {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.ui-dialog .ui-dialog-content {
|
||||
position: relative;
|
||||
border: 0;
|
||||
padding: .5em 1em;
|
||||
background: none;
|
||||
margin-bottom: 7rem;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/******* SETUP *******************************************************************/
|
||||
#custom-link-table {
|
||||
width: 100%;
|
||||
|
@@ -308,7 +308,7 @@
|
||||
function delete_subdef(name) {
|
||||
$("#dialog-delete-subdef").dialog({
|
||||
resizable: false,
|
||||
height: 140,
|
||||
width: 382,
|
||||
modal: true,
|
||||
buttons: {
|
||||
"Delete subdef": function () {
|
||||
@@ -320,7 +320,13 @@
|
||||
$(this).dialog("destroy");
|
||||
}
|
||||
}
|
||||
})
|
||||
.closest('.ui-dialog').addClass('dialog_container')
|
||||
.find('.ui-dialog-buttonpane button').css({
|
||||
float: 'right',
|
||||
marginRight: '23px'
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
@@ -334,9 +340,9 @@
|
||||
<button id="create-subdef" class="btn btn-success">{{ 'create_subdef_button_label' | trans }}</button>
|
||||
</p>
|
||||
|
||||
<div id="dialog-delete-subdef" title="{{ 'delete_subdef_dialog_label ?' | trans }}" style="display:none;">
|
||||
<div id="dialog-delete-subdef" title="{{ 'Delete the subview ?' | trans }}" style="display:none;">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>
|
||||
{# <span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span> #}
|
||||
{{ 'These subdef will be permanently deleted and cannot be recovered. Are you sure?' | trans }}
|
||||
</p>
|
||||
</div>
|
||||
|
@@ -1,8 +1,9 @@
|
||||
function searchEngineConfigurationFormInit(indexExists) {
|
||||
$("#dropIndexConfirmDialog").dialog({
|
||||
var dropIndexDialog = $("#dropIndexConfirmDialog").dialog({
|
||||
autoOpen: false,
|
||||
modal: true,
|
||||
title: "Drop index",
|
||||
width: 382,
|
||||
buttons: [
|
||||
{
|
||||
text: "Ok",
|
||||
@@ -18,6 +19,10 @@ function searchEngineConfigurationFormInit(indexExists) {
|
||||
}
|
||||
}
|
||||
]
|
||||
}).closest('.ui-dialog').addClass('dialog_container');
|
||||
dropIndexDialog.find('.ui-dialog-buttonpane button').css({
|
||||
float: 'right',
|
||||
marginRight: '23px'
|
||||
});
|
||||
|
||||
if(indexExists) {
|
||||
|
Reference in New Issue
Block a user