Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 1 | <section class="content"> |
| 2 | <div class="container-fluid"> |
| 3 | <div class="row"> |
| 4 | <div class="col-lg-12"> |
| 5 | <div class="view-header"> |
| 6 | <div class="pull-right text-right" style="line-height: 14px"> |
| 7 | <!--<small>UI Elements<br>General<br> <span class="c-white">Grid system</span></small>--> |
| 8 | <a class="btn btn-default" ng-if="!vm.list" href="{{vm.baseUrl}}">Back</a> |
| 9 | </div> |
| 10 | <div class="header-icon"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 11 | <i class="pe page-header-icon pe-7s-note2"></i> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 12 | </div> |
| 13 | <div class="header-title"> |
| 14 | <h3>{{vm.title}}</h3> |
| 15 | <!--<small>--> |
| 16 | <!--Responsive, mobile first fluid grid system.--> |
| 17 | <!--</small>--> |
| 18 | </div> |
| 19 | </div> |
| 20 | <hr> |
| 21 | </div> |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 22 | </div> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 23 | <div ng-if="vm.list"> |
| 24 | <div class="row" ng-show="vm.related.length > 0"> |
| 25 | <div class="view-header"> |
| 26 | <div class="col-lg-4"> |
| 27 | <h4>Related Items: </h4> |
| 28 | </div> |
| 29 | <div class="col-lg-8 text-right"> |
Matteo Scandolo | a8a6fbb | 2016-12-21 16:59:08 -0800 | [diff] [blame] | 30 | <div class="btn-group"> |
| 31 | <a ng-repeat="r in vm.related" href="#/core/{{r.toLowerCase()}}s/" class="btn btn-default"> |
| 32 | {{r}} |
| 33 | </a> |
| 34 | </div> |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 35 | </div> |
| 36 | <hr> |
| 37 | </div> |
| 38 | </div> |
| 39 | <xos-table config="vm.tableCfg" data="vm.tableData"></xos-table> |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 40 | </div> |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 41 | |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 42 | <div ng-if="!vm.list"> |
| 43 | <!--<pre>{{vm.model | json}}</pre>--> |
| 44 | <xos-form ng-model="vm.model" config="vm.formCfg"></xos-form> |
| 45 | </div> |
| 46 | </div> |
| 47 | </section> |