This repository has been archived by the owner on Dec 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Piotr Matysiak
committed
Mar 6, 2018
1 parent
57a9a0c
commit 6788197
Showing
187 changed files
with
4,898 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,240 @@ | ||
body {-moz-osx-font-smoothing: grayscale;} | ||
.dashboard { | ||
padding-top: 5px; | ||
} | ||
.dashboard * { | ||
font-size: 13px; | ||
} | ||
.dashboard h1 { | ||
font-size : 24px; | ||
} | ||
.dashboard li, div#idShowHideSocialBox.sectionBody > div.btn-group.ope > ul.dropdown-menu > li { | ||
list-style : none; | ||
} | ||
.dashrow { | ||
clear : both; | ||
} | ||
.dashboard_header {margin:0; padding-right:0;} | ||
.dashboard_search {padding-right: -16px%;} | ||
|
||
.overflowscroll { | ||
max-height : 270px; | ||
overflow-y : auto!important; | ||
} | ||
div.widget-stage.sectionBody { | ||
margin: 0; | ||
} | ||
div.widget-stage.sectionBody em { | ||
font-style : italic; | ||
} | ||
div.widget-stage.sectionBody strong { | ||
font-weight : bold; | ||
} | ||
.widget-stage .sectionBody ul li a { | ||
display : inline; | ||
font-size : 14px; | ||
font-weight : 700; | ||
padding-left : 0; | ||
text-decoration : none; | ||
} | ||
div.widget-stage.sectionBody li, div.widget-stage.sectionBody li, div.widget-stage.sectionBody ul li { | ||
border-bottom : 1px dotted #dcdcdc; | ||
display : block; | ||
list-style-type : none; | ||
padding : 5px 0 5px 5px; | ||
} | ||
div.widget-stage.sectionBody li span a { | ||
font-size : 13px; | ||
font-weight : bold; | ||
text-decoration: none; | ||
} | ||
.disabled { | ||
background:#c8c8c8; | ||
border-color: #c8c8c8; | ||
} | ||
|
||
a.deleted { | ||
color:#ca2626; | ||
text-decoration: line-through; | ||
} | ||
a.unpublished { | ||
color:#999999; | ||
font-style: italic; | ||
} | ||
[data-toggle="collapse"] {cursor: pointer;} | ||
.hiddenRow { | ||
padding: 0 !important; | ||
border-top:0 !important; | ||
} | ||
.hiddenRow:hover { | ||
background:#FFF; | ||
} | ||
.resource-overview-accordian {padding-bottom:3px;border: 1px solid #ededed; } | ||
.panel-custom > .panel-body {margin-bottom:0; padding-bottom:0;} | ||
#modxrecent_widget > div > div > ul > li:before{ | ||
content:'\f0c8'; | ||
font-family: FontAwesome; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-size:10px; | ||
color: #dbdbdb; | ||
padding: 0 5px 0 5px; | ||
} | ||
#modxrecent_widget > div > div > ul > li:hover{ | ||
background: #fbfbfb; | ||
} | ||
|
||
div.widget-stage.sectionBody ul li a { | ||
margin : 3px 8px 8px 0px; | ||
padding-left : 0px; | ||
} | ||
div.widget-stage.sectionBody ul li i { | ||
margin : 3px 3px 3px 0px; | ||
padding-left : 7px; | ||
} | ||
div.wm_button { | ||
border-radius : 3px; | ||
float : left; | ||
moz-border-radius : 3px; | ||
text-align : center; | ||
webkit-border-radius : 3px; | ||
} | ||
div.wm_buttons > a.hometblink{ | ||
border-radius : 3px; | ||
display : inline-block; | ||
line-height : 64px; | ||
moz-border-radius : 3px; | ||
padding : 10px; | ||
position : relative; | ||
webkit-border-radius : 3px; | ||
|
||
} | ||
div.wm_buttons a { | ||
font-weight : bold; | ||
text-align : center; | ||
|
||
} | ||
div.wm_buttons > a > i { | ||
margin-bottom : 8px; | ||
text-align : center; | ||
color: #666; | ||
} | ||
div.wm_logo { | ||
float : left; | ||
} | ||
.dashSeparator { | ||
border-bottom : 2px solid #f1f1f1; | ||
clear : both; | ||
color : #d7d7d7; | ||
display : block; | ||
float : left; | ||
height : 24px; | ||
margin : 3px 0 8px 0; | ||
padding : -6px 25px; | ||
text-align : center; | ||
width : 100%; | ||
} | ||
.dashSeparator h3 { | ||
font-size : 18px; | ||
margin-bottom : 5px; | ||
} | ||
|
||
.dashboard_header { | ||
margin: 0; | ||
} | ||
|
||
.dashboard_search { | ||
margin-top: 25px; | ||
} | ||
|
||
.panel-heading { | ||
background-color : transparent; | ||
} | ||
.sectionHeader { | ||
cursor : move; | ||
margin : 0; | ||
min-height : 34px; | ||
} | ||
.widget-wrapper { | ||
background : #fff; | ||
border : 1px solid #e2e2e2; | ||
border-radius : 4px; | ||
box-shadow : 1px 1px 2px #ddd; | ||
moz-box-shadow : 1px 1px 2px #ddd; | ||
webkit-box-shadow : 1px 1px 2px #ddd; | ||
} | ||
.widget-wrapper .widget-title { | ||
border-bottom : 1px solid #d7d7d7; | ||
font-size : 14px; | ||
font-weight : 300; | ||
padding : 7px 5px 4px 10px; | ||
} | ||
.widget-wrapper .widget-stage { | ||
overflow : hidden; | ||
padding : 15px; | ||
position : relative; | ||
} | ||
.widget-wrapper .widget-notes { | ||
background : #fbfbfb; | ||
border-top : 1px solid #e2e2e2; | ||
color : #808080; | ||
font-size : 12px; | ||
padding : 8px 10px 5px; | ||
} | ||
i.icon-color-verylight { | ||
color : #dedede; | ||
float : left; | ||
margin-right : 5px; | ||
} | ||
.btn-group a:link { | ||
text-decoration : none; | ||
text-weight : normal; | ||
} | ||
.btn-group .panel-hide { | ||
margin-top : -7px; | ||
padding-top: 3px; | ||
} | ||
|
||
.btn-action { | ||
padding: 1px 1px !important; | ||
width:28px; | ||
} | ||
.btn-expand i{ | ||
color : #afafaf; | ||
} | ||
.btn-expand:hover{ | ||
color : #4d4d4d; | ||
background : #fbfbfb; | ||
} | ||
|
||
table > tbody > tr > td a.btn { | ||
color: #fff;} | ||
.gridster ul, .gridster ol { | ||
list-style : none; | ||
} | ||
.gridster { | ||
display : none; | ||
} | ||
.gridster .panel-headingx { | ||
min-height : 32px; | ||
overflow : hidden; | ||
} | ||
.gridster .panel-body.widget-stage.sectionBody { | ||
height : inherit; | ||
overflow-x : hidden; | ||
overflow-y : auto; | ||
} | ||
.gridster .panel { | ||
height : 100%; | ||
padding-bottom : 60px; | ||
} | ||
.gridster .panel-headingx { | ||
cursor : move; | ||
} | ||
.gridster .preview-holder { | ||
background : rgba(33,255,181,0.08); | ||
border : 1px dashed #000; | ||
border-color : #000; | ||
opacity : 0.3; | ||
position : absolute; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
function fnCreateGridster(page, states){ | ||
/* load saved position and sizes */ | ||
if(localdata_position){ | ||
$.each(localdata_position, function(i,value){ | ||
$('#'+value.id).attr({"data-col":value.col, "data-row":value.row, "data-sizex":value.size_x, "data-sizey":value.size_y}); | ||
}); | ||
} | ||
|
||
|
||
/* force 1 column on mobile screen sizes */ | ||
if ($( window ).width() <= 480){ | ||
var cols=1; | ||
var offset=60; | ||
} else { | ||
var cols=4; | ||
var offset=19; | ||
} | ||
|
||
|
||
/* get the default size for the ratio */ | ||
var base_size=($( window ).width()/cols)-offset; | ||
|
||
|
||
/* start gridster */ | ||
var gridster= $(".gridster > ul").gridster({ | ||
extra_cols: 1, | ||
autogrow_cols: true, | ||
min_cols:4, | ||
max_cols:cols, | ||
widget_margins: [5, 5], | ||
widget_base_dimensions: [base_size, 50], | ||
resize: { | ||
enabled: true, | ||
stop: function(event, ui, widget) { | ||
var positions = JSON.stringify(this.serialize()); | ||
localStorage.setItem(page, positions); | ||
} | ||
}, | ||
serialize_params: function($w, wgd) | ||
{ | ||
return { id: $($w).attr('id'),col: wgd.col, row: wgd.row,size_x: wgd.size_x,size_y: wgd.size_y }; | ||
}, | ||
draggable: | ||
{ | ||
handle: '.panel-headingx, .panel-handel', | ||
stop: function(event, ui) { | ||
var _positions=this.serialize(); | ||
$.each(_positions, function(i,value){ | ||
_state=$('#'+ value.id).attr('data-state'); | ||
if(_state=='min'){ | ||
value.size_y=$('#'+ value.id).attr('data-sizey-old'); | ||
_positions[i]=value; | ||
} | ||
|
||
}); | ||
var positions = JSON.stringify(_positions); | ||
localStorage.setItem(page, positions); | ||
} | ||
} | ||
}).data('gridster'); | ||
|
||
|
||
/* load states */ | ||
if(localdata_states){ | ||
$.each(localdata_states, function(i,value){ | ||
if(value){ | ||
console.log(value); | ||
if(value.state == 'closed'){ | ||
$(".gridster > ul").data('gridster').remove_widget($('#'+value.panel)); | ||
}else if(value.state == false) _state_minimize(value.panel); | ||
} | ||
}); | ||
} | ||
|
||
/* register the minimize button */ | ||
$(document).on("click", ".panel-hide", function(e) { | ||
e.preventDefault(); | ||
var panel = $(this).attr("data-id"); | ||
if($(this).hasClass('fa-minus')){ | ||
_state_minimize(panel); | ||
var _state=false; | ||
|
||
} else { | ||
_state_maxamize(panel); | ||
var _state=true; | ||
} | ||
_state_update(panel, _state); | ||
|
||
}); | ||
|
||
/* helpers */ | ||
|
||
function _state_update(panel, _state){ | ||
var _states = { | ||
panel: panel, | ||
state: _state | ||
}; | ||
|
||
if(localdata_states){ | ||
$.each(localdata_states, function(i,value){ | ||
if(value){ | ||
if(value.panel == panel) localdata_states.splice(i, 1); | ||
} | ||
}); | ||
} else localdata_states=[]; | ||
|
||
localdata_states.push(_states); | ||
localStorage.setItem(states, JSON.stringify(localdata_states)); | ||
} | ||
|
||
function _state_maxamize(panel){ | ||
$('#'+panel +'').attr('data-state', 'max'); | ||
var _oldsize=parseInt($('#'+panel).attr('data-sizey-old')); | ||
$('#'+panel +'').attr('data-sizey', _oldsize); | ||
$(".gridster > ul").data('gridster').resize_widget($('#'+panel),$('#'+panel).attr('data-sizex'),_oldsize); | ||
$('#'+panel +' .panel').css('padding-bottom', '60px'); | ||
$('#'+panel +' .panel-body').slideDown(); | ||
$('#'+panel +' .panel-hide').removeClass('fa-plus').addClass('fa-minus'); | ||
$('#'+panel +' .gs-resize-handle').show(); | ||
$('#'+panel +' .panel-max, #'+panel +' .panel-close').show(); | ||
} | ||
|
||
function _state_minimize(panel){ | ||
$('#'+panel +'').attr('data-state', 'min'); | ||
$('#'+panel).attr('data-sizey-old', $('#'+panel).attr('data-sizey')); | ||
$(".gridster > ul").data('gridster').resize_widget($('#'+panel),$('#'+panel).attr('data-sizex'),1); | ||
$('#'+panel).attr('data-sizey', '1'); | ||
$('#'+panel +' .gs-resize-handle').hide(); | ||
$('#'+panel +' .panel-body').slideUp(); | ||
$('#'+panel +' .panel-hide').removeClass('fa-minus').addClass('fa-plus'); | ||
$('#'+panel +' .panel').css('padding-bottom', '0px'); | ||
$('#'+panel +' .panel-max, #'+panel +' .panel-close').hide(); | ||
} | ||
|
||
function _resize_gridster(){ | ||
gridster.resize_widget_dimensions({ | ||
widget_base_dimensions: [(((base_size*($( window ).width()/base_size))/cols)-offset + 4), 50], | ||
widget_margins: [5, 5], | ||
}); | ||
} | ||
|
||
|
||
/* we're ready for the show */ | ||
$(window).on('resize load',_resize_gridster); | ||
|
||
/* start welcome with fade in fx*/ | ||
setTimeout(function(){ | ||
$('.gridster').fadeIn('fast'); | ||
_resize_gridster(); | ||
}, 400); | ||
|
||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h2>Unauthorized access</h2> | ||
You're not allowed to access file folder |
Oops, something went wrong.