blob: 52e9a514a0c9824ac0c3fd252df358850c20f541 [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">
Matteo Scandoloa8a6fbb2016-12-21 16:59:08 -080011 <i class="pe page-header-icon pe-7s-note2"></i>
Matteo Scandolo266907e2016-12-20 13:41:42 -080012 </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">
Matteo Scandoloa8a6fbb2016-12-21 16:59:08 -080030 <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 Scandolo266907e2016-12-20 13:41:42 -080035 </div>
36 <hr>
37 </div>
38 </div>
39 <xos-table config="vm.tableCfg" data="vm.tableData"></xos-table>
Matteo Scandoloee655a12016-12-19 15:38:43 -080040 </div>
Matteo Scandoloee655a12016-12-19 15:38:43 -080041
Matteo Scandolo266907e2016-12-20 13:41:42 -080042 <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>