<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
<?php echo dojo_border ( array ( 'design' => 'headline' , 'liveSplitters' => 'true' ) ) ?> <?php echo dojo_content_pane ( 'The Title' , array ( 'region' => 'top' , 'minSize' => 50 , 'splitter' => 'true' , 'style' => 'height: 50px;' ) ) ?> < h1 > I'm content! < / h1 > < / div > <?php echo dojo_content_pane ( 'Another Pane' , array ( 'region' => 'center' ) ) ?> < h1 > I'm more content! < / h1 > < / div > < / div >
- < div dojotype = "dijit.layout.BorderContainer" design = "headline" liveSplitters = "true" >
- < div dojoType = "dijit.layout.ContentPane" title = "The Title" region = "top" minSize = "50" splitter = "true" style = "height: 50px;" >
- < h1 > I'm content! < / h1 >
- < / div >
- < div dojoType = "dijit.layout.ContentPane" title = "Another Pane" region = "center" >
- < h1 > I'm more content! < / h1 >
- < / div >
- < / div >
- # <project_dir> / apps / <app_name> /config/dojo.yml
- default : # identifier pointing to the main document structure
- theme : # dojo theme box
- name : 'dojo theme' # name of the theme used to display
- css : [ 'css_file' , 'another_css_file' ] # optional element indicating the additional css files required for dojo
- actions : # block of settings of akshinov in which dijit blocks will be used
- all : [ group_name , another_group_name ] # is a required element indicating which blocks will be present in all excs
- action_name : [ group_name ] # dijit groups to be used strictly in a specific action
- dijits : # dijit groups settings block
- group_name : # dijit group name
- block_id : { dojotype : 'desired dojoType' } # bunch of block ID in the template and attributes
- another_block_id : { dojotype : 'desired dojoType' } # bunch of block ID in the template and attributes
- another_group_name : # name of dijit group
- # <project_dir> / apps / <app_name> / modules / <module_name> /config/dojo.yml
- default : # is the same as the main file is used to override the description of the document, optional
- all : # like the default block, the theme control block is missing. the configuration from this block is added to the main one without overriding it.
- < div id = "borderConteiner" >
- < div id = "topPane" title = "The Title" >
- < h1 > I'm content! < / h1 >
- < / div >
- < div id = "centerPane" >
- < h1 > I'm more content! < / h1 >
- < / div >
- < / div >
- default :
- theme : 'tundra'
- actions :
- all : [ 'layout' ]
- dijits :
- layout :
- borderConteiner : { dojoType : 'dijit.layout.BorderContainer' , design : 'headline' , liveSplitters : 'true' }
- topPane : { dojoType : 'dijit.layout.ContentPane' , region : 'top' , minSize : '50' , splitter : 'true' , style : 'height: 50px' }
- centerPane : { dojoType : 'dijit.layout.ContentPane' , region : 'center' , title : 'Another Pane' }
Source: https://habr.com/ru/post/87340/
All Articles