blob: 118a6b7b73d5276d1f78feec3b78014ed44fa404 [file] [log] [blame]
Matteo Scandolo266907e2016-12-20 13:41:42 -08001<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 Scandoloee655a12016-12-19 15:38:43 -080022 </div>
Matteo Scandolo266907e2016-12-20 13:41:42 -080023 <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 Scandoloee655a12016-12-19 15:38:43 -080038 </div>
Matteo Scandoloee655a12016-12-19 15:38:43 -080039
Matteo Scandolo266907e2016-12-20 13:41:42 -080040 <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>