blob: 118a6b7b73d5276d1f78feec3b78014ed44fa404 [file] [log] [blame]
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="view-header">
<div class="pull-right text-right" style="line-height: 14px">
<!--<small>UI Elements<br>General<br> <span class="c-white">Grid system</span></small>-->
<a class="btn btn-default" ng-if="!vm.list" href="{{vm.baseUrl}}">Back</a>
</div>
<div class="header-icon">
<i class="pe page-header-icon pe-7s-plugin"></i>
</div>
<div class="header-title">
<h3>{{vm.title}}</h3>
<!--<small>-->
<!--Responsive, mobile first fluid grid system.-->
<!--</small>-->
</div>
</div>
<hr>
</div>
</div>
<div ng-if="vm.list">
<div class="row" ng-show="vm.related.length > 0">
<div class="view-header">
<div class="col-lg-4">
<h4>Related Items: </h4>
</div>
<div class="col-lg-8 text-right">
<a ng-repeat="r in vm.related" href="#/core/{{r.toLowerCase()}}s/" class="btn btn-default">
{{r}}
</a>
</div>
<hr>
</div>
</div>
<xos-table config="vm.tableCfg" data="vm.tableData"></xos-table>
</div>
<div ng-if="!vm.list">
<!--<pre>{{vm.model | json}}</pre>-->
<xos-form ng-model="vm.model" config="vm.formCfg"></xos-form>
</div>
</div>
</section>