openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit 73af17c063a19549c7205cfecbb5ce194818b7a2
parent 31e1004e25f710abd5b35f7e44e7157a3511805f
Author: Jan Dankert <develop@jandankert.de>
Date:   Tue,  6 Oct 2020 22:23:11 +0200

Fix: Selecting a link with the selector (this was unusable since the last template refactoring). Searching is implemented, the selector tree must be fixed soon.

Diffstat:
Mmodules/cms/ui/themes/default/html/views/folder/advanced.php | 9++++++++-
Mmodules/cms/ui/themes/default/html/views/link/edit.php | 9++++++++-
Mmodules/cms/ui/themes/default/html/views/pageelement/value.php | 9++++++++-
Mmodules/cms/ui/themes/default/html/views/title/show.php | 4++--
Mmodules/cms/ui/themes/default/html/views/title/show.tpl.src.xml | 4++--
Mmodules/cms/ui/themes/default/html/views/tree/show.php | 2+-
Mmodules/cms/ui/themes/default/html/views/tree/show.tpl.src.xml | 2+-
Mmodules/cms/ui/themes/default/script/openrat.js | 48+++++++++++++++++++++++++++++++++++++++---------
Mmodules/cms/ui/themes/default/script/openrat.min.js | 6+++---
Mmodules/cms/ui/themes/default/script/openrat/common.js | 38++++++++++++++++++++++++++++++++------
Mmodules/cms/ui/themes/default/script/openrat/workbench.js | 2+-
Mmodules/cms/ui/themes/default/script/plugin/jquery-plugin-orSearch.js | 8++++++--
Mmodules/cms/ui/themes/default/style/openrat-header.less | 94++++++++++++++++++++++++++++++++++++++++++-------------------------------------
Mmodules/cms/ui/themes/default/style/openrat-ui.less | 2+-
Mmodules/cms/ui/themes/default/style/openrat.css | 77+++++++++++++++++++++++++++++++++++++++--------------------------------------
Mmodules/cms/ui/themes/default/style/openrat.min.css | 4++--
Mmodules/cms/ui/themes/default/style/theme/openrat-theme.less | 48+++++++++++++++++++++++++-----------------------
Mmodules/template_engine/components/html/selector/Selector.class.php | 39++++++++++++++-------------------------
18 files changed, 242 insertions(+), 163 deletions(-)

diff --git a/modules/cms/ui/themes/default/html/views/folder/advanced.php b/modules/cms/ui/themes/default/html/views/folder/advanced.php @@ -121,7 +121,14 @@ </span> </div> <div class="<?php echo O::escapeHtml('input') ?>"><?php echo O::escapeHtml('') ?> - <?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('selector') ?>"><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('hidden') ?>" name="<?php echo O::escapeHtml('targetobjectid') ?>" value="<?php echo O::escapeHtml(''.@$targetobjectid.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-value') ?>" /><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('text') ?>" name="<?php echo O::escapeHtml('targetobjectid_text') ?>" placeholder="<?php echo O::escapeHtml(''.@$rootfoldername.'') ?>" value="<?php echo O::escapeHtml(''.@$rootfoldername.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-name') ?>" /><?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('dropdown or-act-selector-search-results') ?>"><?php echo O::escapeHtml('') ?> + </div> + <div type="<?php echo O::escapeHtml('hidden') ?>" data-types="<?php echo O::escapeHtml('folder') ?>" data-init-id="<?php echo O::escapeHtml(''.@$rootfolderid.'') ?>" data-init-folderid="<?php echo O::escapeHtml(''.@$rootfolderid.'') ?>" class="<?php echo O::escapeHtml('or-navtree or-act-load-selector-tree') ?>"><?php echo O::escapeHtml('') ?> + </div> + </div> </div> </div> </div> diff --git a/modules/cms/ui/themes/default/html/views/link/edit.php b/modules/cms/ui/themes/default/html/views/link/edit.php @@ -15,7 +15,14 @@ </span> </div> <div class="<?php echo O::escapeHtml('input') ?>"><?php echo O::escapeHtml('') ?> - <?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('selector') ?>"><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('hidden') ?>" name="<?php echo O::escapeHtml('targetobjectid') ?>" value="<?php echo O::escapeHtml(''.@$targetobjectid.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-value') ?>" /><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('text') ?>" name="<?php echo O::escapeHtml('targetobjectid_text') ?>" placeholder="<?php echo O::escapeHtml(''.@$targetobjectname.'') ?>" value="<?php echo O::escapeHtml(''.@$targetobjectname.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-name') ?>" /><?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('dropdown or-act-selector-search-results') ?>"><?php echo O::escapeHtml('') ?> + </div> + <div type="<?php echo O::escapeHtml('hidden') ?>" data-types="<?php echo O::escapeHtml('page,file') ?>" data-init-id="<?php echo O::escapeHtml(''.@$targetobjectid.'') ?>" data-init-folderid="<?php echo O::escapeHtml('parentid') ?>" class="<?php echo O::escapeHtml('or-navtree or-act-load-selector-tree') ?>"><?php echo O::escapeHtml('') ?> + </div> + </div> </div> </div> </div> diff --git a/modules/cms/ui/themes/default/html/views/pageelement/value.php b/modules/cms/ui/themes/default/html/views/pageelement/value.php @@ -199,7 +199,14 @@ </label> </div> <div class="<?php echo O::escapeHtml('input') ?>"><?php echo O::escapeHtml('') ?> - <?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('selector') ?>"><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('hidden') ?>" name="<?php echo O::escapeHtml('linkobjectid') ?>" value="<?php echo O::escapeHtml(''.@$linkobjectid.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-value') ?>" /><?php echo O::escapeHtml('') ?> + <input type="<?php echo O::escapeHtml('text') ?>" name="<?php echo O::escapeHtml('linkobjectid_text') ?>" placeholder="<?php echo O::escapeHtml(''.@$linkname.'') ?>" value="<?php echo O::escapeHtml(''.@$linkname.'') ?>" class="<?php echo O::escapeHtml('or-selector-link-name') ?>" /><?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('dropdown or-act-selector-search-results') ?>"><?php echo O::escapeHtml('') ?> + </div> + <div type="<?php echo O::escapeHtml('hidden') ?>" data-types="<?php echo O::escapeHtml(''.@$types.'') ?>" data-init-id="<?php echo O::escapeHtml(''.@$linkobjectid.'') ?>" data-init-folderid="<?php echo O::escapeHtml(''.@$rootfolderid.'') ?>" class="<?php echo O::escapeHtml('or-navtree or-act-load-selector-tree') ?>"><?php echo O::escapeHtml('') ?> + </div> + </div> </div> </div> <div class="<?php echo O::escapeHtml('line') ?>"><?php echo O::escapeHtml('') ?> diff --git a/modules/cms/ui/themes/default/html/views/title/show.php b/modules/cms/ui/themes/default/html/views/title/show.php @@ -432,8 +432,8 @@ <input name="<?php echo O::escapeHtml('text') ?>" placeholder="<?php echo O::escapeHtml(''.@O::lang('search').'') ?>" type="<?php echo O::escapeHtml('text') ?>" maxlength="<?php echo O::escapeHtml('256') ?>" value="<?php echo O::escapeHtml(''.@$text.'') ?>" class="<?php echo O::escapeHtml('or-input') ?>" /><?php echo O::escapeHtml('') ?> <i class="<?php echo O::escapeHtml('image-icon image-icon--dropdown') ?>"><?php echo O::escapeHtml('') ?> </i> - <div class="<?php echo O::escapeHtml('dropdown') ?>"><?php echo O::escapeHtml('') ?> - <span><?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('dropdown or-act-global-search-results') ?>"><?php echo O::escapeHtml('') ?> + <span class="<?php echo O::escapeHtml('entry') ?>"><?php echo O::escapeHtml('') ?> </span> </div> </div> diff --git a/modules/cms/ui/themes/default/html/views/title/show.tpl.src.xml b/modules/cms/ui/themes/default/html/views/title/show.tpl.src.xml @@ -585,8 +585,8 @@ <image method="search"></image> <input name="text" hint="${message:search}"></input> <image symbol="dropdown"/> - <part class="dropdown"> - <text value=""></text> + <part class="dropdown or-act-global-search-results"> + <text class="entry" value=""></text> </part> </part> </if> diff --git a/modules/cms/ui/themes/default/html/views/tree/show.php b/modules/cms/ui/themes/default/html/views/tree/show.php @@ -1,5 +1,5 @@ <?php defined('APP_STARTED') || die('Forbidden'); use \template_engine\Output as O; ?> - <div class="<?php echo O::escapeHtml('or-navtree') ?>"><?php echo O::escapeHtml('') ?> + <div class="<?php echo O::escapeHtml('or-navtree or-act-load-nav-tree') ?>"><?php echo O::escapeHtml('') ?> </div> <i class="<?php echo O::escapeHtml('image-icon image-icon--arrow-left or-act-nav-small or-btn or-view-flying-button') ?>"><?php echo O::escapeHtml('') ?> </i> diff --git a/modules/cms/ui/themes/default/html/views/tree/show.tpl.src.xml b/modules/cms/ui/themes/default/html/views/tree/show.tpl.src.xml @@ -2,7 +2,7 @@ xsi:schemaLocation="http://www.openrat.de/template ../../../../../../../template_engine/components/template.xsd"> <!-- The tree is displayed by javascript calls --> - <part class="or-navtree" /> + <part class="or-navtree or-act-load-nav-tree" /> <image class="or-act-nav-small, or-btn, or-view-flying-button" symbol="arrow-left" /> <image class="or-act-nav-wide , or-btn, or-view-flying-button" symbol="arrow-right" /> diff --git a/modules/cms/ui/themes/default/script/openrat.js b/modules/cms/ui/themes/default/script/openrat.js @@ -124,7 +124,10 @@ jQuery.fn.orSearch = function( options ) // Create some defaults, extending them with any options that were provided var settings = $.extend( { 'dropdown': $(), // empty element - 'select' : function( obj ) {} + 'select' : function( obj ) {}, + 'afterSelect' : function() {}, + 'action': 'search', + 'method': 'quicksearch' }, options); @@ -137,7 +140,7 @@ jQuery.fn.orSearch = function( options ) { $(dropdownEl).empty(); // Leeren. - $.ajax( { 'type':'GET',url:'./api/?action=search&subaction=quicksearch&output=json&search='+searchArgument, data:null, success:function(data, textStatus, jqXHR) + $.ajax( { 'type':'GET',url:'./api/?action='+settings.action+'&subaction='+settings.method+'&output=json&search='+searchArgument, data:null, success:function(data, textStatus, jqXHR) { for( id in data.output.result ) { @@ -168,6 +171,7 @@ jQuery.fn.orSearch = function( options ) // Register clickhandler for search results. $(dropdownEl).find('.or-search-result').click( function(e) { settings.select( $(this).data('object') ); + settings.afterSelect(); } ); } } ); @@ -2461,7 +2465,7 @@ Openrat.Workbench = new function() if ( $('div#dialog').hasClass('modal') ) return; - $('#dialog .view').removeClass('dirty'); + $('.view.dirty').removeClass('dirty'); $('#dialog .view').html(''); $('#dialog').removeClass('is-open').addClass('is-closed'); // Dialog schließen @@ -2746,7 +2750,7 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(element) { Openrat.Workbench.afterViewLoadedHandler.add( function($element) { - $element.find('.or-navtree').each( function() { + $element.find('.or-act-load-nav-tree').each( function() { let type = $(this).data('type') || 'root'; let loadBranchUrl = './?action=tree&subaction=branch&id=0&type='+type; @@ -2834,8 +2838,9 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { // Selectors (Einzel-Ausahl für Dateien) initialisieren // Wurzel des Baums laden - $(viewEl).find('div.selector.tree').each( function() { + $(viewEl).find('.or-act-load-selector-tree').each( function() { var selectorEl = this; + /* $(this).orTree( { type:'project',selectable:$(selectorEl).attr('data-types').split(','),id:$(selectorEl).attr('data-init-folderid'),onSelect:function(name,type,id) { var selector = $(selectorEl).parent(); @@ -2844,8 +2849,30 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { $(selector).find('input[type=text]' ).attr( 'value',name ); $(selector).find('input[type=hidden]').attr( 'value',id ); } }); + */ + + let id = $(this).data('init-folder-id'); + let type = id?'folder':'projects'; + let loadBranchUrl = './?action=tree&subaction=branch&id='+id+'&type='+type; + let $targetElement = $(this); + + $.get(loadBranchUrl).done( function (html) { + + // Den neuen Unter-Zweig erzeugen. + let $ul = $('<ul class="or-navtree-list" />'); + $ul.appendTo( $targetElement.empty() ).append( html ); + + $ul.find('li').orTree(); // All subnodes are getting event listener for open/close + + // Die Navigationspunkte sind anklickbar, hier wird der Standardmechanismus benutzt. + $ul.find('.clickable').orLinkify(); + + // Open the first node. + $ul.find('.or-navtree-node-control').first().click(); + } ); + } ); - + registerDragAndDrop(viewEl); @@ -2887,7 +2914,7 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { function registerGlobalSearch($element ) { $($element).find('.search input').orSearch( { - dropdown:'#title div.search div.dropdown', + dropdown:'.dropdown.or-act-global-search-results', select: function(obj) { Openrat.Workbench.openNewAction( obj.name, obj.action, obj.id ); } @@ -2898,11 +2925,14 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { function registerSelectorSearch( $element ) { $($element).find('.selector input').orSearch( { - dropdown: '.dropdown', + dropdown: '.dropdown.or-act-selector-search-results', select: function(obj) { $($element).find('.or-selector-link-value').val(obj.id ); $($element).find('.or-selector-link-name' ).val(obj.name).attr('placeholder',obj.name); - } + }, + afterSelect: function() { + $('.dropdown.or-act-selector-search-results').empty(); + } } ); } diff --git a/modules/cms/ui/themes/default/script/openrat.min.js b/modules/cms/ui/themes/default/script/openrat.min.js @@ -113,7 +113,7 @@ else{if(this.containers[s].containerCache.over){this.containers[s]._trigger("out else{c=10000;n=null;h=r.floating||this._isFloating(this.currentItem);p=h?"left":"top";u=h?"width":"height";l=h?"pageX":"pageY";for(o=this.items.length-1;o>=0;o--){if(!t.contains(this.containers[i].element[0],this.items[o].item[0])){continue};if(this.items[o].item[0]===this.currentItem[0]){continue};a=this.items[o].item.offset()[p];f=!1;if(e[l]-a>this.items[o][u]/2){f=!0};if(Math.abs(e[l]-a)<c){c=Math.abs(e[l]-a);n=this.items[o];this.direction=f?"up":"down"}};if(!n&&!this.options.dropOnEmpty){return};if(this.currentContainer===this.containers[i]){if(!this.currentContainer.containerCache.over){this.containers[i]._trigger("over",e,this._uiHash());this.currentContainer.containerCache.over=1};return};n?this._rearrange(e,n,null,!0):this._rearrange(e,null,this.containers[i].element,!0);this._trigger("change",e,this._uiHash());this.containers[i]._trigger("change",e,this._uiHash(this));this.currentContainer=this.containers[i];this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[i]._trigger("over",e,this._uiHash(this));this.containers[i].containerCache.over=1}},_createHelper:function(e){var s=this.options,i=t.isFunction(s.helper)?t(s.helper.apply(this.element[0],[e,this.currentItem])):(s.helper==="clone"?this.currentItem.clone():this.currentItem);if(!i.parents("body").length){t(s.appendTo!=="parent"?s.appendTo:this.currentItem[0].parentNode)[0].appendChild(i[0])};if(i[0]===this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}};if(!i[0].style.width||s.forceHelperSize){i.width(this.currentItem.width())};if(!i[0].style.height||s.forceHelperSize){i.height(this.currentItem.height())};return i},_adjustOffsetFromHelper:function(e){if(typeof e==="string"){e=e.split(" ")};if(t.isArray(e)){e={left:+e[0],top:+e[1]||0}};if("left" in e){this.offset.click.left=e.left+this.margins.left};if("right" in e){this.offset.click.left=this.helperProportions.width-e.right+this.margins.left};if("top" in e){this.offset.click.top=e.top+this.margins.top};if("bottom" in e){this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();if(this.cssPosition==="absolute"&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])){e.left+=this.scrollParent.scrollLeft();e.top+=this.scrollParent.scrollTop()};if(this.offsetParent[0]===this.document[0].body||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==="html"&&t.ui.ie)){e={top:0,left:0}};return{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==="relative"){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}} else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,s,o,i=this.options;if(i.containment==="parent"){i.containment=this.helper[0].parentNode};if(i.containment==="document"||i.containment==="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,i.containment==="document"?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,(i.containment==="document"?(this.document.height()||document.body.parentNode.scrollHeight):this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]};if(!(/^(document|window|parent)$/).test(i.containment)){e=t(i.containment)[0];s=t(i.containment).offset();o=(t(e).css("overflow")!=="hidden");this.containment=[s.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,s.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,s.left+(o?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,s.top+(o?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(e,i){if(!i){i=this.position};var s=e==="absolute"?1:-1,o=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,n=(/(html|body)/i).test(o[0].tagName);return{top:(i.top+this.offset.relative.top*s+this.offset.parent.top*s-((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(n?0:o.scrollTop()))*s)),left:(i.left+this.offset.relative.left*s+this.offset.parent.left*s-((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():n?0:o.scrollLeft())*s))}},_generatePosition:function(e){var s,o,i=this.options,n=e.pageX,r=e.pageY,a=this.cssPosition==="absolute"&&!(this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,h=(/(html|body)/i).test(a[0].tagName);if(this.cssPosition==="relative"&&!(this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()};if(this.originalPosition){if(this.containment){if(e.pageX-this.offset.click.left<this.containment[0]){n=this.containment[0]+this.offset.click.left};if(e.pageY-this.offset.click.top<this.containment[1]){r=this.containment[1]+this.offset.click.top};if(e.pageX-this.offset.click.left>this.containment[2]){n=this.containment[2]+this.offset.click.left};if(e.pageY-this.offset.click.top>this.containment[3]){r=this.containment[3]+this.offset.click.top}};if(i.grid){s=this.originalPageY+Math.round((r-this.originalPageY)/i.grid[1])*i.grid[1];r=this.containment?((s-this.offset.click.top>=this.containment[1]&&s-this.offset.click.top<=this.containment[3])?s:((s-this.offset.click.top>=this.containment[1])?s-i.grid[1]:s+i.grid[1])):s;o=this.originalPageX+Math.round((n-this.originalPageX)/i.grid[0])*i.grid[0];n=this.containment?((o-this.offset.click.left>=this.containment[0]&&o-this.offset.click.left<=this.containment[2])?o:((o-this.offset.click.left>=this.containment[0])?o-i.grid[0]:o+i.grid[0])):o}};return{top:(r-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+((this.cssPosition==="fixed"?-this.scrollParent.scrollTop():(h?0:a.scrollTop())))),left:(n-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+((this.cssPosition==="fixed"?-this.scrollParent.scrollLeft():h?0:a.scrollLeft())))}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],(this.direction==="down"?e.item[0]:e.item[0].nextSibling));this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){if(o===this.counter){this.refreshPositions(!s)}})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length){this.placeholder.before(this.currentItem)};this._noFinalSort=null;if(this.helper[0]===this.currentItem[0]){for(i in this._storedCSS){if(this._storedCSS[i]==="auto"||this._storedCSS[i]==="static"){this._storedCSS[i]=""}};this.currentItem.css(this._storedCSS);this._removeClass(this.currentItem,"ui-sortable-helper")} else{this.currentItem.show()};if(this.fromOutside&&!e){s.push(function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))})};if((this.fromOutside||this.domPosition.prev!==this.currentItem.prev().not(".ui-sortable-helper")[0]||this.domPosition.parent!==this.currentItem.parent()[0])&&!e){s.push(function(t){this._trigger("update",t,this._uiHash())})};if(this!==this.currentContainer){if(!e){s.push(function(t){this._trigger("remove",t,this._uiHash())});s.push((function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}).call(this,this.currentContainer));s.push((function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}).call(this,this.currentContainer))}};function o(t,e,i){return function(s){i._trigger(t,s,e._uiHash(e))}};for(i=this.containers.length-1;i>=0;i--){if(!e){s.push(o("deactivate",this,this.containers[i]))};if(this.containers[i].containerCache.over){s.push(o("out",this,this.containers[i]));this.containers[i].containerCache.over=0}};if(this.storedCursor){this.document.find("body").css("cursor",this.storedCursor);this.storedStylesheet.remove()};if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)};if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex==="auto"?"":this._storedZIndex)};this.dragging=!1;if(!e){this._trigger("beforeStop",t,this._uiHash())};this.placeholder[0].parentNode.removeChild(this.placeholder[0]);if(!this.cancelHelperRemoval){if(this.helper[0]!==this.currentItem[0]){this.helper.remove()};this.helper=null};if(!e){for(i=0;i<s.length;i++){s[i].call(this,t)};this._trigger("stop",t,this._uiHash())};this.fromOutside=!1;return!this.cancelHelperRemoval},_trigger:function(){if(t.Widget.prototype._trigger.apply(this,arguments)===!1){this.cancel()}},_uiHash:function(e){var i=e||this;return{helper:i.helper,placeholder:i.placeholder||t([]),position:i.position,originalPosition:i.originalPosition,offset:i.positionAbs,item:i.currentItem,sender:e?e.element:null}}})})); -;jQuery.fn.orSearch=function(e){var t=$.extend({'dropdown':$(),'select':function(e){}},e);return $(this).on('input',function(){let searchArgument=$(this).val();let dropdownEl=$(t.dropdown);if(searchArgument.length){$(dropdownEl).empty();$.ajax({'type':'GET',url:'./api/?action=search&subaction=quicksearch&output=json&search='+searchArgument,data:null,success:function(e,n,r){for(id in e.output.result){let result=e.output.result[id];let div=$('<div class="entry or-search-result" title="'+result.desc+'"></div>');div.data('object',{'name':result.name,'action':result.type,'id':result.id});let link=$('<a />').attr('href',Openrat.Navigator.createShortUrl(result.type,result.id));link.click(function(e){e.preventDefault()});$(link).append('<i class="image-icon image-icon--action-'+result.type+'" />');$(link).append('<span>'+result.name+'</span>');$(div).append(link);$(dropdownEl).append(div)};$(dropdownEl).closest('.or-menu').addClass('open');$(dropdownEl).find('.or-search-result').click(function(e){t.select($(this).data('object'))})}})} +;jQuery.fn.orSearch=function(e){var t=$.extend({'dropdown':$(),'select':function(e){},'afterSelect':function(){},'action':'search','method':'quicksearch'},e);return $(this).on('input',function(){let searchArgument=$(this).val();let dropdownEl=$(t.dropdown);if(searchArgument.length){$(dropdownEl).empty();$.ajax({'type':'GET',url:'./api/?action='+t.action+'&subaction='+t.method+'&output=json&search='+searchArgument,data:null,success:function(e,n,r){for(id in e.output.result){let result=e.output.result[id];let div=$('<div class="entry or-search-result" title="'+result.desc+'"></div>');div.data('object',{'name':result.name,'action':result.type,'id':result.id});let link=$('<a />').attr('href',Openrat.Navigator.createShortUrl(result.type,result.id));link.click(function(e){e.preventDefault()});$(link).append('<i class="image-icon image-icon--action-'+result.type+'" />');$(link).append('<span>'+result.name+'</span>');$(div).append(link);$(dropdownEl).append(div)};$(dropdownEl).closest('.or-menu').addClass('open');$(dropdownEl).find('.or-search-result').click(function(e){t.select($(this).data('object'));t.afterSelect()})}})} else{$(dropdownEl).empty()}})}; ;jQuery.fn.orLinkify=function(){$(this).find('a').click(function(t){t.preventDefault()});return $(this).click(function(){$(this).find('a').first().each(function(){let type=$(this).attr('data-type');if($(this).parent().hasClass('inactive'))return;switch(type){case'post':$form=$('<form />').attr('method','POST').addClass('invisible');$form.data('afterSuccess',$(this).data('afterSuccess'));let params=jQuery.parseJSON($(this).attr('data-data'));params.output='json';$.each(params,function(t,a){let $input=$('<input />').attr('type','hidden').attr('name',t).attr('value',a);$form.append($input)});let form=new Openrat.Form();form.initOnElement($form);form.submit();break;case'edit':case'dialog':Openrat.Workbench.startDialog($(this).attr('data-name'),$(this).attr('data-action'),$(this).attr('data-method'),$(this).attr('data-id'),$(this).attr('data-extra'));break;case'external':window.open($(this).attr('data-url'),' _blank');break;case'popup':Openrat.Workbench.popupWindow=window.open($(this).attr('data-url'),'Popup','location=no,menubar=no,scrollbars=yes,toolbar=no,resizable=yes');break;case'help':help(this,$(this).attr('data-url'),$(this).attr('data-suffix'));break;case'fullscreen':fullscreen(this);break;case'open':Openrat.Workbench.openNewAction($(this).attr('data-name'),$(this).attr('data-action'),$(this).attr('data-id'));break;default:throw'UI error: Unknown link type: '+type+' in link '+$(this).html()}})})}; ;jQuery.fn.orTree=function(){let registerTreeBranchEvents=function(e){Openrat.Workbench.registerDraggable(e)};$(this).each(function(n,e){$(e).children('.or-navtree-node-control').click(function(){let $node=$(this).parent('.or-navtree-node');if($node.is('.or-navtree-node--is-open')){$node.children('ul').slideUp('fast').remove();$node.removeClass('or-navtree-node--is-open').addClass('or-navtree-node--is-closed').find('.tree-icon').removeClass('image-icon--node-open').addClass('image-icon--node-closed')} @@ -1181,9 +1181,9 @@ else{}});$.each(e['errors'],function(e,t){$('.or-input[name='+t+']').addClass('e else{return undefined}})};this.openModalDialog=function(){if($('#dialog').data('action')){this.startDialog('',$('#dialog').data('action'),$('#dialog').data('action'),0,{})}};this.initializeState=function(){let parts=window.location.hash.split('/');let state={action:'index',id:0};if(parts.length>=2)state.action=parts[1].toLowerCase();if(parts.length>=3)state.id=parts[2].replace(/[^0-9_]/gim,'');Openrat.Workbench.state=state;$('#editor').attr('data-action',state.action);$('#editor').attr('data-id',state.id);$('#editor').attr('data-extra','{}');Openrat.Navigator.toActualHistory(state)};this.initializePingTimer=function(){let ping=function(){let pingPromise=$.getJSON(Openrat.View.createUrl('profile','ping',0,{},!0));pingPromise.fail(function(){console.warn('The server ping has failed.');if($('.view.dirty').length>0){window.alert('The server session is lost, please save your data.')} else{}})};let timeoutMinutes=5;window.setInterval(ping,timeoutMinutes*60*1000)};this.loadNewActionState=function(t){Openrat.Workbench.state=t;Openrat.Workbench.loadNewAction(t.action,t.id,t.data);this.afterNewActionHandler.fire()};this.afterNewActionHandler=$.Callbacks();this.loadNewAction=function(t,e,i){$('#editor').attr('data-action',t);$('#editor').attr('data-id',e);$('#editor').attr('data-extra',JSON.stringify(i));this.reloadViews()};this.reloadViews=function(){$('#workbench section.closed .view-loader').empty();Openrat.Workbench.loadViews($('#workbench section.open .view-loader'))};this.reloadAll=function(){Openrat.Workbench.loadViews($('.view-loader,.view-static').empty());this.loadUserStyle();this.loadLanguage();this.loadUISettings()};this.loadUserStyle=function(){let url=Openrat.View.createUrl('profile','userinfo',0,{},!0);$.getJSON(url,function(t){let style=t.output['style'];Openrat.Workbench.setUserStyle(style);let color=t.output['theme-color'];Openrat.Workbench.setThemeColor(color)})};this.settings={};this.language={};this.loadLanguage=function(){let url=Openrat.View.createUrl('profile','language',0,{},!0);$.getJSON(url,function(t){Openrat.Workbench.language=t.output.language})};this.loadUISettings=function(){let url=Openrat.View.createUrl('profile','uisettings',0,{},!0);$.getJSON(url,function(t){Openrat.Workbench.settings=t.output.settings.settings})};this.loadViews=function(t){t.each(function(t){let $targetDOMElement=$(this);Openrat.Workbench.loadNewActionIntoElement($targetDOMElement)})};this.loadNewActionIntoElement=function(t){let action;if(t.is('.view-static'))action=t.attr('data-action');else action=$('#editor').attr('data-action');let id=$('#editor').attr('data-id');let params=$('#editor').attr('data-extra');let method=t.data('method');let view=new Openrat.View(action,method,id,params);view.start(t)};this.setUserStyle=function(t){var e=$('html'),i=e.attr('class').split(/\s+/);$.each(i,function(t,i){if(i.startsWith('theme-')){e.removeClass(i)}});e.addClass('theme-'+t.toLowerCase())};this.setThemeColor=function(t){$('#theme-color').attr('content',t)};let notifyBrowser=function(t){if(!('Notification' in window)){return} else if(Notification.permission==='granted'){let notification=new Notification(t)} -else if(Notification.permission!=='denied'){Notification.requestPermission(function(e){if(e==='granted'){let notification=new Notification(t)}})}};this.notify=function(e,i,o,a,n,log=[],notifyTheBrowser=!1){if(notifyTheBrowser)notifyBrowser(n);let notice=$('<div class="notice '+a+'"></div>');let toolbar=$('<div class="or-notice-toolbar"></div>');if(log.length)$(toolbar).append('<i class="or-action-full image-icon image-icon--menu-fullscreen"></i>');$(toolbar).append('<i class="or-action-close image-icon image-icon--menu-close"></i>');$(notice).append(toolbar);if(o)$(notice).append('<div class="name clickable"><a href="'+Openrat.Navigator.createShortUrl(e,i)+'" data-type="open" data-action="'+e+'" data-id="'+i+'"><i class="or-action-full image-icon image-icon--action-'+e+'"></i> '+o+'</a></div>');$(notice).append('<div class="text">'+t(n)+'</div>');if(log.length){let logLi=log.reduce((result,item)=>{result+='<li><pre>'+t(item)+'</pre></li>';return result},'');$(notice).append('<div class="log"><ul>'+logLi+'</ul></div>')};$('#noticebar').prepend(notice);$(notice).orLinkify();$(notice).find('.or-action-full').click(function(){$(notice).toggleClass('full')});$(notice).find('.or-action-close').click(function(){$(notice).fadeOut('fast',function(){$(notice).remove()})});let timeout=1;if(a=='ok')timeout=20;if(a=='info')timeout=60;if(a=='warning')timeout=120;if(a=='error')timeout=120;if(timeout>0)setTimeout(function(){$(notice).fadeOut('slow',function(){$(this).remove()})},timeout*1000)};this.dataChangedHandler=$.Callbacks();this.dataChangedHandler.add(function(){if(Openrat.Workbench.popupWindow)Openrat.Workbench.popupWindow.location.reload()});this.afterViewLoadedHandler=$.Callbacks();this.setApplicationTitle=function(t){if(t)$('head > title').text(t+' - '+$('head > title').data('default'));else $('head > title').text($('head > title').data('default'))};var t=function(t){return String(t).replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;')};this.registerOpenClose=function(t){$(t).children('.on-click-open-close').click(function(){$(this).closest('.toggle-open-close').toggleClass('open closed')})};this.openNewAction=function(t,e,i){$('nav').removeClass('or-nav--is-open');Openrat.Workbench.setApplicationTitle(t);Openrat.Navigator.navigateToNew({'action':e,'id':i})};this.startDialog=function(t,e,i,a,o){if(!e)e=$('#editor').attr('data-action');if(!a)a=$('#editor').attr('data-id');let view=new Openrat.View(e,i,a,o);view.before=function(){$('#dialog > .view').html('<div class="header"><img class="icon" title="" src="./themes/default/images/icon/'+i+'.png" />'+t+'</div>');$('#dialog > .view').data('id',a);$('#dialog').removeClass('is-closed').addClass('is-open');let view=this;this.escapeKeyClosingHandler=function(t){if(t.keyCode==27){view.close();$(document).off('keyup')}};$(document).keyup(this.escapeKeyClosingHandler);$('#dialog .filler').click(function(){view.close()})};view.close=function(){if($('div#dialog').hasClass('modal'))return;$('#dialog .view').removeClass('dirty');$('#dialog .view').html('');$('#dialog').removeClass('is-open').addClass('is-closed');$(document).unbind('keyup',this.escapeKeyClosingHandler)};view.start($('div#dialog > .view'))};this.registerDraggable=function(t){$(t).find('.or-draggable').draggable({helper:'clone',opacity:0.7,zIndex:2,distance:10,cursor:'move',revert:'false'})};this.registerDroppable=function(t){$(t).find('.or-droppable').droppable({accept:'.or-draggable',hoverClass:'or-droppable--hover',activeClass:'or-droppable--active',drop:function(t,e){let dropped=e.draggable;let id=dropped.data('id');let name=dropped.data('name');if(!name)name=id;$(this).find('.or-selector-link-value').val(id);$(this).find('.or-selector-link-name').val(name).attr('placeholder',name)}})}}; +else if(Notification.permission!=='denied'){Notification.requestPermission(function(e){if(e==='granted'){let notification=new Notification(t)}})}};this.notify=function(e,i,o,a,n,log=[],notifyTheBrowser=!1){if(notifyTheBrowser)notifyBrowser(n);let notice=$('<div class="notice '+a+'"></div>');let toolbar=$('<div class="or-notice-toolbar"></div>');if(log.length)$(toolbar).append('<i class="or-action-full image-icon image-icon--menu-fullscreen"></i>');$(toolbar).append('<i class="or-action-close image-icon image-icon--menu-close"></i>');$(notice).append(toolbar);if(o)$(notice).append('<div class="name clickable"><a href="'+Openrat.Navigator.createShortUrl(e,i)+'" data-type="open" data-action="'+e+'" data-id="'+i+'"><i class="or-action-full image-icon image-icon--action-'+e+'"></i> '+o+'</a></div>');$(notice).append('<div class="text">'+t(n)+'</div>');if(log.length){let logLi=log.reduce((result,item)=>{result+='<li><pre>'+t(item)+'</pre></li>';return result},'');$(notice).append('<div class="log"><ul>'+logLi+'</ul></div>')};$('#noticebar').prepend(notice);$(notice).orLinkify();$(notice).find('.or-action-full').click(function(){$(notice).toggleClass('full')});$(notice).find('.or-action-close').click(function(){$(notice).fadeOut('fast',function(){$(notice).remove()})});let timeout=1;if(a=='ok')timeout=20;if(a=='info')timeout=60;if(a=='warning')timeout=120;if(a=='error')timeout=120;if(timeout>0)setTimeout(function(){$(notice).fadeOut('slow',function(){$(this).remove()})},timeout*1000)};this.dataChangedHandler=$.Callbacks();this.dataChangedHandler.add(function(){if(Openrat.Workbench.popupWindow)Openrat.Workbench.popupWindow.location.reload()});this.afterViewLoadedHandler=$.Callbacks();this.setApplicationTitle=function(t){if(t)$('head > title').text(t+' - '+$('head > title').data('default'));else $('head > title').text($('head > title').data('default'))};var t=function(t){return String(t).replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;')};this.registerOpenClose=function(t){$(t).children('.on-click-open-close').click(function(){$(this).closest('.toggle-open-close').toggleClass('open closed')})};this.openNewAction=function(t,e,i){$('nav').removeClass('or-nav--is-open');Openrat.Workbench.setApplicationTitle(t);Openrat.Navigator.navigateToNew({'action':e,'id':i})};this.startDialog=function(t,e,i,a,o){if(!e)e=$('#editor').attr('data-action');if(!a)a=$('#editor').attr('data-id');let view=new Openrat.View(e,i,a,o);view.before=function(){$('#dialog > .view').html('<div class="header"><img class="icon" title="" src="./themes/default/images/icon/'+i+'.png" />'+t+'</div>');$('#dialog > .view').data('id',a);$('#dialog').removeClass('is-closed').addClass('is-open');let view=this;this.escapeKeyClosingHandler=function(t){if(t.keyCode==27){view.close();$(document).off('keyup')}};$(document).keyup(this.escapeKeyClosingHandler);$('#dialog .filler').click(function(){view.close()})};view.close=function(){if($('div#dialog').hasClass('modal'))return;$('.view.dirty').removeClass('dirty');$('#dialog .view').html('');$('#dialog').removeClass('is-open').addClass('is-closed');$(document).unbind('keyup',this.escapeKeyClosingHandler)};view.start($('div#dialog > .view'))};this.registerDraggable=function(t){$(t).find('.or-draggable').draggable({helper:'clone',opacity:0.7,zIndex:2,distance:10,cursor:'move',revert:'false'})};this.registerDroppable=function(t){$(t).find('.or-droppable').droppable({accept:'.or-draggable',hoverClass:'or-droppable--hover',activeClass:'or-droppable--active',drop:function(t,e){let dropped=e.draggable;let id=dropped.data('id');let name=dropped.data('name');if(!name)name=id;$(this).find('.or-selector-link-value').val(id);$(this).find('.or-selector-link-name').val(name).attr('placeholder',name)}})}}; ;Openrat.Navigator=new function(){'use strict';this.navigateTo=function(t){Openrat.Workbench.loadNewActionState(t)};this.navigateToNew=function(t){this.navigateTo(t);window.history.pushState(t,t.name,this.createShortUrl(t.action,t.id))};this.toActualHistory=function(t){window.history.replaceState(t,t.name,this.createShortUrl(t.action,t.id))};this.createShortUrl=function(t,i){return'./#/'+t+(i?'/'+i:'')}}; -;$(function(){$('html').removeClass('nojs');$('.initial-hidden').removeClass('initial-hidden');function e(){function e(e){$(e).closest('div.panel').fadeOut('fast',function(){$(this).toggleClass('fullscreen').fadeIn('fast')})};$('div.header').dblclick(function(){e(this)})};e();window.onpopstate=function(e){Openrat.Navigator.navigateTo(e.state)};Openrat.Workbench.initialize();Openrat.Workbench.reloadAll();let registerWorkbenchGlobalEvents=function(){$('.keystroke').each(function(){let keystrokeElement=$(this);let keystroke=keystrokeElement.text();if(keystroke.length==0)return;let keyaction=function(){keystrokeElement.click()};$(document).bind('keydown',keystroke,keyaction)});$('section.toggle-open-close .on-click-open-close').click(function(){var n=$(this).closest('section');if(n.hasClass('disabled'))return;var e=n.find('div.view-loader');if(e.children().length==0)Openrat.Workbench.loadNewActionIntoElement(e)})};$('.or-initial-notice').each(function(){Openrat.Workbench.notify('',0,'','info',$(this).text());$(this).remove()});registerWorkbenchGlobalEvents();let closeMenu=function(){$('body').click(function(){$('.toolbar-icon.menu').parents('.or-menu').removeClass('open')})};closeMenu();Openrat.Workbench.afterNewActionHandler.add(function(){let url=Openrat.View.createUrl('tree','path',Openrat.Workbench.state.id,{'type':Openrat.Workbench.state.action});let loadPromise=$.get(url);loadPromise.done(function(e){$('.or-breadcrumb').empty().append(e).find('.clickable').orLinkify();$('nav .or-navtree-node').removeClass('or-navtree-node--selected');$('.or-breadcrumb a').each(function(){let action=$(this).data('action');let id=$(this).data('id');let $navControl=$('nav .or-navtree-node[data-type='+action+'][data-id='+id+'].or-navtree-node--is-closed .or-navtree-node-control');$navControl.click()})}).fail(function(e){console.warn(e);console.warn('failed to load path from '+url)}).always(function(){})})});let filterMenus=function(){let action=Openrat.Workbench.state.action;let id=Openrat.Workbench.state.id;$('div.clickable').addClass('active');$('div.clickable.filtered').removeClass('active').addClass('inactive');$('div.clickable.filtered.on-action-'+action).addClass('active').removeClass('inactive');$('div.clickable.filtered a').attr('data-id',id)};Openrat.Workbench.afterNewActionHandler.add(function(){filterMenus()});Openrat.Workbench.afterViewLoadedHandler.add(function(e){if(Openrat.Workbench.popupWindow)$(e).find('a[data-type=\'popup\']').each(function(){Openrat.Workbench.popupWindow.location.href=$(this).attr('data-url')})});Openrat.Workbench.afterViewLoadedHandler.add(function(e){e.find('.or-navtree').each(function(){let type=$(this).data('type')||'root';let loadBranchUrl='./?action=tree&subaction=branch&id=0&type='+type;let $targetElement=$(this);$.get(loadBranchUrl).done(function(e){let $ul=$('<ul class="or-navtree-list" />');$ul.appendTo($targetElement.empty()).append(e);$ul.find('li').orTree();$ul.find('.clickable').orLinkify();$ul.find('.or-navtree-node-control').first().click()})})});Openrat.Workbench.afterViewLoadedHandler.add(function(e){var n=$(e).closest('section');n.toggleClass('is-empty',$(e).is(':empty'));if(!$(e).is(':empty'))n.slideDown('fast');else n.slideUp('fast');$(e).closest('div.panel').find('div.header div.dropdown div.entry.perview').remove();$(e).find('.or-act-nav-open-close').click(function(){$('nav').toggleClass('or-nav--is-open')});$(e).find('.or-act-nav-toggle-small').click(function(){$('nav').toggleClass('or-nav--is-small')});$(e).find('.or-act-nav-small').click(function(){$('nav').addClass('or-nav--is-small')});$(e).find('.or-act-nav-wide').click(function(){$('nav').removeClass('or-nav--is-small')});$(e).find('div.headermenu > a').each(function(e,n){});$(e).find('div.header > a.back').each(function(n,t){$(t).removeClass('button').wrap('<div class="entry perview" />').parent().appendTo($(e).closest('div.panel').find('div.header div.dropdown').first())});$(e).find('div.selector.tree').each(function(){var e=this;$(this).orTree({type:'project',selectable:$(e).attr('data-types').split(','),id:$(e).attr('data-init-folderid'),onSelect:function(n,t,a){var o=$(e).parent();$(o).find('input[type=text]').attr('value',n);$(o).find('input[type=hidden]').attr('value',a)}})});t(e);$(e).find('input,select,textarea').change(function(){$(this).closest('.view').addClass('dirty')});$(e).find('.or-theme-chooser').change(function(){Openrat.Workbench.setUserStyle(this.value)});function o(e){$(e).find('.toolbar-icon.menu').click(function(e){e.stopPropagation();$(this).parents('.or-menu').toggleClass('open')});$(e).find('.toolbar-icon.menu').mouseover(function(){$(this).parents('.or-menu').find('.toolbar-icon.menu').removeClass('open');$(this).addClass('open')})};function a(e){$(e).find('.search input').orSearch({dropdown:'#title div.search div.dropdown',select:function(e){Openrat.Workbench.openNewAction(e.name,e.action,e.id)}})};function i(e){$(e).find('.selector input').orSearch({dropdown:'.dropdown',select:function(n){$(e).find('.or-selector-link-value').val(n.id);$(e).find('.or-selector-link-name').val(n.name).attr('placeholder',n.name)}})};function r(e){$(e).find('.or-navtree-node').orTree()};o(e);a(e);i(e);r(e);function t(e){Openrat.Workbench.registerDraggable(e);Openrat.Workbench.registerDroppable(e)};t(e)}); +;$(function(){$('html').removeClass('nojs');$('.initial-hidden').removeClass('initial-hidden');function e(){function e(e){$(e).closest('div.panel').fadeOut('fast',function(){$(this).toggleClass('fullscreen').fadeIn('fast')})};$('div.header').dblclick(function(){e(this)})};e();window.onpopstate=function(e){Openrat.Navigator.navigateTo(e.state)};Openrat.Workbench.initialize();Openrat.Workbench.reloadAll();let registerWorkbenchGlobalEvents=function(){$('.keystroke').each(function(){let keystrokeElement=$(this);let keystroke=keystrokeElement.text();if(keystroke.length==0)return;let keyaction=function(){keystrokeElement.click()};$(document).bind('keydown',keystroke,keyaction)});$('section.toggle-open-close .on-click-open-close').click(function(){var n=$(this).closest('section');if(n.hasClass('disabled'))return;var e=n.find('div.view-loader');if(e.children().length==0)Openrat.Workbench.loadNewActionIntoElement(e)})};$('.or-initial-notice').each(function(){Openrat.Workbench.notify('',0,'','info',$(this).text());$(this).remove()});registerWorkbenchGlobalEvents();let closeMenu=function(){$('body').click(function(){$('.toolbar-icon.menu').parents('.or-menu').removeClass('open')})};closeMenu();Openrat.Workbench.afterNewActionHandler.add(function(){let url=Openrat.View.createUrl('tree','path',Openrat.Workbench.state.id,{'type':Openrat.Workbench.state.action});let loadPromise=$.get(url);loadPromise.done(function(e){$('.or-breadcrumb').empty().append(e).find('.clickable').orLinkify();$('nav .or-navtree-node').removeClass('or-navtree-node--selected');$('.or-breadcrumb a').each(function(){let action=$(this).data('action');let id=$(this).data('id');let $navControl=$('nav .or-navtree-node[data-type='+action+'][data-id='+id+'].or-navtree-node--is-closed .or-navtree-node-control');$navControl.click()})}).fail(function(e){console.warn(e);console.warn('failed to load path from '+url)}).always(function(){})})});let filterMenus=function(){let action=Openrat.Workbench.state.action;let id=Openrat.Workbench.state.id;$('div.clickable').addClass('active');$('div.clickable.filtered').removeClass('active').addClass('inactive');$('div.clickable.filtered.on-action-'+action).addClass('active').removeClass('inactive');$('div.clickable.filtered a').attr('data-id',id)};Openrat.Workbench.afterNewActionHandler.add(function(){filterMenus()});Openrat.Workbench.afterViewLoadedHandler.add(function(e){if(Openrat.Workbench.popupWindow)$(e).find('a[data-type=\'popup\']').each(function(){Openrat.Workbench.popupWindow.location.href=$(this).attr('data-url')})});Openrat.Workbench.afterViewLoadedHandler.add(function(e){e.find('.or-act-load-nav-tree').each(function(){let type=$(this).data('type')||'root';let loadBranchUrl='./?action=tree&subaction=branch&id=0&type='+type;let $targetElement=$(this);$.get(loadBranchUrl).done(function(e){let $ul=$('<ul class="or-navtree-list" />');$ul.appendTo($targetElement.empty()).append(e);$ul.find('li').orTree();$ul.find('.clickable').orLinkify();$ul.find('.or-navtree-node-control').first().click()})})});Openrat.Workbench.afterViewLoadedHandler.add(function(e){var n=$(e).closest('section');n.toggleClass('is-empty',$(e).is(':empty'));if(!$(e).is(':empty'))n.slideDown('fast');else n.slideUp('fast');$(e).closest('div.panel').find('div.header div.dropdown div.entry.perview').remove();$(e).find('.or-act-nav-open-close').click(function(){$('nav').toggleClass('or-nav--is-open')});$(e).find('.or-act-nav-toggle-small').click(function(){$('nav').toggleClass('or-nav--is-small')});$(e).find('.or-act-nav-small').click(function(){$('nav').addClass('or-nav--is-small')});$(e).find('.or-act-nav-wide').click(function(){$('nav').removeClass('or-nav--is-small')});$(e).find('div.headermenu > a').each(function(e,n){});$(e).find('div.header > a.back').each(function(n,t){$(t).removeClass('button').wrap('<div class="entry perview" />').parent().appendTo($(e).closest('div.panel').find('div.header div.dropdown').first())});$(e).find('.or-act-load-selector-tree').each(function(){var e=this;let id=$(this).data('init-folder-id');let type=id?'folder':'projects';let loadBranchUrl='./?action=tree&subaction=branch&id='+id+'&type='+type;let $targetElement=$(this);$.get(loadBranchUrl).done(function(e){let $ul=$('<ul class="or-navtree-list" />');$ul.appendTo($targetElement.empty()).append(e);$ul.find('li').orTree();$ul.find('.clickable').orLinkify();$ul.find('.or-navtree-node-control').first().click()})});t(e);$(e).find('input,select,textarea').change(function(){$(this).closest('.view').addClass('dirty')});$(e).find('.or-theme-chooser').change(function(){Openrat.Workbench.setUserStyle(this.value)});function o(e){$(e).find('.toolbar-icon.menu').click(function(e){e.stopPropagation();$(this).parents('.or-menu').toggleClass('open')});$(e).find('.toolbar-icon.menu').mouseover(function(){$(this).parents('.or-menu').find('.toolbar-icon.menu').removeClass('open');$(this).addClass('open')})};function a(e){$(e).find('.search input').orSearch({dropdown:'.dropdown.or-act-global-search-results',select:function(e){Openrat.Workbench.openNewAction(e.name,e.action,e.id)}})};function i(e){$(e).find('.selector input').orSearch({dropdown:'.dropdown.or-act-selector-search-results',select:function(n){$(e).find('.or-selector-link-value').val(n.id);$(e).find('.or-selector-link-name').val(n.name).attr('placeholder',n.name)},afterSelect:function(){$('.dropdown.or-act-selector-search-results').empty()}})};function r(e){$(e).find('.or-navtree-node').orTree()};o(e);a(e);i(e);r(e);function t(e){Openrat.Workbench.registerDraggable(e);Openrat.Workbench.registerDroppable(e)};t(e)}); ;Openrat.Workbench.afterViewLoadedHandler.add(function(e){$(e).find('textarea').orAutoheight();$(e).find('textarea.editor.code-editor').each(function(){let mode=$(this).data('mode');let mimetype=$(this).data('mimetype');if(mimetype.length>0)mode=mimetype;let textareaEl=this;let editor=CodeMirror.fromTextArea(textareaEl,{lineNumbers:!0,viewportMargin:Infinity,mode:mode});editor.on('change',function(){let newValue=editor.getValue();$(textareaEl).val(newValue)});$(editor.getWrapperElement()).droppable({accept:'.or-draggable',hoverClass:'or-droppable--hover',activeClass:'or-droppable--active',drop:function(e,t){let dropped=t.draggable;let pos=editor.getCursor();editor.setSelection(pos,pos);let insertText=dropped.data('id');let toInsert=''+insertText;editor.replaceSelection(toInsert)}})});$(e).find('textarea.editor.markdown-editor').each(function(){let textarea=this;let toolbar=[{name:'bold',action:SimpleMDE.toggleBold,className:'image-icon image-icon--editor-bold',title:'Bold',},{name:'italic',action:SimpleMDE.toggleItalic,className:'image-icon image-icon--editor-italic',title:'Italic',},{name:'heading',action:SimpleMDE.toggleHeadingBigger,className:'image-icon image-icon--editor-headline',title:'Headline',},'|',{name:'quote',action:SimpleMDE.toggleBlockquote,className:'image-icon image-icon--editor-quote',title:'Quote',},{name:'code',action:SimpleMDE.toggleCodeBlock,className:'image-icon image-icon--editor-code',title:'Code',},'|',{name:'generic list',action:SimpleMDE.toggleUnorderedList,className:'image-icon image-icon--editor-unnumberedlist',title:'Unnumbered list',},{name:'numbered list',action:SimpleMDE.toggleOrderedList,className:'image-icon image-icon--editor-numberedlist',title:'Numbered list',},'|',{name:'table',action:SimpleMDE.drawTable,className:'image-icon image-icon--editor-table',title:'Table',},{name:'horizontalrule',action:SimpleMDE.drawHorizontalRule,className:'image-icon image-icon--editor-horizontalrule',title:'Horizontal rule',},'|',{name:'undo',action:SimpleMDE.undo,className:'image-icon image-icon--editor-undo',title:'Undo',},{name:'redo',action:SimpleMDE.redo,className:'image-icon image-icon--editor-redo',title:'Redo',},'|',{name:'link',action:SimpleMDE.drawLink,className:'image-icon image-icon--editor-link',title:'Link',},{name:'image',action:SimpleMDE.drawImage,className:'image-icon image-icon--editor-image',title:'Image',},'|',{name:'guide',action:'https://simplemde.com/markdown-guide',className:'image-icon image-icon--editor-help',title:'Howto markdown',},];let mde=new SimpleMDE({element:$(this)[0],toolbar:toolbar,autoDownloadFontAwesome:!1});let codemirror=mde.codemirror;$(codemirror.getWrapperElement()).droppable({accept:'.or-draggable',hoverClass:'or-droppable--hover',activeClass:'or-droppable--active',drop:function(e,t){let dropped=t.draggable;let insertText='';let id=dropped.data('id');let url='__OID__'+id+'__';if(dropped.data('type')=='image')insertText='![]('+url+')';else insertText='['+id+']('+url+')';let pos=codemirror.getCursor();codemirror.setSelection(pos,pos);codemirror.replaceSelection(insertText)}});codemirror.on('change',function(){let newValue=codemirror.getValue();$(textarea).val(newValue)})});$(e).find('textarea.editor.html-editor').each(function(){let textarea=this;$.trumbowyg.svgPath='./modules/editor/trumbowyg/ui/icons.svg';$(textarea).trumbowyg();$(textarea).closest('form').find('.trumbowyg-editor').droppable({accept:'.or-draggable',hoverClass:'or-droppable--hover',activeClass:'or-droppable--active',drop:function(e,t){let dropped=t.draggable;let id=dropped.data('id');let url='./?_='+dropped.data('type')+'-'+id+'&subaction=show&embed=1&__OID__'+id+'__='+id;let insertText='';if(dropped.data('type')=='image')insertText='<img src="'+url+'" alt="" />';else insertText='<a href="'+url+'" />'+id+'</a>';$(textarea).trumbowyg('execCmd',{cmd:'insertHTML',param:insertText,forceCss:!1,})}})})}); ;Openrat.Workbench.afterViewLoadedHandler.add(function(e){$(e).find('.clickable').orLinkify()}); ;Openrat.Workbench.afterViewLoadedHandler.add(function(r){$(r).find('.or-qrcode').mouseover(function(){let r=this;if($(r).children().length>0)return;let wrapper=$('<div class="or-info-popup"></div>');$(r).append(wrapper);var e=$(r).attr('data-qrcode');$(wrapper).qrcode({render:'div',text:e,fill:'currentColor'});wrapper.attr('title','')})}); diff --git a/modules/cms/ui/themes/default/script/openrat/common.js b/modules/cms/ui/themes/default/script/openrat/common.js @@ -182,7 +182,7 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(element) { Openrat.Workbench.afterViewLoadedHandler.add( function($element) { - $element.find('.or-navtree').each( function() { + $element.find('.or-act-load-nav-tree').each( function() { let type = $(this).data('type') || 'root'; let loadBranchUrl = './?action=tree&subaction=branch&id=0&type='+type; @@ -270,8 +270,9 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { // Selectors (Einzel-Ausahl für Dateien) initialisieren // Wurzel des Baums laden - $(viewEl).find('div.selector.tree').each( function() { + $(viewEl).find('.or-act-load-selector-tree').each( function() { var selectorEl = this; + /* $(this).orTree( { type:'project',selectable:$(selectorEl).attr('data-types').split(','),id:$(selectorEl).attr('data-init-folderid'),onSelect:function(name,type,id) { var selector = $(selectorEl).parent(); @@ -280,8 +281,30 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { $(selector).find('input[type=text]' ).attr( 'value',name ); $(selector).find('input[type=hidden]').attr( 'value',id ); } }); + */ + + let id = $(this).data('init-folder-id'); + let type = id?'folder':'projects'; + let loadBranchUrl = './?action=tree&subaction=branch&id='+id+'&type='+type; + let $targetElement = $(this); + + $.get(loadBranchUrl).done( function (html) { + + // Den neuen Unter-Zweig erzeugen. + let $ul = $('<ul class="or-navtree-list" />'); + $ul.appendTo( $targetElement.empty() ).append( html ); + + $ul.find('li').orTree(); // All subnodes are getting event listener for open/close + + // Die Navigationspunkte sind anklickbar, hier wird der Standardmechanismus benutzt. + $ul.find('.clickable').orLinkify(); + + // Open the first node. + $ul.find('.or-navtree-node-control').first().click(); + } ); + } ); - + registerDragAndDrop(viewEl); @@ -323,7 +346,7 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { function registerGlobalSearch($element ) { $($element).find('.search input').orSearch( { - dropdown:'#title div.search div.dropdown', + dropdown:'.dropdown.or-act-global-search-results', select: function(obj) { Openrat.Workbench.openNewAction( obj.name, obj.action, obj.id ); } @@ -334,11 +357,14 @@ Openrat.Workbench.afterViewLoadedHandler.add( function(viewEl ) { function registerSelectorSearch( $element ) { $($element).find('.selector input').orSearch( { - dropdown: '.dropdown', + dropdown: '.dropdown.or-act-selector-search-results', select: function(obj) { $($element).find('.or-selector-link-value').val(obj.id ); $($element).find('.or-selector-link-name' ).val(obj.name).attr('placeholder',obj.name); - } + }, + afterSelect: function() { + $('.dropdown.or-act-selector-search-results').empty(); + } } ); } diff --git a/modules/cms/ui/themes/default/script/openrat/workbench.js b/modules/cms/ui/themes/default/script/openrat/workbench.js @@ -496,7 +496,7 @@ Openrat.Workbench = new function() if ( $('div#dialog').hasClass('modal') ) return; - $('#dialog .view').removeClass('dirty'); + $('.view.dirty').removeClass('dirty'); $('#dialog .view').html(''); $('#dialog').removeClass('is-open').addClass('is-closed'); // Dialog schließen diff --git a/modules/cms/ui/themes/default/script/plugin/jquery-plugin-orSearch.js b/modules/cms/ui/themes/default/script/plugin/jquery-plugin-orSearch.js @@ -6,7 +6,10 @@ jQuery.fn.orSearch = function( options ) // Create some defaults, extending them with any options that were provided var settings = $.extend( { 'dropdown': $(), // empty element - 'select' : function( obj ) {} + 'select' : function( obj ) {}, + 'afterSelect' : function() {}, + 'action': 'search', + 'method': 'quicksearch' }, options); @@ -19,7 +22,7 @@ jQuery.fn.orSearch = function( options ) { $(dropdownEl).empty(); // Leeren. - $.ajax( { 'type':'GET',url:'./api/?action=search&subaction=quicksearch&output=json&search='+searchArgument, data:null, success:function(data, textStatus, jqXHR) + $.ajax( { 'type':'GET',url:'./api/?action='+settings.action+'&subaction='+settings.method+'&output=json&search='+searchArgument, data:null, success:function(data, textStatus, jqXHR) { for( id in data.output.result ) { @@ -50,6 +53,7 @@ jQuery.fn.orSearch = function( options ) // Register clickhandler for search results. $(dropdownEl).find('.or-search-result').click( function(e) { settings.select( $(this).data('object') ); + settings.afterSelect(); } ); } } ); diff --git a/modules/cms/ui/themes/default/style/openrat-header.less b/modules/cms/ui/themes/default/style/openrat-header.less @@ -5,6 +5,53 @@ padding: 5px; } + + +.dropdown { + z-index: 120; + min-width: 250px; + position: absolute; + padding: 5px 0px; + + font-style: normal; + font-weight: normal; + text-decoration: none; + + .entry { + padding: 0; + + > a { + display: flex; + align-items: center; + padding: 0 0.5em; + + * { + margin: 0.25em; + } + + span:first-of-type { + flex: 1; /* Menü-Text füllt den Platz auf */ + } + } + + /* Außenabstand Text */ + > .text { + display: block; + margin: 10px; + } + } + + div.divide { + height: 1px; + width: 100%; + margin-top: 5px; + margin-bottom: 5px; + } +} + + + + .or-menu { display: flex; @@ -65,54 +112,13 @@ } } - /* D r o p d o w n - M e n u e s */ - div.dropdown { - z-index: 120; - min-width: 250px; - display: none; - position: absolute; - padding: 5px 0px; - - font-style: normal; - font-weight: normal; - text-decoration: none; - - div.entry { - padding: 0; - - > a { - display: flex; - align-items: center; - padding: 0 0.5em; - - * { - margin: 0.25em; - } - - span:first-of-type { - flex: 1; /* Menü-Text füllt den Platz auf */ - } - } - - /* Außenabstand Text */ - > .text { - display: block; - margin: 10px; - } - } - - div.divide { - height: 1px; - width: 100%; - margin-top: 5px; - margin-bottom: 5px; - } - - } } } + .dropdown { + display: none; + } /* Dropdown anzeigen, wenn Titel geöffnet und wenn mit Maus überstrichen */ &.open { .toolbar-icon.open { diff --git a/modules/cms/ui/themes/default/style/openrat-ui.less b/modules/cms/ui/themes/default/style/openrat-ui.less @@ -537,7 +537,7 @@ dl.notice { div.content pre, -div.dropdown { +.dropdown { min-width: 150px; max-width: 450px; } diff --git a/modules/cms/ui/themes/default/style/openrat.css b/modules/cms/ui/themes/default/style/openrat.css @@ -779,7 +779,7 @@ dl.notice { padding: 15px; } div.content pre, -div.dropdown { +.dropdown { min-width: 150px; max-width: 450px; } @@ -834,13 +834,48 @@ img.image-icon { right: 1em; position: absolute; } -/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22mnt%5C%2Fdata%5C%2Fdankert%5C%2FEntwicklung%5C%2FProjekte%5C%2Fopenrat-cms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-ui.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3B%3BAAIA%3BCACE%3BCACA%3BCACA%3BCACA%2CKAAK%2CMAAM%2CmBAAmB%2CMAAM%2CuBAChC%2CwCAAwC%2COAAO%2CuDAC%5C%2FC%2CwCAAwC%2COAAO%2COAFnD%3B%3B%3B%3B%3BAAMF%3BCACE%2CaAAa%2CiBAAb%3BCACA%3BCACA%3BCACA%2CKAAK%2CMAAM%2CoBAAoB%2CMAAM%2C8BACjC%2CkDAAkD%2COAAO%2CuDACzD%2CiDAAiD%2COAAO%2COAF5D%3B%3B%3B%3BAAKF%3BCACE%2CaAAa%2CgBAAb%3BCACA%3BCACA%3BCACA%2CKAAK%2CMAAM%2CmBACX%2CMAAM%2C8BACF%2CuCAAuC%2COAAO%2CcAC9C%2CsCAAsC%2COAAO%2COAHjD%3B%3BAAMF%3BCACE%2CaAAa%2CgBAAb%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BCAGA%3B%3BAAGA%2CWA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W%2CMAAI%2CKAAI%3BAACnB%2CQAAW%2CMAAI%2CKAAI%3BAACnB%2CQAAW%2CMAAI%2CKAAI%3BCACjB%2CaAAa%2CiDAAb%3B%3BAAGF%2CEAAE%3BCACA%3B%3BAAIF%2CGAAG%2CQAAS%3BAACZ%2CGAAG%3BCACD%3BCACA%3B%3BAAGF%2CGAAG%3BCACD%3B%3B%3BAAIF%3BCACE%3B%3BAAGF%3BCACE%3BCACA%3BCACA%2CgBAAA%3B%3BAAHF%2CYAKI%3BCACA%2CiBAAA%3BCACA%3BCACA%3BCA%5C%2FZF%2CoBAAA%3BCACA%2CyBAAA%3BCACA%2C4BAAA%3BCACA%2C2BAAA%3B%3BAAkaF%3BCAEE%3B%3BAAEA%2CQAAC%2CMACC%3BCACE%3B%3BAANN%2CQAUE%3BCACE%3BCACA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCACA%3BCAvbF%2CoBAAA%3BCACA%2CyBAAA%3BCACA%2C4BAAA%3BCACA%2C2BAAA%3BCAsbE%3BCAEA%3B%3BAAtBJ%2CQAUE%2CeAcI%3BCACA%3B%3BAAMN%3BCACI%3BCACA%3BCACA%3BCACA%22%7D */ +/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22mnt%5C%2Fdata%5C%2Fdankert%5C%2FEntwicklung%5C%2FProjekte%5C%2Fopenrat-cms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-ui.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3B%3BAAIA%3BCACE%3BCACA%3BCACA%3BCACA%2CKAAK%2CMAAM%2CmBAAmB%2CMAAM%2CuBAChC%2CwCAAwC%2COAAO%2CuDAC%5C%2FC%2CwCAAwC%2COAAO%2COAFnD%3B%3B%3B%3B%3BAAMF%3BCACE%2CaAAa%2CiBAAb%3BCACA%3BCACA%3BCACA%2CKAAK%2CMAAM%2CoBAAoB%2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CIAAG%3BCACxC%3B%3BAAGF%2CGAAG%2CQAAW%3BCACZ%3B%3BAAQF%2CIAAK%2CSAAS%3BCACZ%3B%3BAAIF%2CGAAG%2COAAU%3BCACX%3B%3BAAGF%3BCACE%3BCACA%3B%3B%3BAAIF%2CQAAW%2CMAAI%2CMAAK%3BAACpB%2CQAAW%2CMAAI%2CKAAI%3BCACjB%3B%3B%3BAAIF%2CQAAW%2CMAAI%2CMAAK%3BAACpB%2CQAAW%2CMAAI%2CMAAK%3BAACpB%2CQAAW%2CMAAI%2CMAAK%3BAACpB%2CQAAW%2CMAAI%2CKAAI%3BAACnB%2CQAAW%2CMAAI%2CKAAI%3BAACnB%2CQAAW%2CMAAI%2CKAAI%3BCACjB%2CaAAa%2CiDAAb%3B%3BAAGF%2CEAAE%3BCACA%3B%3BAAIF%2CGAAG%2CQAAS%3BAACZ%3BCACE%3BCACA%3B%3BAAGF%2CGAAG%3BCACD%3B%3B%3BAAIF%3BCACE%3B%3BAAGF%3BCACE%3BCACA%3BCACA%2CgBAAA%3B%3BAAHF%2CYAKI%3BCACA%2CiBAAA%3BCACA%3BCACA%3BCA%5C%2FZF%2CoBAAA%3BCACA%2CyBAAA%3BCACA%2C4BAAA%3BCACA%2C2BAAA%3B%3BAAkaF%3BCAEE%3B%3BAAEA%2CQAAC%2CMACC%3BCACE%3B%3BAANN%2CQAUE%3BCACE%3BCACA%3BCACA%3BCACA%3BCACA%3BCAEA%3BCACA%3BCAvbF%2CoBAAA%3BCACA%2CyBAAA%3BCACA%2C4BAAA%3BCACA%2C2BAAA%3BCAsbE%3BCAEA%3B%3BAAtBJ%2CQAUE%2CeAcI%3BCACA%3B%3BAAMN%3BCACI%3BCACA%3BCACA%3BCACA%22%7D */ /* Include style: /mnt/data/dankert/Entwicklung/Projekte/openrat-cms/modules/cms/ui/themes/default/style/openrat-header */ /* H e a d e r */ #title { overflow: hidden; padding: 5px; } +.dropdown { + z-index: 120; + min-width: 250px; + position: absolute; + padding: 5px 0px; + font-style: normal; + font-weight: normal; + text-decoration: none; +} +.dropdown .entry { + padding: 0; + /* Außenabstand Text */ +} +.dropdown .entry > a { + display: flex; + align-items: center; + padding: 0 0.5em; +} +.dropdown .entry > a * { + margin: 0.25em; +} +.dropdown .entry > a span:first-of-type { + flex: 1; + /* Menü-Text füllt den Platz auf */ +} +.dropdown .entry > .text { + display: block; + margin: 10px; +} +.dropdown div.divide { + height: 1px; + width: 100%; + margin-top: 5px; + margin-bottom: 5px; +} .or-menu { display: flex; justify-content: space-between; @@ -868,7 +903,6 @@ img.image-icon { margin-left: 10px; float: left; /* Bestimmte Menüs sind nach rechts ausgerichet */ - /* D r o p d o w n - M e n u e s */ } .or-menu .or-menu-group div.toolbar-icon.user, .or-menu .or-menu-group div.toolbar-icon.search, @@ -891,46 +925,13 @@ img.image-icon { .or-menu .or-menu-group div.toolbar-icon.search input:focus { width: 8em; } -.or-menu .or-menu-group div.toolbar-icon div.dropdown { - z-index: 120; - min-width: 250px; +.or-menu .dropdown { display: none; - position: absolute; - padding: 5px 0px; - font-style: normal; - font-weight: normal; - text-decoration: none; -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry { - padding: 0; - /* Außenabstand Text */ -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a { - display: flex; - align-items: center; - padding: 0 0.5em; -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a * { - margin: 0.25em; -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a span:first-of-type { - flex: 1; - /* Menü-Text füllt den Platz auf */ -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > .text { - display: block; - margin: 10px; -} -.or-menu .or-menu-group div.toolbar-icon div.dropdown div.divide { - height: 1px; - width: 100%; - margin-top: 5px; - margin-bottom: 5px; } .or-menu.open .toolbar-icon.open > div.dropdown { display: block; } -/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22mnt%5C%2Fdata%5C%2Fdankert%5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A%3BCACA%2CgBAAA%3B%3BAA9ExB%2CQAKI%2CeAsBI%2CIAAG%2CaAkCC%2CIAAG%2CSAWC%2CIAAG%2CMAGG%2CIAKE%3BCACI%3B%3BAAjF5B%2CQAKI%2CeAsBI%2CIAAG%2CaAkCC%2CIAAG%2CSAWC%2CIAAG%2CMAGG%2CIASE%2CKAAI%3BCACA%3B%3B%3BAArF5B%2CQAKI%2CeAsBI%2CIAAG%2CaAkCC%2CIAAG%2CSAWC%2CIAAG%2CMAkBG%3BCACE%3BCACA%3B%3BAA5FxB%2CQAKI%2CeAsBI%2CIAAG%2CaAkCC%2CIAAG%2CSAmCC%2CIAAG%3BCACC%3BCACA%3BCACA%3BCACA%3B%3BAAShB%2CQAAC%2CKACG%2CcAAa%2CKACP%2CMAAG%3BCACD%22%7D */ +/*# sourceMappingURL=data:application/json,%7B%22version%22%3A3%2C%22sources%22%3A%5B%22mnt%5C%2Fdata%5C%2Fdankert%5C%2FEntwicklung%5C%2FProjekte%5C%2Fopenrat-cms%5C%2Fmodules%5C%2Fcms%5C%2Fui%5C%2Fthemes%5C%2Fdefault%5C%2Fstyle%5C%2Fopenrat-header.less%22%5D%2C%22names%22%3A%5B%5D%2C%22mappings%22%3A%22%3BAACA%3BCAEI%3BCACA%3B%3BAAKJ%3BCACI%3BCACA%3BCACA%3BCACA%2CgBAAA%3BCAEA%3BCACA%3BCACA%3B%3BAARJ%2CSAUI%3BCACI%3B%3B%3BAAXR%2CSAUI%2COAGM%3BCACE%3BCACA%3BCACA%2CgBAAA%3B%3BAAhBZ%2CSAUI%2COAGM%2CIAKE%3BCACI%3B%3BAAnBhB%2CSAUI%2COAGM%2CIASE%2CKAAI%3BCACA%3B%3B%3BAAvBhB%2CSAUI%2COAkBM%3BCACE%3BCACA%3B%3BAA9BZ%2CSAkCI%2CIAAG%3BCACC%3BCACA%3BCACA%3BCACA%3B%3BAAOR%3BCAEI%3BCACA%3B%3B%3BAAHJ%2CQAKI%3BCACI%3B%3B%3BAAGA%2CQAJJ%2CeAIK%2CeAAe%2CGACZ%2CIAAG%3BCACC%3B%3BAAXhB%2CQAKI%2CeASI%2CEAAC%3BCAEG%3B%3BAAhBZ%2CQAKI%2CeAcI%2CIAAM%2CMAAG%3BCACL%3BCACA%3BCACA%3BCACA%3BCACA%3B%3BAAxBZ%2CQAKI%2CeAsBI%2CIAAG%3BCACC%3BCAEA%3BCACA%3B%3B%3BAAGA%2CQA7BR%2CeAsBI%2CIAAG%2CaAOE%3BAACD%2CQA9BR%2CeAsBI%2CIAAG%2CaAQE%3BAACD%2CQA%5C%2FBR%2CeAsBI%2CIAAG%2CaASE%3BCACG%3BCACA%3BCACA%3B%3BAAGJ%2CQArCR%2CeAsBI%2CIAAG%2CaAeE%3BCACG%3B%3BAAEJ%2CQAxCR%2CeAsBI%2CIAAG%2CaAkBE%2COACG%3BCACI%3BCACA%3BCACA%3BCACA%3BCACA%3BCACA%2CkCAAA%3B%3BAACA%2CQAhDhB%2CeAsBI%2CIAAG%2CaAkBE%2COACG%2CMAOK%3BCACG%3B%3BAAtDxB%2CQAgEI%3BCACI%3B%3BAAGJ%2CQAAC%2CKACG%2CcAAa%2CKACP%2CMAAG%3BCACD%22%7D */ /* Include style: /mnt/data/dankert/Entwicklung/Projekte/openrat-cms/modules/cms/ui/themes/default/style/openrat-form */ /* R e s p o n s i v e f o r m s */ .or-form { diff --git a/modules/cms/ui/themes/default/style/openrat.min.css b/modules/cms/ui/themes/default/style/openrat.min.css @@ -1,6 +1,6 @@ /*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family: 'Oxygen', 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;font-size: 0.9em;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%}body{margin: 0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display: block}audio,canvas,progress,video{display: inline-block;vertical-align: baseline}audio:not([controls]){display: none;height: 0}[hidden],template{display: none}a{background: transparent}a:active,a:hover{outline: 0}abbr[title]{border-bottom: 1px dotted}b,strong{font-weight: bold}dfn{font-style: italic}h1{font-size: 1.2em;margin: .67em 0}mark{background: #ff0;color: #000}small{font-size: 80%}sub,sup{font-size: 75%;line-height: 0;position: relative;vertical-align: baseline}sup{top: -0.5em}sub{bottom: -0.25em}img{border: 0}svg:not(:root){overflow: hidden}figure{margin: 1em 40px}hr{-moz-box-sizing: content-box;box-sizing: content-box;height: 0}pre{overflow: auto}code,kbd,pre,samp{font-family: 'Source Code Pro', monospace, monospace;font-size: 1em}button,input,optgroup,select,textarea{color: inherit;background-color: inherit;font: inherit;margin: 0}button{overflow: visible}button,select{text-transform: none}button,html input[type="button"]{-webkit-appearance: button;cursor: pointer}button[disabled],html input[disabled]{cursor: default}button input::-moz-focus-inner{border: 0;padding: 0}input{line-height: normal}input[type="reset"],input[type="submit"]{-webkit-appearance: button;cursor: pointer}input[type="checkbox"],input[type="radio"]{box-sizing: border-box;padding: 0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height: auto}input[type="search"]{-webkit-appearance: textfield;-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance: none}fieldset{border: 1px solid #c0c0c0;margin: 0 2px;padding: .35em .625em .75em}legend{border: 0;padding: 0}textarea{overflow: auto}optgroup{font-weight: bold}table{border-collapse: collapse;border-spacing: 0}td,th{padding: 0;text-align: left}*,::before,::after{box-sizing: border-box}.initial-hidden{display: none}.sort-value{display: none}legend{font-size: 1.1em;font-weight: bold;padding: 0 .5em} -@font-face{font-family: 'Oxygen';font-style: normal;font-weight: 400;src: local('Oxygen Regular'), local('Oxygen-Regular'), url('../font/oxygen-v7-latin-regular.woff') format('woff2'), url('../font/oxygen-v7-latin-regular.woff') format('woff')}@font-face{font-family: 'Source Code Pro';font-style: normal;font-weight: 400;src: local('Source Code Pro'), local('SourceCodePro-Regular'), url('../font/source-code-pro-v8-latin-regular.woff2') format('woff2'), url('../font/source-code-pro-v8-latin-regular.woff') format('woff')}@font-face{font-family: 'Material Icons';font-style: normal;font-weight: 400;src: local('Material Icons'), local('MaterialIcons-Regular'), url('../font/MaterialIcons-Regular.woff2') format('woff2'), url('../font/MaterialIcons-Regular.woff') format('woff')}.image-icon{font-family: 'Material Icons';font-weight: normal;font-style: normal;display: inline-block;text-transform: none;letter-spacing: normal;word-wrap: normal;white-space: nowrap;direction: ltr;font-feature-settings: 'liga'}.image-icon--action-el_text:after{content: "spellcheck"}.image-icon--action-el_longtext:after{content: "view_headline"}.image-icon--action-el_select:after{content: "list"}.image-icon--action-el_number:after{content: "looks_one"}.image-icon--action-el_link:after{content: "call_made"}.image-icon--action-el_date:after{content: "date_range"}.image-icon--action-el_insert:after{content: "keyboard_return"}.image-icon--action-el_copy:after{content: "flip_to_back"}.image-icon--action-el_linkinfo:after{content: "info"}.image-icon--action-el_linkdate:after{content: "info"}.image-icon--action-el_code:after{content: "code"}.image-icon--action-el_dynamic:after{content: "play_circle_outline"}.image-icon--action-el_info:after{content: "info"}.image-icon--action-el_infodate:after{content: "info"}.image-icon--action-el_checkbox:after{content: "check_box"}.image-icon--action-image:after{content: "image"}.image-icon--action-link:after{content: "call_made"}.image-icon--action-url:after{content: "link"}.image-icon--action-alias:after{content: "bookmark_border"}.image-icon--action-text:after{content: "text_format"}.image-icon--action-page:after{content: "insert_drive_file"}.image-icon--action-file:after{content: "save"}.image-icon--action-modellist:after{content: "device_hub"}.image-icon--action-model:after{content: "device_hub"}.image-icon--action-folder:after{content: "folder_open"}.image-icon--action-languagelist:after{content: "language"}.image-icon--action-language:after{content: "language"}.image-icon--action-template:after{content: "receipt"}.image-icon--action-templatelist:after{content: "receipt"}.image-icon--action-groupllist:after{content: "group"}.image-icon--action-group:after{content: "group"}.image-icon--action-userlist:after{content: "person"}.image-icon--action-user:after{content: "person"}.image-icon--action-profile:after{content: "person_pin"}.image-icon--method-settings:after{content: "settings"}.image-icon--action-configuration:after{content: "settings"}.image-icon--action-projectlist:after{content: "list"}.image-icon--action-project:after{content: "account_balance"}.image-icon--action-macro:after{content: "data_usage"}.image-icon--action-membership{content: "card_membership"}.image-icon--method-password:after{content: "lock"}.image-icon--method-publish:after{content: "cloud_upload"}.image-icon--method-show:after{content: "slideshow"}.image-icon--method-src:after{content: "code"}.image-icon--method-acl:after{content: "https"}.image-icon--method-rights:after{content: "https"}.image-icon--method-archive:after{content: "schedule"}.image-icon--method-mail:after{content: "mail"}.image-icon--method-search:after{content: "search"}.image-icon--method-add:after{content: "add_box"}.image-icon--menu-close:after{content: "close"}.image-icon--menu-fullscreen:after{content: "fullscreen"}.image-icon--menu-edit:after{content: "description"}.image-icon--menu-extra:after{content: "build"}.image-icon--menu-menu:after{content: "menu"}.image-icon--menu-minimize:after{content: "compare_arrows"}.image-icon--menu-qrcode:after{content: "phone_android"}.image-icon--node-open:after{content: "expand_more"}.image-icon--node-closed:after{content: "chevron_right"}.image-icon--dropdown:after{content: "arrow_drop_down"}.image-icon--database:after{content: "storage"}.image-icon--arrow-left:after{content: "chevron_left"}.image-icon--arrow-right:after{content: "chevron_right"}.image-icon--form-ok:after{content: "done"}.image-icon--form-apply:after{content: "done"}.image-icon--form-cancel:after{content: "clear"}.image-icon--editor-bold:after{content: "format_bold"}.image-icon--editor-italic:after{content: "format_italic"}.image-icon--editor-headline:after{content: "format_size"}.image-icon--editor-help:after{content: "help_outline"}.image-icon--editor-fullscreen:after{content: "fullscreen"}.image-icon--editor-quote:after{content: "format_quote"}.image-icon--editor-unnumberedlist:after{content: "format_list_bulleted"}.image-icon--editor-numberedlist:after{content: "format_list_numbered"}.image-icon--editor-preview:after{content: "desktop_windows"}.image-icon--editor-sidebyside:after{content: "flip"}.image-icon--editor-link:after{content: "link"}.image-icon--editor-image:after{content: "image"}.image-icon--editor-undo:after{content: "undo"}.image-icon--editor-redo:after{content: "redo"}.image-icon--editor-code:after{content: "code"}.image-icon--editor-horizontalrule:after{content: "remove"}.image-icon--editor-table:after{content: "view_comfy"}.editor-toolbar{font-size: 1.5em}iframe{width: 100%;height: 500px;display: block}div.breadcrumb,div.breadcrumb a,div.panel > div.title{font-weight: bold}div#noticebar{display: block;position: fixed;bottom: 40px;right: 40px;width: 25em;z-index: 113}div#noticebar div.notice{border: 2px solid #000;padding: 1.1em;margin: 5px;position: relative;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;-webkit-box-shadow: 3px 2px 5px #000;-moz-box-shadow: 3px 2px 5px #000;box-shadow: 3px 2px 5px #000}div#noticebar div.notice .or-notice-toolbar{float: right;margin: 0 .2em;font-size: 2em;color: gray;cursor: pointer}div#noticebar div.notice:hover .or-notice-toolbar{color: black}div#noticebar div.notice.full{display: block;position: fixed;bottom: 10%;top: 10%;right: 10%;left: 10%;width: 80%;z-index: 114}div#noticebar div.notice.error div.text{font-weight: bold}div#noticebar div.notice div.text{font-size: 1.1em}div#noticebar div.notice:after{content: '';position: absolute;right: 0;top: 50%;width: 0;height: 0;border: 1em solid transparent;border-right: 0;margin-top: -1em;margin-right: -1em}div#noticebar div.notice div.log{display: none;position: relative;max-height: 90%;overflow: auto;font-family: 'Source Code Pro', Monospace, Monospaced, Courier}div#noticebar div.notice.full div.log{display: block}div.onrowvisible{visibility: hidden;display: inline}a:link,a:visited{font-weight: normal;text-decoration: none}a:active,a:hover{font-weight: normal;text-decoration: none}img[align=left],img[align=right]{padding-right: 1px;padding-left: 1px}div.logo h2{font-weight: normal;font-size: 24px}div.logo p{font-size: 13px}label,.clickable{cursor: pointer}.or-droppable--active{background-color: #2E8B57 !important;cursor: move}.or-droppable--hover{background-color: #00d95a !important;cursor: move}img.icon{padding: 4px;width: 16px;height: 16px}div.panel ul.views li{vertical-align: middle;padding: 0px;cursor: pointer;border-right: 1px solid #000;-moz-border-radius-topleft: 5px;-webkit-border-radius-topleft: 5px;-khtml-border-top-radius-topleft: 5px;-moz-border-radius-topright: 5px;-webkit-border-radius-topright: 5px;-khtml-border-top-radius-topright: 5px;border-top-right-radius: 5px;display: inline;white-space: nowrap;float: left}div.panel{margin: 0px;padding: 0px}div.panel div.status{padding: 10px}div.panel div.status div.error,div.message.error{background: url(../images/notice_error.png) no-repeat;background-position: 5px 7px}div.panel div.status div.warn,div.message.warn{background: url(../images/notice_warning.png) no-repeat;background-position: 5px 7px}div.panel div.status div.ok,div.message.ok{background: url(../images/notice_ok.png) no-repeat;background-position: 5px 7px}div.panel div.status div.info,div.message.info{background: url(../images/notice_info.png) no-repeat;background-position: 5px 7px}div.panel div.status div,div.message{border: 1px solid #000;padding: 5px 0px 5px 25px;margin: 10px 10px 20px 10px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;border-radius: 5px}#workbench div.panel.fullscreen{display: block;z-index: 109;position: fixed;top: 0;left: 0;background-color: #000;margin: 0px;width: 100% !important;height: 100% !important}#workbench div.panel.fullscreen > div.content{width: 100% !important;height: 100% !important}#workbench div.panel{border: 1px solid #000;margin: 0px;padding: 0px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;border-radius: 5px}#workbench div.container,#workbench div.panel,#workbench div.divider{display: inline;float: left;margin: 0px}#workbench div.panel > div.content{overflow: auto}.invisible{visibility: hidden}.visible{visibility: visible}div.panel{position: relative}div.content div.bottom{height: 55px;width: 100%;position: absolute;padding-right: 40px;bottom: 0px;right: 0px;xvisibility: hidden}div.content div.bottom > div.command{xvisibility: visible;float: right;z-index: 20}div.content form[data-autosave='true'] div.command{display: none}div.content > form{padding-bottom: 45px}main .or-form .or-form-actionbar{display: none}div.search > .or-input{padding-top: 1px}.or-input{padding: 2px;margin: 0px}fieldset > div input.name,fieldset > div span.name{font-weight: bold}fieldset > div input.filename,fieldset > div input.extension,fieldset > div input.ansidate,fieldset > div span.filename,fieldset > div span.extension,fieldset > div span.ansidate{font-family: 'Source Code Pro', Monospace, Monospaced, Courier}dl.notice{padding: 15px}div.content pre,div.dropdown{min-width: 150px;max-width: 450px}img.image-icon{visibility: hidden}.CodeMirror{height: auto}.or-linklist{display: flex;flex-direction: column;padding: 10% 20%}.or-linklist > .or-linklist-line{border: 1px solid;margin-top: 1em;padding: 1em;border-radius: .5em;-moz-border-radius: .5em;-webkit-border-radius: .5em;-khtml-border-radius: .5em}.or-info{position: relative}.or-info:hover .or-info-popup{display: block}.or-info .or-info-popup{display: none;position: absolute;top: 0px;left: 0px;overflow: visible;border: 0.5em;font-size: 2em;border-radius: .3em;-moz-border-radius: .3em;-webkit-border-radius: .3em;-khtml-border-radius: .3em;padding: 1.0em;z-index: 105}.or-info .or-info-popup > div{display: inline-block}.or-view-flying-button{display: block;bottom: 1em;right: 1em;position: absolute} -#title{overflow: hidden;padding: 5px}.or-menu{display: flex;justify-content: space-between}.or-menu .or-menu-group{display: flex}.or-menu .or-menu-group:nth-last-child(1) div.dropdown{right: 10px}.or-menu .or-menu-group i.image-icon{width: 1.1em}.or-menu .or-menu-group div > div.arrow-down{width: 0;height: 0;margin: 6px;padding: 0px;margin-top: 10px}.or-menu .or-menu-group div.toolbar-icon{padding: 2px;margin-left: 10px;float: left}.or-menu .or-menu-group div.toolbar-icon.user,.or-menu .or-menu-group div.toolbar-icon.search,.or-menu .or-menu-group div.toolbar-icon.history{float: right;margin-right: 10px;margin-left: 10px}.or-menu .or-menu-group div.toolbar-icon.menu{cursor: default}.or-menu .or-menu-group div.toolbar-icon.search input{border: 0;margin: 0;padding: 0;width: 3em;display: inline;transition: width .3s ease-in-out}.or-menu .or-menu-group div.toolbar-icon.search input:focus{width: 8em}.or-menu .or-menu-group div.toolbar-icon div.dropdown{z-index: 120;min-width: 250px;display: none;position: absolute;padding: 5px 0px;font-style: normal;font-weight: normal;text-decoration: none}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry{padding: 0}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a{display: flex;align-items: center;padding: 0 .5em}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a *{margin: 0.25em}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > a span:first-of-type{flex: 1}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.entry > .text{display: block;margin: 10px}.or-menu .or-menu-group div.toolbar-icon div.dropdown div.divide{height: 1px;width: 100%;margin-top: 5px;margin-bottom: 5px}.or-menu.open .toolbar-icon.open > div.dropdown{display: block} +@font-face{font-family: 'Oxygen';font-style: normal;font-weight: 400;src: local('Oxygen Regular'), local('Oxygen-Regular'), url('../font/oxygen-v7-latin-regular.woff') format('woff2'), url('../font/oxygen-v7-latin-regular.woff') format('woff')}@font-face{font-family: 'Source Code Pro';font-style: normal;font-weight: 400;src: local('Source Code Pro'), local('SourceCodePro-Regular'), url('../font/source-code-pro-v8-latin-regular.woff2') format('woff2'), url('../font/source-code-pro-v8-latin-regular.woff') format('woff')}@font-face{font-family: 'Material Icons';font-style: normal;font-weight: 400;src: local('Material Icons'), local('MaterialIcons-Regular'), url('../font/MaterialIcons-Regular.woff2') format('woff2'), url('../font/MaterialIcons-Regular.woff') format('woff')}.image-icon{font-family: 'Material Icons';font-weight: normal;font-style: normal;display: inline-block;text-transform: none;letter-spacing: normal;word-wrap: normal;white-space: nowrap;direction: ltr;font-feature-settings: 'liga'}.image-icon--action-el_text:after{content: "spellcheck"}.image-icon--action-el_longtext:after{content: "view_headline"}.image-icon--action-el_select:after{content: "list"}.image-icon--action-el_number:after{content: "looks_one"}.image-icon--action-el_link:after{content: "call_made"}.image-icon--action-el_date:after{content: "date_range"}.image-icon--action-el_insert:after{content: "keyboard_return"}.image-icon--action-el_copy:after{content: "flip_to_back"}.image-icon--action-el_linkinfo:after{content: "info"}.image-icon--action-el_linkdate:after{content: "info"}.image-icon--action-el_code:after{content: "code"}.image-icon--action-el_dynamic:after{content: "play_circle_outline"}.image-icon--action-el_info:after{content: "info"}.image-icon--action-el_infodate:after{content: "info"}.image-icon--action-el_checkbox:after{content: "check_box"}.image-icon--action-image:after{content: "image"}.image-icon--action-link:after{content: "call_made"}.image-icon--action-url:after{content: "link"}.image-icon--action-alias:after{content: "bookmark_border"}.image-icon--action-text:after{content: "text_format"}.image-icon--action-page:after{content: "insert_drive_file"}.image-icon--action-file:after{content: "save"}.image-icon--action-modellist:after{content: "device_hub"}.image-icon--action-model:after{content: "device_hub"}.image-icon--action-folder:after{content: "folder_open"}.image-icon--action-languagelist:after{content: "language"}.image-icon--action-language:after{content: "language"}.image-icon--action-template:after{content: "receipt"}.image-icon--action-templatelist:after{content: "receipt"}.image-icon--action-groupllist:after{content: "group"}.image-icon--action-group:after{content: "group"}.image-icon--action-userlist:after{content: "person"}.image-icon--action-user:after{content: "person"}.image-icon--action-profile:after{content: "person_pin"}.image-icon--method-settings:after{content: "settings"}.image-icon--action-configuration:after{content: "settings"}.image-icon--action-projectlist:after{content: "list"}.image-icon--action-project:after{content: "account_balance"}.image-icon--action-macro:after{content: "data_usage"}.image-icon--action-membership{content: "card_membership"}.image-icon--method-password:after{content: "lock"}.image-icon--method-publish:after{content: "cloud_upload"}.image-icon--method-show:after{content: "slideshow"}.image-icon--method-src:after{content: "code"}.image-icon--method-acl:after{content: "https"}.image-icon--method-rights:after{content: "https"}.image-icon--method-archive:after{content: "schedule"}.image-icon--method-mail:after{content: "mail"}.image-icon--method-search:after{content: "search"}.image-icon--method-add:after{content: "add_box"}.image-icon--menu-close:after{content: "close"}.image-icon--menu-fullscreen:after{content: "fullscreen"}.image-icon--menu-edit:after{content: "description"}.image-icon--menu-extra:after{content: "build"}.image-icon--menu-menu:after{content: "menu"}.image-icon--menu-minimize:after{content: "compare_arrows"}.image-icon--menu-qrcode:after{content: "phone_android"}.image-icon--node-open:after{content: "expand_more"}.image-icon--node-closed:after{content: "chevron_right"}.image-icon--dropdown:after{content: "arrow_drop_down"}.image-icon--database:after{content: "storage"}.image-icon--arrow-left:after{content: "chevron_left"}.image-icon--arrow-right:after{content: "chevron_right"}.image-icon--form-ok:after{content: "done"}.image-icon--form-apply:after{content: "done"}.image-icon--form-cancel:after{content: "clear"}.image-icon--editor-bold:after{content: "format_bold"}.image-icon--editor-italic:after{content: "format_italic"}.image-icon--editor-headline:after{content: "format_size"}.image-icon--editor-help:after{content: "help_outline"}.image-icon--editor-fullscreen:after{content: "fullscreen"}.image-icon--editor-quote:after{content: "format_quote"}.image-icon--editor-unnumberedlist:after{content: "format_list_bulleted"}.image-icon--editor-numberedlist:after{content: "format_list_numbered"}.image-icon--editor-preview:after{content: "desktop_windows"}.image-icon--editor-sidebyside:after{content: "flip"}.image-icon--editor-link:after{content: "link"}.image-icon--editor-image:after{content: "image"}.image-icon--editor-undo:after{content: "undo"}.image-icon--editor-redo:after{content: "redo"}.image-icon--editor-code:after{content: "code"}.image-icon--editor-horizontalrule:after{content: "remove"}.image-icon--editor-table:after{content: "view_comfy"}.editor-toolbar{font-size: 1.5em}iframe{width: 100%;height: 500px;display: block}div.breadcrumb,div.breadcrumb a,div.panel > div.title{font-weight: bold}div#noticebar{display: block;position: fixed;bottom: 40px;right: 40px;width: 25em;z-index: 113}div#noticebar div.notice{border: 2px solid #000;padding: 1.1em;margin: 5px;position: relative;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;-webkit-box-shadow: 3px 2px 5px #000;-moz-box-shadow: 3px 2px 5px #000;box-shadow: 3px 2px 5px #000}div#noticebar div.notice .or-notice-toolbar{float: right;margin: 0 .2em;font-size: 2em;color: gray;cursor: pointer}div#noticebar div.notice:hover .or-notice-toolbar{color: black}div#noticebar div.notice.full{display: block;position: fixed;bottom: 10%;top: 10%;right: 10%;left: 10%;width: 80%;z-index: 114}div#noticebar div.notice.error div.text{font-weight: bold}div#noticebar div.notice div.text{font-size: 1.1em}div#noticebar div.notice:after{content: '';position: absolute;right: 0;top: 50%;width: 0;height: 0;border: 1em solid transparent;border-right: 0;margin-top: -1em;margin-right: -1em}div#noticebar div.notice div.log{display: none;position: relative;max-height: 90%;overflow: auto;font-family: 'Source Code Pro', Monospace, Monospaced, Courier}div#noticebar div.notice.full div.log{display: block}div.onrowvisible{visibility: hidden;display: inline}a:link,a:visited{font-weight: normal;text-decoration: none}a:active,a:hover{font-weight: normal;text-decoration: none}img[align=left],img[align=right]{padding-right: 1px;padding-left: 1px}div.logo h2{font-weight: normal;font-size: 24px}div.logo p{font-size: 13px}label,.clickable{cursor: pointer}.or-droppable--active{background-color: #2E8B57 !important;cursor: move}.or-droppable--hover{background-color: #00d95a !important;cursor: move}img.icon{padding: 4px;width: 16px;height: 16px}div.panel ul.views li{vertical-align: middle;padding: 0px;cursor: pointer;border-right: 1px solid #000;-moz-border-radius-topleft: 5px;-webkit-border-radius-topleft: 5px;-khtml-border-top-radius-topleft: 5px;-moz-border-radius-topright: 5px;-webkit-border-radius-topright: 5px;-khtml-border-top-radius-topright: 5px;border-top-right-radius: 5px;display: inline;white-space: nowrap;float: left}div.panel{margin: 0px;padding: 0px}div.panel div.status{padding: 10px}div.panel div.status div.error,div.message.error{background: url(../images/notice_error.png) no-repeat;background-position: 5px 7px}div.panel div.status div.warn,div.message.warn{background: url(../images/notice_warning.png) no-repeat;background-position: 5px 7px}div.panel div.status div.ok,div.message.ok{background: url(../images/notice_ok.png) no-repeat;background-position: 5px 7px}div.panel div.status div.info,div.message.info{background: url(../images/notice_info.png) no-repeat;background-position: 5px 7px}div.panel div.status div,div.message{border: 1px solid #000;padding: 5px 0px 5px 25px;margin: 10px 10px 20px 10px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;border-radius: 5px}#workbench div.panel.fullscreen{display: block;z-index: 109;position: fixed;top: 0;left: 0;background-color: #000;margin: 0px;width: 100% !important;height: 100% !important}#workbench div.panel.fullscreen > div.content{width: 100% !important;height: 100% !important}#workbench div.panel{border: 1px solid #000;margin: 0px;padding: 0px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px;border-radius: 5px}#workbench div.container,#workbench div.panel,#workbench div.divider{display: inline;float: left;margin: 0px}#workbench div.panel > div.content{overflow: auto}.invisible{visibility: hidden}.visible{visibility: visible}div.panel{position: relative}div.content div.bottom{height: 55px;width: 100%;position: absolute;padding-right: 40px;bottom: 0px;right: 0px;xvisibility: hidden}div.content div.bottom > div.command{xvisibility: visible;float: right;z-index: 20}div.content form[data-autosave='true'] div.command{display: none}div.content > form{padding-bottom: 45px}main .or-form .or-form-actionbar{display: none}div.search > .or-input{padding-top: 1px}.or-input{padding: 2px;margin: 0px}fieldset > div input.name,fieldset > div span.name{font-weight: bold}fieldset > div input.filename,fieldset > div input.extension,fieldset > div input.ansidate,fieldset > div span.filename,fieldset > div span.extension,fieldset > div span.ansidate{font-family: 'Source Code Pro', Monospace, Monospaced, Courier}dl.notice{padding: 15px}div.content pre,.dropdown{min-width: 150px;max-width: 450px}img.image-icon{visibility: hidden}.CodeMirror{height: auto}.or-linklist{display: flex;flex-direction: column;padding: 10% 20%}.or-linklist > .or-linklist-line{border: 1px solid;margin-top: 1em;padding: 1em;border-radius: .5em;-moz-border-radius: .5em;-webkit-border-radius: .5em;-khtml-border-radius: .5em}.or-info{position: relative}.or-info:hover .or-info-popup{display: block}.or-info .or-info-popup{display: none;position: absolute;top: 0px;left: 0px;overflow: visible;border: 0.5em;font-size: 2em;border-radius: .3em;-moz-border-radius: .3em;-webkit-border-radius: .3em;-khtml-border-radius: .3em;padding: 1.0em;z-index: 105}.or-info .or-info-popup > div{display: inline-block}.or-view-flying-button{display: block;bottom: 1em;right: 1em;position: absolute} +#title{overflow: hidden;padding: 5px}.dropdown{z-index: 120;min-width: 250px;position: absolute;padding: 5px 0px;font-style: normal;font-weight: normal;text-decoration: none}.dropdown .entry{padding: 0}.dropdown .entry > a{display: flex;align-items: center;padding: 0 .5em}.dropdown .entry > a *{margin: 0.25em}.dropdown .entry > a span:first-of-type{flex: 1}.dropdown .entry > .text{display: block;margin: 10px}.dropdown div.divide{height: 1px;width: 100%;margin-top: 5px;margin-bottom: 5px}.or-menu{display: flex;justify-content: space-between}.or-menu .or-menu-group{display: flex}.or-menu .or-menu-group:nth-last-child(1) div.dropdown{right: 10px}.or-menu .or-menu-group i.image-icon{width: 1.1em}.or-menu .or-menu-group div > div.arrow-down{width: 0;height: 0;margin: 6px;padding: 0px;margin-top: 10px}.or-menu .or-menu-group div.toolbar-icon{padding: 2px;margin-left: 10px;float: left}.or-menu .or-menu-group div.toolbar-icon.user,.or-menu .or-menu-group div.toolbar-icon.search,.or-menu .or-menu-group div.toolbar-icon.history{float: right;margin-right: 10px;margin-left: 10px}.or-menu .or-menu-group div.toolbar-icon.menu{cursor: default}.or-menu .or-menu-group div.toolbar-icon.search input{border: 0;margin: 0;padding: 0;width: 3em;display: inline;transition: width .3s ease-in-out}.or-menu .or-menu-group div.toolbar-icon.search input:focus{width: 8em}.or-menu .dropdown{display: none}.or-menu.open .toolbar-icon.open > div.dropdown{display: block} .or-form{display: flex;height: 100%;flex-direction: column;padding: 1em}.or-form .or-form-headline{height: 2em}.or-form .or-form-content{flex-grow: 1;overflow-y: auto}.or-form input[type=checkbox] + label,.or-form input[type=radio] + label{width: 80%}.or-form .headline{font-size: 1.8em}.or-form div.inputholder > div.dropdown{width: 70%}.or-form input.submit{padding: 7px;border: 0px;-moz-border-radius: 7px;-webkit-border-radius: 7px;-khtml-border-radius: 7px;border-radius: 7px;margin-left: 20px;cursor: pointer}.or-form input[type=text],.or-form select,.or-form textarea{width: 100%;padding: 12px;border: 1px solid #ccc;border-radius: 4px;box-sizing: border-box;resize: vertical}.or-form label{padding: 12px 12px 12px 0;display: inline-block}.or-form input[type=submit]{color: white;padding: 12px 20px;border: none;border-radius: 4px;cursor: pointer;float: right}.or-form div.label{float: left;width: 25%;margin-top: 6px}.or-form div.input{float: left;width: 75%;margin-top: 6px}.or-form .line:after{content: "";display: table;clear: both}.or-form .or-form-row{display: flex;align-items: center}.or-form .or-form-row .or-form-label{width: 25%}.or-form .or-form-row .or-form-input{width: 75%}.or-form .or-form-actionbar{height: 3em;position: sticky;bottom: 0;left: 0;right: 0;display: flex;justify-content: end;padding: 1em;height: auto}.or-form .or-form-actionbar .or-btn{padding: 1em 2em;margin-left: 1.5em;min-width: 14em}@media only screen and (max-width: 65rem){.or-form div.label,.or-form div.input{width: 100%;margin-top: 0}.or-form .or-form-row{flex-direction: column}.or-form .or-form-row .or-form-label,.or-form .or-form-row .or-form-input{width: 100%}.or-form .or-form-actionbar .or-btn{padding: 1em 1em;min-width: 5em}.or-form .or-form-actionbar .or-act-form-apply{display: none}.or-form .or-form-actionbar .or-btn--secondary{min-width: 0}}.or-btn{padding: .5em .5em;border: 1px solid #000;border-radius: .5em;-moz-border-radius: .5em;-webkit-border-radius: .5em;-khtml-border-radius: .5em;cursor: pointer}.or-btn--primary{font-weight: bold} .or-navtree ul.or-navtree-list{list-style-type: none;margin: 0;padding: 0}.or-navtree ul.or-navtree-list ul{margin-left: 18px}.or-navtree ul.or-navtree-list .or-navtree-node-control{width: 18px;min-width: 18px;height: 18px;float: left;cursor: pointer}.or-navtree ul.or-navtree-list .or-navtree-node{margin: 0;padding: 0;line-height: 18px;font-weight: normal;white-space: nowrap}.or-navtree ul.or-navtree-list .or-navtree-node.or-navtree-node--selected{font-weight: bold}.or-navtree ul.or-navtree-list .or-navtree-node.or-navtree-node--selected > div > a{font-weight: bold} div#dialog > .view{overflow: auto;position: absolute;top: 5%;left: 10%;width: 80%;height: 80%;z-index: 110;border: 1px solid !important}@media only screen and (max-width: 55rem){div#dialog > .view{top: 2.5%;left: 2.5%;width: 95%;height: 95%}}div#dialog.is-closed{display: none;width: 0}div#dialog .filler{position: absolute;z-index: 100;top: 0;left: 0;height: 100%;width: 100%;opacity: 0.5}div#dialog .filler span.icon{opacity: 1;font-size: 3em;font-weight: bold;text-align: center;width: 40px;height: 40px;position: absolute;right: 20px;top: 20px}#editor .dirty{font-weight: bold}.visible-for-nojs{display: none}html.nojs .noscript{display: block}.toggle-open-close{display: flex;flex-direction: column}.toggle-open-close .on-click-open-close{cursor: pointer;font-weight: normal}.toggle-open-close > .closable{transition: opacity .3s ease-out;flex: 1;display: block}.toggle-open-close.closed > .on-click-open-close > .on-closed{display: inline}.toggle-open-close.closed > .on-click-open-close > .on-open{display: none}.toggle-open-close.closed > .closable{opacity: 0;max-height: 0;overflow: hidden}.toggle-open-close.open > .closable{height: auto}.toggle-open-close.open > .on-click-open-close > .on-closed{display: none}.toggle-open-close.open > .on-click-open-close > .on-open{display: inline}html,body{width: 100%;height: 100%}div#workbench{width: 100%;height: 100%;display: flex;flex-direction: column}div#workbench > header{height: 3.0rem}div#workbench > header .toolbar-icon .arrow-down{display: inline}@media only screen and (max-width: 55rem){div#workbench > header .toolbar-icon span.label,div#workbench > header .toolbar-icon .arrow-down{display: none}}div#workbench > .or-main-area{flex: 1;min-height: 0;padding-top: 0.5em}div#workbench > .or-main-area > *{min-width: 0;min-height: 0;overflow-y: auto;overflow-x: hidden;height: 100%}div#workbench > .or-main-area > nav{width: 33%;transition: width .15s ease-in-out;position: fixed;height: calc(100% - 3.0rem - 0.5em)}@media only screen and (max-width: 55rem){div#workbench > .or-main-area > nav{width: 0}}div#workbench > .or-main-area > nav.or-nav--is-small{width: 0}div#workbench > .or-main-area > nav.or-nav--is-small ~ .or-workplace{margin-left: 0}@media only screen and (max-width: 55rem){div#workbench > .or-main-area > nav.or-nav--is-open{overflow-y: auto;width: 95%;border-right: 1px solid;-webkit-box-shadow: 3px 2px 2px #000;-moz-box-shadow: 3px 2px 2px #000;box-shadow: 3px 2px 2px #000;opacity: 0.95}}@media only screen and (min-width: 75rem){div#workbench > .or-main-area > nav{width: 33%;overflow-y: auto}}div#workbench > .or-main-area > nav div.view{height: 100%}div#workbench > .or-main-area header .or-view-icon,div#workbench > .or-main-area header .or-view-headline{margin: 0.3em;display: inline;font-size: 1.2em;line-height: 1.5em}div#workbench > .or-main-area > .or-workplace{margin-left: 33%;transition: margin-left .15s ease-in-out}@media only screen and (max-width: 55rem){div#workbench > .or-main-area > .or-workplace{margin-left: 0}}div#workbench > .or-main-area > .or-workplace > #editor{transition: opacity .5s ease;display: flex;flex-direction: column}div#workbench > .or-main-area > .or-workplace > #editor.is-closed{flex: 0.5;cursor: not-allowed;pointer-events: none}@media only screen and (max-width: 55rem){div#workbench > .or-main-area > .or-workplace > #editor.is-closed{flex: 0}}div#workbench > .or-main-area > .or-workplace > #editor > section{margin: 1.5em;border: 1px solid;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;-khtml-border-radius: 5px}@media only screen and (max-width: 55rem){div#workbench > .or-main-area > .or-workplace > #editor > section{margin: 0.5em}}div#workbench > .or-main-area > .or-workplace > #editor > section .view-toolbar{display: inline}div#workbench > .or-main-area > .or-workplace > #editor > section.closed .view-toolbar{display: none}nav .or-act-nav-small{display: block}nav .or-act-nav-wide{display: none}nav.or-nav--is-small .or-act-nav-small{display: none}nav.or-nav--is-small .or-act-nav-wide{display: block}.or--visible-on-mobile{display: none}@media only screen and (max-width: 55rem){.or--visible-on-mobile{display: inline}}.or--visible-on-desktop{display: inline}@media only screen and (max-width: 55rem){.or--visible-on-desktop{display: none}}#title .toggle-nav-small{display: inline}@media only screen and (max-width: 55rem){#title .toggle-nav-small{display: none}}#title .toggle-nav-open-close{display: none}@media only screen and (max-width: 55rem){#title .toggle-nav-open-close{display: inline}}@media only screen and (max-width: 55rem){#title .toolbar-icon.search input{width: 3em}}.loader{background: url(../images/loader.gif) no-repeat;background-position: center, top;height: 30px;opacity: 0.5;cursor: wait;pointer-events: none}@media only screen and (max-width: 55rem){html{font-size: 1em}}.or-breadcrumb{margin-bottom: 0.1em;margin-left: 1.5em;line-height: 18px;font-weight: normal;white-space: nowrap}.or-breadcrumb *{display: inline;margin-right: 0.3em}.or-breadcrumb .or-breadcrumb-item .image-icon{margin-right: 0.2em} diff --git a/modules/cms/ui/themes/default/style/theme/openrat-theme.less b/modules/cms/ui/themes/default/style/theme/openrat-theme.less @@ -236,40 +236,42 @@ html.theme-@{cms-theme-id} { } } } + } - div.dropdown { - .border-radius(5px); - .box-shadow(3px, 2px, 10px, @cms-title-background-color); - opacity: 0.95; - border: 2px solid @cms-title-background-color; - background-color: @cms-title-text-color; - color: @cms-title-background-color; + .dropdown { + .border-radius(5px); + .box-shadow(3px, 2px, 10px, @cms-title-background-color); + opacity: 0.95; + border: 2px solid @cms-title-background-color; - > div.entry, - > div.entry > a { background-color: @cms-title-text-color; color: @cms-title-background-color; - } - > div.entry.inactive, - > div.entry.inactive > a { - color: mix(@cms-title-background-color, @cms-title-text-color, 40%); - } - > div.entry.active:hover, - > div.entry.active:hover > a { - background-color: @cms-title-background-color; - color: @cms-title-text-color; - } + > div.entry, + > div.entry > a { + background-color: @cms-title-text-color; + color: @cms-title-background-color; + } - > div.divide { - background-color: @cms-title-background-color; - } + > div.entry.inactive, + > div.entry.inactive > a { + color: mix(@cms-title-background-color, @cms-title-text-color, 40%); + } + + > div.entry.active:hover, + > div.entry.active:hover > a { + background-color: @cms-title-background-color; + color: @cms-title-text-color; + } + + > div.divide { + background-color: @cms-title-background-color; + } } - } div.toolbar-icon { border: 1px solid @cms-title-background-color; diff --git a/modules/template_engine/components/html/selector/Selector.class.php b/modules/template_engine/components/html/selector/Selector.class.php @@ -4,6 +4,9 @@ namespace template_engine\components; use template_engine\components\html\Component; use template_engine\element\CMSElement; +use template_engine\element\HtmlElement; +use template_engine\element\Value; +use template_engine\element\ValueExpression; class SelectorComponent extends Component { @@ -20,29 +23,15 @@ class SelectorComponent extends Component public function createElement() { - return new CMSElement(null); + return (new HtmlElement('div'))->addStyleClass('selector')->addChild( + (new HtmlElement('input'))->addAttribute('type','hidden')->addStyleClass('or-selector-link-value')->addAttribute('name',$this->param)->addAttribute('value',Value::createExpression(ValueExpression::TYPE_DATA_VAR,$this->param)) + )->addChild( + (new HtmlElement('input'))->addAttribute('type','text')->addStyleClass('or-selector-link-name')->addAttribute('name',$this->param.'_text')->addAttribute('placeholder',$this->name)->addAttribute('value',$this->name) + )->addChild( + (new HtmlElement('div'))->addStyleClass('dropdown')->addStyleClass('or-act-selector-search-results') + )->addChild( + (new HtmlElement('div'))->addAttribute('type','hidden')->addStyleClass('or-navtree or-act-load-selector-tree')->addAttribute('data-types',$this->types)->addAttribute('data-init-id',$this->id)->addAttribute('data-init-folderid',$this->folderid) + ); } - public function unused____begin() - { - $types = mlvalue($this->types); - $name = $this->htmlvalue($this->name); - $id = $this->htmlvalue($this->id); - $folderid = $this->htmlvalue($this->folderid); - $param = $this->htmlvalue($this->param); - - echo <<<HTML -<div class="selector"> -<div class="inputholder or-droppable"> -<input type="hidden" class="or-selector-link-value" name="{$param}" value="{$id}" /> -<input type="text" class="or-selector-link-name" value="{$name}" placeholder="{$name}" /> -</div> -<div class="dropdown"></div> -<div class="tree selector" data-types="{types}" data-init-id="{$id}" data-init-folderid="{$folderid}"> -</div> -</div> -HTML; - } -} - -?>- \ No newline at end of file +}+ \ No newline at end of file