Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use ng-include to load panel content
- Loading branch information
Showing
6 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
div.inner-container | ||
div.title-bar(layout="row") | ||
div.title(flex) {{ panel.title }} | ||
div.buttons | ||
div.title(flex, ng-class="{locked: panel.locked}") {{ panel.title }} | ||
div.buttons(ng-if="!panel.locked") | ||
md-button(ng-click="panel.toggleCollapse()") | ||
md-icon(md-svg-icon="expand-panel", ng-show="panel.isCollapsed") | ||
md-icon(md-svg-icon="collapse-panel", ng-show="!panel.isCollapsed") | ||
div.content(ng-transclude="ng-transclude") | ||
div.content(ng-include="panel.template") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| current builds panel content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| overview panel content |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| recent builds panel content |