Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Commit

Permalink
Updated widget hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Hansen committed Sep 23, 2017
1 parent 662ddff commit 3a5afed
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions helpers/edit-app.hl
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ if:x:/@p5.web.widgets.find/*/*?value
*/
eval-x:x:/+/*/.filename|/+/**/micro.widgets.wizard-form/*/*/value|/+/**(/.file-values/*)
create-widget
parent:camphora-main-container
class:row
.filename:x:/@.defaults/*/filename?value
events
Expand Down
13 changes: 11 additions & 2 deletions launch.hl
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,20 @@ if


/*
* Creating main wire-frame for Camphora.
* Creating main content container.
*/
set-widget-property:cnt
create-container-widget:camphora-main-container
class:container





/*
* Creating main wire-frame for Camphora.
*/
create-widget
parent:camphora-main-container
class:row
widgets
div
Expand Down
6 changes: 3 additions & 3 deletions template/launch.hl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@


/*
* Making sure we set the CSS class for our main wrapper widget correctly.
* Creating main content container.
*/
set-widget-property:cnt
create-container-widget:camphora-main-container
class:container


Expand Down Expand Up @@ -433,7 +433,7 @@ if:x:/@p5.web.query.get/*?value
*/
eval-x:x:/+/**(/_app-name)
create-widget
class:container
parent:camphora-main-container
widgets

/*
Expand Down

0 comments on commit 3a5afed

Please sign in to comment.