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();
|
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';
|
@import '../../_shared/styles/variables';
|
||||||
|
|
||||||
::-webkit-scrollbar-track
|
::-webkit-scrollbar-track {
|
||||||
{
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
background-color: $darkerBackgroundColor;
|
background-color: $darkerBackgroundColor;
|
||||||
}
|
}
|
||||||
@@ -26,11 +25,12 @@ $basketsColor: #076882;
|
|||||||
height: 0;
|
height: 0;
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-corner {
|
::-webkit-scrollbar-corner {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
*::-moz-selection, *::selection{
|
*::-moz-selection, *::selection {
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
color: $textPrimaryColor;
|
color: $textPrimaryColor;
|
||||||
}
|
}
|
||||||
@@ -100,7 +100,6 @@ EM {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.ui-state-default, .ui-widget-content .ui-state-default,
|
.ui-state-default, .ui-widget-content .ui-state-default,
|
||||||
.ui-widget-header .ui-state-default {
|
.ui-widget-header .ui-state-default {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
@@ -122,10 +121,9 @@ EM {
|
|||||||
.ui-widget-content.ui-autocomplete .ui-state-focus,
|
.ui-widget-content.ui-autocomplete .ui-state-focus,
|
||||||
.ui-widget-content.ui-autocomplete .ui-widget-content .ui-state-focus,
|
.ui-widget-content.ui-autocomplete .ui-widget-content .ui-state-focus,
|
||||||
.ui-widget-content.ui-autocomplete .ui-widget-header .ui-state-focus {
|
.ui-widget-content.ui-autocomplete .ui-widget-header .ui-state-focus {
|
||||||
border : 1px solid #FFFFFF;
|
border: 1px solid #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#maincontainer {
|
#maincontainer {
|
||||||
min-width: 970px;
|
min-width: 970px;
|
||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
@@ -134,8 +132,8 @@ EM {
|
|||||||
#mainContent {
|
#mainContent {
|
||||||
// top: 40px;
|
// top: 40px;
|
||||||
min-width: 960px;
|
min-width: 960px;
|
||||||
overflow-x:auto;
|
overflow-x: auto;
|
||||||
overflow-y:auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.PNB {
|
.PNB {
|
||||||
@@ -185,12 +183,12 @@ div#PREVIEWTITLEWRAPPER {
|
|||||||
height: 16px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ww_status {
|
/*.ww_status {
|
||||||
background-image: url('#{$skinsImagesPath}ww_title.gif');
|
background-image: url('#{$skinsImagesPath}ww_title.gif');
|
||||||
background-repeat: repeat-x;
|
background-repeat: repeat-x;
|
||||||
color: #0077bc;
|
color: #0077bc;
|
||||||
font-size: 8pt;
|
font-size: 8pt;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
span.ww_winTitle {
|
span.ww_winTitle {
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
@@ -199,7 +197,6 @@ span.ww_winTitle {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#divpage {
|
#divpage {
|
||||||
background-color: #212121;
|
background-color: #212121;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
@@ -238,28 +235,25 @@ span.ww_winTitle {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.cont_infos {
|
.cont_infos {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 10px;
|
bottom: 10px;
|
||||||
right: 10px;
|
|
||||||
height: 60px;
|
height: 60px;
|
||||||
top: auto;
|
top: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
width: 70px;
|
width: 70px;
|
||||||
right: 60px;
|
right: 60px;
|
||||||
|
div {
|
||||||
|
line-height: 20px;
|
||||||
|
font-size: $smallFontSize;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
span {
|
||||||
|
cursor: pointer;
|
||||||
|
font-size: $smallFontSize;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cont_infos div {
|
|
||||||
line-height: 20px;
|
|
||||||
font-size: $smallFontSize;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cont_infos span {
|
|
||||||
cursor: pointer;
|
|
||||||
font-size: $smallFontSize;
|
|
||||||
}
|
|
||||||
|
|
||||||
#SPANTITLE img {
|
#SPANTITLE img {
|
||||||
height: 16px;
|
height: 16px;
|
||||||
@@ -267,20 +261,15 @@ span.ww_winTitle {
|
|||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cgu-dialog blockquote p {
|
|
||||||
margin: 10px 30px 10px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.cgu-dialog blockquote {
|
.cgu-dialog blockquote {
|
||||||
margin: 10px 30px;
|
margin: 10px 30px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-height: 400px;
|
max-height: 400px;
|
||||||
|
p {
|
||||||
|
margin: 10px 30px 10px 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.chim-wrapper {
|
.chim-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -307,7 +296,6 @@ span.ww_winTitle {
|
|||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/******* DIALOGS **************************************************************/
|
/******* DIALOGS **************************************************************/
|
||||||
|
|
||||||
#dialog_dwnl h1 {
|
#dialog_dwnl h1 {
|
||||||
@@ -340,8 +328,6 @@ span.ww_winTitle {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******* ORDER MANAGER ********************************************************/
|
/******* ORDER MANAGER ********************************************************/
|
||||||
|
|
||||||
#order_manager tr.order_row {
|
#order_manager tr.order_row {
|
||||||
@@ -365,7 +351,6 @@ span.ww_winTitle {
|
|||||||
margin: 0 5px;
|
margin: 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#order_manager .order_list .thumb {
|
#order_manager .order_list .thumb {
|
||||||
float: left;
|
float: left;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -409,7 +394,6 @@ H4 {
|
|||||||
MARGIN-LEFT: 5px
|
MARGIN-LEFT: 5px
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#notification_trigger .counter {
|
#notification_trigger .counter {
|
||||||
position: relative;
|
position: relative;
|
||||||
*position: static;
|
*position: static;
|
||||||
@@ -442,19 +426,16 @@ H4 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#sizeAns_slider .ui-slider-handle, #nperpage_slider .ui-slider-handle,
|
#sizeAns_slider .ui-slider-handle, #nperpage_slider .ui-slider-handle,
|
||||||
#EDIT_ZOOMSLIDER .ui-slider-handle {
|
#EDIT_ZOOMSLIDER .ui-slider-handle {
|
||||||
background-color: $darkerBackgroundColor;
|
background-color: $darkerBackgroundColor;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
cursor: col-resize;
|
cursor: col-resize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/******* POPOVERS *************************************************************/
|
/******* POPOVERS *************************************************************/
|
||||||
|
|
||||||
#tooltip .popover {
|
#tooltip .popover {
|
||||||
background-color:inherit;
|
background-color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popover-inner {
|
.popover-inner {
|
||||||
@@ -477,6 +458,7 @@ H4 {
|
|||||||
border-color: $darkerBorderColor;
|
border-color: $darkerBorderColor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.dragover {
|
.dragover {
|
||||||
BACKGROUND-COLOR: #fff100
|
BACKGROUND-COLOR: #fff100
|
||||||
}
|
}
|
||||||
@@ -520,18 +502,16 @@ H4 {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
margin-bottom: 0px;
|
margin-bottom: 0px;
|
||||||
&.status-active{
|
&.status-active {
|
||||||
background-color: #58d5b5;
|
background-color: #58d5b5;
|
||||||
box-shadow: 0 0 6px #69fcd6;
|
box-shadow: 0 0 6px #69fcd6;
|
||||||
}
|
}
|
||||||
&.status-inactive {
|
&.status-inactive {
|
||||||
background-color: #aaaaaa;
|
background-color: #aaaaaa;
|
||||||
box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.7);
|
box-shadow: inset 1px 1px 2px 0px rgba(0, 0, 0, 0.7);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@import 'ui-components/jquery-ui';
|
@import 'ui-components/jquery-ui';
|
||||||
@import 'ui-components/context-menu';
|
@import 'ui-components/context-menu';
|
||||||
@import 'ui-components/forms';
|
@import 'ui-components/forms';
|
||||||
|
@@ -1,33 +1,8 @@
|
|||||||
|
|
||||||
/******* ACTIONS **************************************************************/
|
/******* ACTIONS **************************************************************/
|
||||||
|
|
||||||
.toolbutton {
|
|
||||||
float: left;
|
|
||||||
width: 70px;
|
|
||||||
height: 50px;
|
|
||||||
overflow: hidden;
|
|
||||||
margin: 0px;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.toolbuttonimg {
|
/*#TOOL_disktt {
|
||||||
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 {
|
|
||||||
background-image: url('#{$skinsImagesPath}disktt_0.gif');
|
background-image: url('#{$skinsImagesPath}disktt_0.gif');
|
||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
@@ -122,7 +97,7 @@
|
|||||||
background-position: center center;
|
background-position: center center;
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
.contextMenuTrigger {
|
.contextMenuTrigger {
|
||||||
color: $textPrimaryColor;
|
color: $textPrimaryColor;
|
||||||
font-size: $smallFontSize;
|
font-size: $smallFontSize;
|
||||||
|
@@ -1,14 +1,6 @@
|
|||||||
|
|
||||||
/******* GUI ******************************************************************/
|
/******* 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 {
|
.gui_vsplitter,.ui-resizable-e {
|
||||||
top: 50%;
|
top: 50%;
|
||||||
width: 13px;
|
width: 13px;
|
||||||
@@ -75,7 +67,7 @@
|
|||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
float: left;
|
float: left;
|
||||||
background-image: url('#{$skinsImagesPath}ccoch0.gif');
|
background-image: url('#{$iconsPath}ccoch0.gif');
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +77,7 @@
|
|||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
float: left;
|
float: left;
|
||||||
background-image: url('#{$skinsImagesPath}ccoch1.gif');
|
background-image: url('#{$iconsPath}ccoch1.gif');
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -95,6 +87,6 @@
|
|||||||
width: 12px;
|
width: 12px;
|
||||||
height: 12px;
|
height: 12px;
|
||||||
float: left;
|
float: left;
|
||||||
background-image: url('#{$skinsImagesPath}ccoch2.gif');
|
background-image: url('#{$iconsPath}ccoch2.gif');
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
@@ -26,17 +26,20 @@ $modalBackground: $darkerBackgroundColor !default;
|
|||||||
.ui-tabs {
|
.ui-tabs {
|
||||||
.ui-tabs-nav {
|
.ui-tabs-nav {
|
||||||
li {
|
li {
|
||||||
background-color: $lightBackgroundColor; //$tabsNavBg;
|
background-color: lighten($lightBackgroundColor, 5); //$tabsNavBg;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
border: none;
|
border: none;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
a {
|
a {
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
//font-size: 0.8em;
|
//font-size: 0.8em;
|
||||||
|
font-size: $xmediumFontSize;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: $lightTextColor; // more contrasted color
|
color: $mediumTextColor; // more contrasted color
|
||||||
}
|
}
|
||||||
&.ui-tabs-active {
|
&.ui-tabs-active {
|
||||||
|
font-size: $mediumFontSize;
|
||||||
|
color: $lightTextColor;
|
||||||
background-color: $mediumBackgroundColor; //$tabsNavBgActive;
|
background-color: $mediumBackgroundColor; //$tabsNavBgActive;
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% if reloadTree %}
|
{% if reloadTree %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
reloadTree('base:{{ collection.get_sbas_id() }}');
|
AdminApp.LeftView.reloadTree('base:{{ collection.get_sbas_id() }}');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -307,9 +307,9 @@
|
|||||||
success: function(datas) {
|
success: function(datas) {
|
||||||
if(datas.success) {
|
if(datas.success) {
|
||||||
if(submitLink.hasClass('reload')) {
|
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')) {
|
} else if(submitLink.hasClass('reload-tree')) {
|
||||||
reloadTree('bases:bases', true);
|
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ("undefined" !== typeof datas.msg) {
|
if ("undefined" !== typeof datas.msg) {
|
||||||
|
@@ -86,10 +86,12 @@
|
|||||||
$this.prop('disabled',true)
|
$this.prop('disabled',true)
|
||||||
},
|
},
|
||||||
success : function(datas) {
|
success : function(datas) {
|
||||||
|
console.log('reorder success')
|
||||||
var html = _.template($("#alert_"+ (datas.success ? "success" : "error") +"_tpl").html(), {
|
var html = _.template($("#alert_"+ (datas.success ? "success" : "error") +"_tpl").html(), {
|
||||||
content:datas.msg
|
content:datas.msg
|
||||||
});
|
});
|
||||||
$('#notification').html(html);
|
$('#notification').html(html);
|
||||||
|
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||||
},
|
},
|
||||||
complete : function() {
|
complete : function() {
|
||||||
$this.prop('disabled',false)
|
$this.prop('disabled',false)
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% if reloadTree %}
|
{% if reloadTree %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
reloadTree('bases:bases');
|
AdminApp.LeftView.reloadTree('bases:bases');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% if reloadTree %}
|
{% if reloadTree %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
reloadTree('bases:bases');
|
AdminApp.LeftView.reloadTree('bases:bases');
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
@@ -371,9 +371,9 @@
|
|||||||
success: function(datas) {
|
success: function(datas) {
|
||||||
if(datas.success) {
|
if(datas.success) {
|
||||||
if(submitLink.hasClass('reload')) {
|
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')) {
|
} else if(submitLink.hasClass('reload-tree')) {
|
||||||
reloadTree('bases:bases', true);
|
AdminApp.LeftView.reloadTree('bases:bases', true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
alert(datas.msg);
|
alert(datas.msg);
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<div class="clksbas">
|
<div class="clksbas">
|
||||||
<span onclick="deploy(this, '.sbascont_{{sbas_id}}' );" class="deployer_closed" ></span>
|
<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}}"
|
<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}}">
|
<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>{{sbas_id|sbas_labels(app)}}</span>
|
||||||
<span class="infos_sbas_{{sbas_id}}">
|
<span class="infos_sbas_{{sbas_id}}">
|
||||||
|
@@ -29,7 +29,7 @@ define([
|
|||||||
|
|
||||||
var $this = this;
|
var $this = this;
|
||||||
this.eventManager.on("panel:left:success", function(data, click) {
|
this.eventManager.on("panel:left:success", function(data, click) {
|
||||||
$this.render.append(data);
|
$this.render(data);
|
||||||
$this.activeTree();
|
$this.activeTree();
|
||||||
if (click) {
|
if (click) {
|
||||||
$this.clickSelected();
|
$this.clickSelected();
|
||||||
|