fix admin reoladTree callback
fix admin leftPanel render method fix admin reorder submit callback remove usless images
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 2.3 KiB |
@@ -843,7 +843,7 @@ function updateEditSelectedRecords(evt) {
|
||||
}
|
||||
}
|
||||
|
||||
$('#idFrameE .ww_status', p4.edit.editBox).html(nrecsel + " record(s) selected for editing");
|
||||
//$('#idFrameE .ww_status', p4.edit.editBox).html(nrecsel + " record(s) selected for editing");
|
||||
|
||||
updateFieldDisplay();
|
||||
|
||||
|
Before Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 61 B |
Before Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 184 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 75 B |
Before Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 77 B |
Before Width: | Height: | Size: 60 B |
Before Width: | Height: | Size: 393 B |
Before Width: | Height: | Size: 148 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 57 B |
Before Width: | Height: | Size: 827 B |
Before Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 81 B |
Before Width: | Height: | Size: 76 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 581 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 601 B |
Before Width: | Height: | Size: 61 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 545 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 334 B |
Before Width: | Height: | Size: 552 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 574 B |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 560 B |
Before Width: | Height: | Size: 65 B |
Before Width: | Height: | Size: 64 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 60 B |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 98 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 83 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 57 B |
Before Width: | Height: | Size: 827 B |
@@ -4,8 +4,7 @@ $basketsColor: #076882;
|
||||
|
||||
@import '../../_shared/styles/variables';
|
||||
|
||||
::-webkit-scrollbar-track
|
||||
{
|
||||
::-webkit-scrollbar-track {
|
||||
border-radius: 0;
|
||||
background-color: $darkerBackgroundColor;
|
||||
}
|
||||
@@ -26,6 +25,7 @@ $basketsColor: #076882;
|
||||
height: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-corner {
|
||||
background-color: transparent;
|
||||
}
|
||||
@@ -100,7 +100,6 @@ EM {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
.ui-state-default, .ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default {
|
||||
font-weight: normal;
|
||||
@@ -125,7 +124,6 @@ EM {
|
||||
border: 1px solid #FFFFFF;
|
||||
}
|
||||
|
||||
|
||||
#maincontainer {
|
||||
min-width: 970px;
|
||||
min-height: 500px;
|
||||
@@ -185,12 +183,12 @@ div#PREVIEWTITLEWRAPPER {
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.ww_status {
|
||||
/*.ww_status {
|
||||
background-image: url('#{$skinsImagesPath}ww_title.gif');
|
||||
background-repeat: repeat-x;
|
||||
color: #0077bc;
|
||||
font-size: 8pt;
|
||||
}
|
||||
}*/
|
||||
|
||||
span.ww_winTitle {
|
||||
letter-spacing: 1px;
|
||||
@@ -199,7 +197,6 @@ span.ww_winTitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
#divpage {
|
||||
background-color: #212121;
|
||||
padding: 10px 0;
|
||||
@@ -238,28 +235,25 @@ span.ww_winTitle {
|
||||
|
||||
}
|
||||
|
||||
|
||||
.cont_infos {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
right: 10px;
|
||||
height: 60px;
|
||||
top: auto;
|
||||
text-align: center;
|
||||
width: 70px;
|
||||
right: 60px;
|
||||
}
|
||||
|
||||
.cont_infos div {
|
||||
div {
|
||||
line-height: 20px;
|
||||
font-size: $smallFontSize;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.cont_infos span {
|
||||
span {
|
||||
cursor: pointer;
|
||||
font-size: $smallFontSize;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#SPANTITLE img {
|
||||
height: 16px;
|
||||
@@ -267,19 +261,14 @@ span.ww_winTitle {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.cgu-dialog blockquote p {
|
||||
margin: 10px 30px 10px 0;
|
||||
}
|
||||
|
||||
.cgu-dialog blockquote {
|
||||
margin: 10px 30px;
|
||||
overflow: auto;
|
||||
max-height: 400px;
|
||||
p {
|
||||
margin: 10px 30px 10px 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.chim-wrapper {
|
||||
position: relative;
|
||||
@@ -307,7 +296,6 @@ span.ww_winTitle {
|
||||
z-index: 10000;
|
||||
}
|
||||
|
||||
|
||||
/******* DIALOGS **************************************************************/
|
||||
|
||||
#dialog_dwnl h1 {
|
||||
@@ -340,8 +328,6 @@ span.ww_winTitle {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/******* ORDER MANAGER ********************************************************/
|
||||
|
||||
#order_manager tr.order_row {
|
||||
@@ -365,7 +351,6 @@ span.ww_winTitle {
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
|
||||
#order_manager .order_list .thumb {
|
||||
float: left;
|
||||
position: relative;
|
||||
@@ -409,7 +394,6 @@ H4 {
|
||||
MARGIN-LEFT: 5px
|
||||
}
|
||||
|
||||
|
||||
#notification_trigger .counter {
|
||||
position: relative;
|
||||
*position: static;
|
||||
@@ -448,9 +432,6 @@ H4 {
|
||||
cursor: col-resize;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/******* POPOVERS *************************************************************/
|
||||
|
||||
#tooltip .popover {
|
||||
@@ -477,6 +458,7 @@ H4 {
|
||||
border-color: $darkerBorderColor;
|
||||
}
|
||||
}
|
||||
|
||||
.dragover {
|
||||
BACKGROUND-COLOR: #fff100
|
||||
}
|
||||
@@ -530,8 +512,6 @@ H4 {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@import 'ui-components/jquery-ui';
|
||||
@import 'ui-components/context-menu';
|
||||
@import 'ui-components/forms';
|
||||
|
@@ -1,33 +1,8 @@
|
||||
|
||||
/******* ACTIONS **************************************************************/
|
||||
|
||||
.toolbutton {
|
||||
float: left;
|
||||
width: 70px;
|
||||
height: 50px;
|
||||
overflow: hidden;
|
||||
margin: 0px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.toolbuttonimg {
|
||||
float: left;
|
||||
width: 50px;
|
||||
margin: 0px 10px 0px;
|
||||
height: 30px;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.toolbuttonlabel {
|
||||
float: left;
|
||||
width: 70px;
|
||||
height: 20px;
|
||||
overflow: visible;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#TOOL_disktt {
|
||||
/*#TOOL_disktt {
|
||||
background-image: url('#{$skinsImagesPath}disktt_0.gif');
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
@@ -122,7 +97,7 @@
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
*/
|
||||
.contextMenuTrigger {
|
||||
color: $textPrimaryColor;
|
||||
font-size: $smallFontSize;
|
||||
|
@@ -1,14 +1,6 @@
|
||||
|
||||
/******* GUI ******************************************************************/
|
||||
|
||||
/*.gui_grip {
|
||||
background-image: url('#{$skinsImagesPath}grip.gif');
|
||||
background-position: 0 0;
|
||||
background-repeat: no-repeat;
|
||||
height: 19px;
|
||||
width: 5px;
|
||||
}*/
|
||||
|
||||
.gui_vsplitter,.ui-resizable-e {
|
||||
top: 50%;
|
||||
width: 13px;
|
||||
@@ -75,7 +67,7 @@
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
float: left;
|
||||
background-image: url('#{$skinsImagesPath}ccoch0.gif');
|
||||
background-image: url('#{$iconsPath}ccoch0.gif');
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -85,7 +77,7 @@
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
float: left;
|
||||
background-image: url('#{$skinsImagesPath}ccoch1.gif');
|
||||
background-image: url('#{$iconsPath}ccoch1.gif');
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -95,6 +87,6 @@
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
float: left;
|
||||
background-image: url('#{$skinsImagesPath}ccoch2.gif');
|
||||
background-image: url('#{$iconsPath}ccoch2.gif');
|
||||
cursor: pointer;
|
||||
}
|
@@ -26,17 +26,20 @@ $modalBackground: $darkerBackgroundColor !default;
|
||||
.ui-tabs {
|
||||
.ui-tabs-nav {
|
||||
li {
|
||||
background-color: $lightBackgroundColor; //$tabsNavBg;
|
||||
background-color: lighten($lightBackgroundColor, 5); //$tabsNavBg;
|
||||
height: 30px;
|
||||
border: none;
|
||||
overflow: hidden;
|
||||
a {
|
||||
padding: 5px 8px;
|
||||
//font-size: 0.8em;
|
||||
font-size: $xmediumFontSize;
|
||||
font-weight: normal;
|
||||
color: $lightTextColor; // more contrasted color
|
||||
color: $mediumTextColor; // more contrasted color
|
||||
}
|
||||
&.ui-tabs-active {
|
||||
font-size: $mediumFontSize;
|
||||
color: $lightTextColor;
|
||||
background-color: $mediumBackgroundColor; //$tabsNavBgActive;
|
||||
border: none;
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% if reloadTree %}
|
||||
<script type="text/javascript">
|
||||
reloadTree('base:{{ collection.get_sbas_id() }}');
|
||||
AdminApp.LeftView.reloadTree('base:{{ collection.get_sbas_id() }}');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
@@ -307,9 +307,9 @@
|
||||
success: function(datas) {
|
||||
if(datas.success) {
|
||||
if(submitLink.hasClass('reload')) {
|
||||
reloadTree('collection:{{ collection.get_base_id() }}', true);
|
||||
AdminApp.LeftView.reloadTree('collection:{{ collection.get_base_id() }}', true);
|
||||
} else if(submitLink.hasClass('reload-tree')) {
|
||||
reloadTree('bases:bases', true);
|
||||
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||
}
|
||||
|
||||
if ("undefined" !== typeof datas.msg) {
|
||||
|
@@ -86,10 +86,12 @@
|
||||
$this.prop('disabled',true)
|
||||
},
|
||||
success : function(datas) {
|
||||
console.log('reorder success')
|
||||
var html = _.template($("#alert_"+ (datas.success ? "success" : "error") +"_tpl").html(), {
|
||||
content:datas.msg
|
||||
});
|
||||
$('#notification').html(html);
|
||||
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||
},
|
||||
complete : function() {
|
||||
$this.prop('disabled',false)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% if reloadTree %}
|
||||
<script type="text/javascript">
|
||||
reloadTree('bases:bases');
|
||||
AdminApp.LeftView.reloadTree('bases:bases');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{% if reloadTree %}
|
||||
<script type="text/javascript">
|
||||
reloadTree('bases:bases');
|
||||
AdminApp.LeftView.reloadTree('bases:bases');
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
@@ -371,9 +371,9 @@
|
||||
success: function(datas) {
|
||||
if(datas.success) {
|
||||
if(submitLink.hasClass('reload')) {
|
||||
reloadTree('base:{{ databox.get_sbas_id() }}', true);
|
||||
AdminApp.LeftView.reloadTree('base:{{ databox.get_sbas_id() }}', true);
|
||||
} else if(submitLink.hasClass('reload-tree')) {
|
||||
reloadTree('bases:bases', true);
|
||||
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||
}
|
||||
} else {
|
||||
alert(datas.msg);
|
||||
|
@@ -7,7 +7,7 @@
|
||||
<div class="clksbas">
|
||||
<span onclick="deploy(this, '.sbascont_{{sbas_id}}' );" class="deployer_closed" ></span>
|
||||
<input type="checkbox" checked style="display: none;" id="sbasChkr_{{sbas_id}}_{{unique_id}}" class="sbasChkr_{{sbas_id}}"
|
||||
onchange="clksbas(this, {{sbas_id}});" />AAAA
|
||||
onchange="clksbas(this, {{sbas_id}});" />
|
||||
<label id="ADVSRCH_SBAS_LABEL_{{sbas_id}}" style="display: inline" class="checkbox danger_indicator" for="sbasChkr_{{sbas_id}}_{{unique_id}}">
|
||||
<span>{{sbas_id|sbas_labels(app)}}</span>
|
||||
<span class="infos_sbas_{{sbas_id}}">
|
||||
|
@@ -29,7 +29,7 @@ define([
|
||||
|
||||
var $this = this;
|
||||
this.eventManager.on("panel:left:success", function(data, click) {
|
||||
$this.render.append(data);
|
||||
$this.render(data);
|
||||
$this.activeTree();
|
||||
if (click) {
|
||||
$this.clickSelected();
|
||||
|