aboutsummaryrefslogtreecommitdiffstats
path: root/moon_gui/static/app/model/action/model-view.tpl.html
blob: 46c295c783a30191e4972b14900059e728a13b06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<div ng-controller="ModelViewController as view" class="modal" tabindex="-1" data-role="modalViewProject">

    <div class="modal-dialog">

        <div class="modal-content">

            <div class="modal-header">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title" data-translate="moon.model.view.title" data-translate-values="{modelName: view.model.name}"></h4>
            </div>
            <div class="modal-body">
                <dl class="dl-horizontal">
                    <dt data-translate="moon.model.view.id">Id</dt>
                    <dd ng-bind="view.model.id"></dd>
                    <dt data-translate="moon.model.view.name">Name</dt>
                    <dd ng-bind="view.model.name"></dd>
                    <dt data-translate="moon.model.view.description">Description</dt>
                    <dd ng-bind="view.model.description"></dd>
                </dl>

                <div ng-if="view.meta_rules_values">
                    <moon-meta-rules-list mapped-model="view.model" edit-mode="false"></moon-meta-rules-list>
                </div>

                <div ng-if="!view.meta_rules_values">
                    <moon-loader></moon-loader>
                </div>

            </div>

            <div class="modal-footer top10">
                <div class="btn-toolbar" style="float: right;">
                    <button ng-click="$hide()" class="btn btn-default" data-translate="moon.model.view.action.close">Close</button>
                </div>
            </div>

        </div>

    </div>

</div>