aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_gui/static/app/pdp/edit/pdp-edit.tpl.html
blob: bc4582ce837976082408d30f31cd0166c724150c (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<div class="container">

    <div class="row">
        <h3 class="pull-left" data-translate="moon.pdp.edit.title" data-translate-values="{ pdpName: edit.pdp.name }">Edit</h3>
    </div>

    <div class="row">
        <div class="panel panel-default">

            <div class="panel-heading">

                <h4>
                    <span data-translate="moon.pdp.edit.basic.title" >Basic Information</span>
                    <a href="" ng-click="edit.editBasic = !edit.editBasic">
                        <span data-translate="moon.pdp.edit.update">Update</span>
                        <span class="glyphicon glyphicon-cog"></span>
                    </a>
                </h4>

            </div>

            <div class="panel-body">

                <div ng-if="edit.editBasic">
                    <moon-p-d-p-edit-basic pdp="edit.pdp"></moon-p-d-p-edit-basic>
                </div>

                <div ng-if="!edit.editBasic">
                    <dl class="dl-horizontal">
                        <dt>Id</dt>
                        <dd ng-bind="edit.pdp.id"></dd>
                        <dt>Name</dt>
                        <dd ng-bind="edit.pdp.name"></dd>
                        <dt>Description</dt>
                        <dd ng-bind="edit.pdp.description"></dd>
                    </dl>
                </div>

            </div>

        </div>

        <div class="panel panel-default">

            <div class="panel-heading">

                <h4 data-translate="moon.pdp.edit.policy.title" >Policies</h4>

            </div>

            <moon-policy-mapped-list pdp="edit.pdp"></moon-policy-mapped-list>

        </div>
    </div>

</div>