mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-3148
This commit is contained in:
@@ -351,7 +351,8 @@ H3, H4 {
|
||||
}
|
||||
|
||||
#delete_sy {
|
||||
background: $blue-tsr;
|
||||
background: orange;
|
||||
border: 1px solid darken(orange,20%);
|
||||
color: #fff;
|
||||
font-weight: bold;
|
||||
padding: 1px 10px;
|
||||
@@ -404,7 +405,7 @@ H3, H4 {
|
||||
|
||||
.populate_btn {
|
||||
position: absolute;
|
||||
background: $blue-tsr;
|
||||
background: #884c92;
|
||||
z-index: 2;
|
||||
right: 50px;
|
||||
top: 50px;
|
||||
@@ -416,7 +417,7 @@ H3, H4 {
|
||||
cursor: pointer;
|
||||
|
||||
&:hover {
|
||||
background: darken($blue-tsr, 20%);
|
||||
background: darken(#884c92, 20%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -430,3 +431,8 @@ H3, H4 {
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
#flagsMenu p {
|
||||
color: #fff;
|
||||
padding: 0 10px;
|
||||
}
|
@@ -30,7 +30,7 @@
|
||||
});
|
||||
</script>
|
||||
<div class="menu" id="syMenu" style="z-index:999">
|
||||
<a href="javascript:void(0)" id="delete_sy">{{ 'thesaurus::menu: supprimer' | trans }}</a>
|
||||
<a href="javascript:void(0)" id="delete_sy">{{ 'thesaurus::menu: Mettre dans le stock' | trans }}</a>
|
||||
</div>
|
||||
<div id="desktop" class="dialog">
|
||||
<div class="menu" id="flagsMenu" style="z-index:999">
|
||||
@@ -223,7 +223,7 @@
|
||||
sy_list = ret.getElementsByTagName("sy_list").item(0);
|
||||
//refresh_sy(sy_list);
|
||||
|
||||
refresh = ret.getElementsByTagName("refresh");
|
||||
/* refresh = ret.getElementsByTagName("refresh");
|
||||
for(i=0; i<refresh.length; i++)
|
||||
{
|
||||
switch(refresh.item(i).getAttribute("type"))
|
||||
@@ -237,7 +237,16 @@
|
||||
myGUI.select(document.getElementById("THE_{{ id }}"));
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
var new_url = $('#url_properties').val();
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: `${new_url}`,
|
||||
success: function(data){
|
||||
$('#DLG_PROPERTIES').html('');
|
||||
$('#DLG_PROPERTIES').append(data);
|
||||
}
|
||||
});
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -313,7 +322,7 @@
|
||||
;
|
||||
if(tr)
|
||||
myGUI.select(tr);
|
||||
switch(o.id.substr(0, 4))
|
||||
/* switch(o.id.substr(0, 4))
|
||||
{
|
||||
case "FLG_": // le drapeau
|
||||
document.getElementById("flagsMenu").runAsMenu( evt, tr );
|
||||
@@ -323,7 +332,7 @@
|
||||
$('.delete_term').html('');
|
||||
$('.delete_term', tr).append($('#syMenu').html());
|
||||
break;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
break;
|
||||
case "MOUSEDOWN":
|
||||
@@ -342,6 +351,18 @@
|
||||
syChgPos(-1);
|
||||
break;
|
||||
}
|
||||
|
||||
switch(o.id.substr(0, 4))
|
||||
{
|
||||
case "FLG_": // le drapeau
|
||||
document.getElementById("flagsMenu").runAsMenu( evt, tr );
|
||||
break;
|
||||
case "SYN_": // le synonyme
|
||||
document.getElementById("syMenu").runAsMenu( evt, tr );
|
||||
$('.delete_term').html('');
|
||||
$('.delete_term', tr).append($('#syMenu').html());
|
||||
break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "DBLCLICK":
|
||||
|
@@ -343,7 +343,7 @@
|
||||
<br/>
|
||||
|
||||
</form>
|
||||
|
||||
<input type="hidden" id="url_properties">
|
||||
<div id="clipboard" style="position:absolute; top:0px; left:0px; z-index:99"> </div>
|
||||
|
||||
|
||||
@@ -643,9 +643,10 @@
|
||||
url += "&piv={{ piv }}";
|
||||
url += "&id=" + o.id.substr(4);
|
||||
url += "&typ=CT";
|
||||
|
||||
$('#url_properties').val(url);
|
||||
// w = window.open(url, "PROPERTIES", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
||||
w = loadDataAjax(url, 500 , 340, '#DLG_PROPERTIES','{{ 'thesaurus:dialog:: properties' | trans }}');
|
||||
|
||||
break;
|
||||
case "kcterm_search":
|
||||
$("#SEARCH_DLG").dialog("option", "buttons",
|
||||
@@ -754,7 +755,7 @@
|
||||
url += "&piv={{ piv }}";
|
||||
url += "&id=" + o.id.substr(4);
|
||||
url += "&typ=CT";
|
||||
|
||||
$('#url_properties').val(url);
|
||||
//w = window.open(url, "PROPERTIES", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
||||
w = loadDataAjax(url, 500 , 340,'#DLG_PROPERTIES', '{{ 'thesaurus:: Proprietes' | trans }}');
|
||||
}
|
||||
@@ -1158,7 +1159,7 @@
|
||||
url += "&piv={{ piv }}";
|
||||
url += "&id=" + o.id.substr(4);
|
||||
url += "&typ=TH";
|
||||
|
||||
$('#url_properties').val(url);
|
||||
// w = window.open(url, "PROPERTIES", "directories=no, height=300, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
||||
w = loadDataAjax(url,700, 400, "#DLG_PROPERTIES", '{{ 'thesaurus:: Proprietes' | trans }}');
|
||||
|
||||
|
Reference in New Issue
Block a user