mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-3148
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="caret-right" class="svg-inline--fa fa-caret-right fa-w-6" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="#6d6d6d" d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"></path></svg>
|
|
Before Width: | Height: | Size: 388 B |
@@ -1 +0,0 @@
|
|||||||
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="caret-right" class="svg-inline--fa fa-caret-right fa-w-6" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 192 512"><path fill="#fff" d="M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"></path></svg>
|
|
Before Width: | Height: | Size: 385 B |
@@ -301,12 +301,8 @@ H3, H4 {
|
|||||||
position: relative;
|
position: relative;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 5px 6px 5px 16px;
|
padding: 5px 6px;
|
||||||
background-image: url('#{$iconsPath}caret-right-solid.svg');
|
|
||||||
background-size: 5px;
|
|
||||||
background-position: 5px;
|
|
||||||
background-color: #535353;
|
background-color: #535353;
|
||||||
background-repeat: no-repeat;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -326,7 +322,6 @@ H3, H4 {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: lighten(#535353, 10%);
|
color: lighten(#535353, 10%);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background-image: url('#{$iconsPath}caret-right-solid-grey.svg');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu A.disabled:hover {
|
.menu A.disabled:hover {
|
||||||
|
@@ -52,9 +52,9 @@
|
|||||||
{{ 'thesaurus:: selectionner la provenance a accepter' | trans }}
|
{{ 'thesaurus:: selectionner la provenance a accepter' | trans }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br/>
|
<br/>
|
||||||
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
|
<input type="button" id="cancel_button" class="cancel_btn" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" >
|
||||||
|
|
||||||
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
|
<input type="button" id="submit_button" class="validate_btn" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');">
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -70,9 +70,9 @@
|
|||||||
{{ prop_label }}
|
{{ prop_label }}
|
||||||
<br/>
|
<br/>
|
||||||
<form class="thesaurus_confirm_bottom_block">
|
<form class="thesaurus_confirm_bottom_block">
|
||||||
<input type="button" id="cancel_button" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" style="width:100px;">
|
<input type="button" id="cancel_button" class="cancel_btn" value="{{ 'boutton::annuler' | trans }}" onclick="clkBut('cancel');" >
|
||||||
|
|
||||||
<input type="button" id="submit_button" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" style="width:100px;">
|
<input type="button" id="submit_button" class="validate_btn" value="{{ 'boutton::valider' | trans }}" onclick="clkBut('submit');" >
|
||||||
</form>
|
</form>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
|
@@ -30,7 +30,7 @@
|
|||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<div class="menu" id="syMenu" style="z-index:999">
|
<div class="menu" id="syMenu" style="z-index:999">
|
||||||
<a href="javascript:void(0)" id="delete_sy">{{ 'thesaurus::menu: Mettre dans le stock' | trans }}</a>
|
<a href="javascript:void(0)" id="delete_sy">{{ 'thesaurus:properties:: Mettre dans le stock' | trans }}</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="desktop" class="dialog">
|
<div id="desktop" class="dialog">
|
||||||
<div class="menu" id="flagsMenu" style="z-index:999">
|
<div class="menu" id="flagsMenu" style="z-index:999">
|
||||||
@@ -223,7 +223,7 @@
|
|||||||
sy_list = ret.getElementsByTagName("sy_list").item(0);
|
sy_list = ret.getElementsByTagName("sy_list").item(0);
|
||||||
//refresh_sy(sy_list);
|
//refresh_sy(sy_list);
|
||||||
|
|
||||||
/* refresh = ret.getElementsByTagName("refresh");
|
refresh = ret.getElementsByTagName("refresh");
|
||||||
for(i=0; i<refresh.length; i++)
|
for(i=0; i<refresh.length; i++)
|
||||||
{
|
{
|
||||||
switch(refresh.item(i).getAttribute("type"))
|
switch(refresh.item(i).getAttribute("type"))
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
myGUI.select(document.getElementById("THE_{{ id }}"));
|
myGUI.select(document.getElementById("THE_{{ id }}"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
var new_url = $('#url_properties').val();
|
var new_url = $('#url_properties').val();
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
@@ -358,9 +358,12 @@
|
|||||||
document.getElementById("flagsMenu").runAsMenu( evt, tr );
|
document.getElementById("flagsMenu").runAsMenu( evt, tr );
|
||||||
break;
|
break;
|
||||||
case "SYN_": // le synonyme
|
case "SYN_": // le synonyme
|
||||||
|
if (stock == false)
|
||||||
|
{
|
||||||
document.getElementById("syMenu").runAsMenu(evt, tr);
|
document.getElementById("syMenu").runAsMenu(evt, tr);
|
||||||
$('.delete_term').html('');
|
$('.delete_term').html('');
|
||||||
$('.delete_term', tr).append($('#syMenu').html());
|
$('.delete_term', tr).append($('#syMenu').html());
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -355,6 +355,7 @@
|
|||||||
|
|
||||||
//Ajax function to get data
|
//Ajax function to get data
|
||||||
var title = '';
|
var title = '';
|
||||||
|
var stock = false;
|
||||||
function loadDataAjax(urls, width, height, bloc, title) {
|
function loadDataAjax(urls, width, height, bloc, title) {
|
||||||
$(bloc).dialog({
|
$(bloc).dialog({
|
||||||
title: title,
|
title: title,
|
||||||
@@ -644,6 +645,7 @@
|
|||||||
url += "&id=" + o.id.substr(4);
|
url += "&id=" + o.id.substr(4);
|
||||||
url += "&typ=CT";
|
url += "&typ=CT";
|
||||||
$('#url_properties').val(url);
|
$('#url_properties').val(url);
|
||||||
|
stock = true;
|
||||||
// w = window.open(url, "PROPERTIES", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
// 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 }}');
|
w = loadDataAjax(url, 500 , 340, '#DLG_PROPERTIES','{{ 'thesaurus:dialog:: properties' | trans }}');
|
||||||
|
|
||||||
@@ -756,6 +758,7 @@
|
|||||||
url += "&id=" + o.id.substr(4);
|
url += "&id=" + o.id.substr(4);
|
||||||
url += "&typ=CT";
|
url += "&typ=CT";
|
||||||
$('#url_properties').val(url);
|
$('#url_properties').val(url);
|
||||||
|
stock = false;
|
||||||
//w = window.open(url, "PROPERTIES", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
//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 }}');
|
w = loadDataAjax(url, 500 , 340,'#DLG_PROPERTIES', '{{ 'thesaurus:: Proprietes' | trans }}');
|
||||||
}
|
}
|
||||||
@@ -1084,7 +1087,7 @@
|
|||||||
url += "&sylng=" + encodeURIComponent(lng);
|
url += "&sylng=" + encodeURIComponent(lng);
|
||||||
|
|
||||||
// w = window.open(url, "NEWTERM", "directories=no, height=290, width=490, location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, toolbar=no");
|
// w = window.open(url, "NEWTERM", "directories=no, height=290, width=490, location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, toolbar=no");
|
||||||
w = loadDataAjax(url,490, 290,"#NEWSY_DLG_CONFIRM",'{% if typ == "TS" %}{{ 'thesaurus:: Nouveau terme specifique' | trans }}{% else %}{{ 'thesaurus:: Nouveau synonyme' | trans }}{% endif %}');
|
w = loadDataAjax(url,490, 350,"#NEWSY_DLG_CONFIRM",'{% if typ == "TS" %}{{ 'thesaurus:: Nouveau terme specifique' | trans }}{% else %}{{ 'thesaurus:: Nouveau synonyme' | trans }}{% endif %}');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
@@ -1150,7 +1153,7 @@
|
|||||||
url += "&piv={{ piv }}";
|
url += "&piv={{ piv }}";
|
||||||
url += "&tid=" + o.id.substr(4);
|
url += "&tid=" + o.id.substr(4);
|
||||||
// w = window.open(url, "LINK", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
// w = window.open(url, "LINK", "directories=no, height=340, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
||||||
w = loadDataAjax(url,700, 400, "#DLG_LINK_FIELD_1", '{{ 'thesaurus:: Lier la branche de thesaurus au champ' | trans }}');
|
w = loadDataAjax(url,700, 430, "#DLG_LINK_FIELD_1", '{{ 'thesaurus:: Lier la branche de thesaurus au champ' | trans }}');
|
||||||
break;
|
break;
|
||||||
case "kterm_properties":
|
case "kterm_properties":
|
||||||
var myObj = { "win":window };
|
var myObj = { "win":window };
|
||||||
@@ -1160,6 +1163,7 @@
|
|||||||
url += "&id=" + o.id.substr(4);
|
url += "&id=" + o.id.substr(4);
|
||||||
url += "&typ=TH";
|
url += "&typ=TH";
|
||||||
$('#url_properties').val(url);
|
$('#url_properties').val(url);
|
||||||
|
stock = false;
|
||||||
// w = window.open(url, "PROPERTIES", "directories=no, height=300, width=500, location=no, menubar=no, resizable=yes, scrollbars=no, status=no, toolbar=no");
|
// 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 }}');
|
w = loadDataAjax(url,700, 400, "#DLG_PROPERTIES", '{{ 'thesaurus:: Proprietes' | trans }}');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user