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"> |
| 11 | <i class="pe page-header-icon pe-7s-plugin"></i> |
| 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"> |
| 30 | <a ng-repeat="r in vm.related" href="#/core/{{r.toLowerCase()}}s/" class="btn btn-default"> |
| 31 | {{r}} |
| 32 | </a> |
| 33 | </div> |
| 34 | <hr> |
| 35 | </div> |
| 36 | </div> |
| 37 | <xos-table config="vm.tableCfg" data="vm.tableData"></xos-table> |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 38 | </div> |
Matteo Scandolo | ee655a1 | 2016-12-19 15:38:43 -0800 | [diff] [blame] | 39 | |
Matteo Scandolo | 266907e | 2016-12-20 13:41:42 -0800 | [diff] [blame] | 40 | <div ng-if="!vm.list"> |
| 41 | <!--<pre>{{vm.model | json}}</pre>--> |
| 42 | <xos-form ng-model="vm.model" config="vm.formCfg"></xos-form> |
| 43 | </div> |
| 44 | </div> |
| 45 | </section> |