b5862f33dc202ea40806ff327745e9067c85e468
[motion-next.git] /
1 <md-dialog class="project-dialog" aria-label="New dialog">
2   <form name="editForm" class="md-inline-form" novalidate>
3     <md-toolbar class="md-accent md-hue-2">
4       <div
5         class="md-toolbar-tools"
6         layout="row"
7         layout-align="space-between center"
8       >
9         <span class="title"
10           ><span translate="CALLYSQUARE.EDIT_XML"></span
11         ></span>
12         <md-button class="md-icon-button" ng-click="vm.closeDialog()">
13           <md-icon
14             md-font-icon="icon-close"
15             aria-label="Close dialog"
16           ></md-icon>
17         </md-button>
18       </div>
19     </md-toolbar>
20     <md-dialog-content ms-scroll>
21       <div class="error-list">
22         <div
23           ng-repeat="error in vm.errors"
24           class="error"
25           layout="row"
26           layout-align="space-between center"
27         >
28           <div>
29             <span class="message">{{error.message}}</span>
30             <span class="type">({{error.type}})</span>
31           </div>
32           <md-button class="md-icon-button">
33             <md-icon
34               md-font-icon="icon-alert-box"
35               aria-label="alert error"
36               class="s16"
37             ></md-icon>
38           </md-button>
39         </div>
40       </div>
41       <md-input-container class="md-block">
42         <label>XML</label>
43         <textarea
44           name="preproduction"
45           ng-model="vm.project.preproduction"
46         ></textarea>
47       </md-input-container>
48       <div class="error-list">
49         <div
50           ng-repeat="error in vm.errors"
51           class="error"
52           layout="row"
53           layout-align="space-between center"
54         >
55           <div>
56             <span class="message">{{error.message}}</span>
57             <span class="type">({{error.type}})</span>
58           </div>
59           <md-button class="md-icon-button">
60             <md-icon
61               md-font-icon="icon-alert-box"
62               aria-label="alert error"
63               class="s16"
64             ></md-icon>
65           </md-button>
66         </div>
67       </div>
68     </md-dialog-content>
69
70     <md-dialog-actions layout="row" layout-align="space-between center">
71       <div layout="row" layout-align="start center">
72         <md-button
73           type="submit"
74           ng-click="vm.closeDialog(true)"
75           class="send-button md-accent md-raised"
76           ng-disabled="editForm.$invalid"
77           aria-label="SAVE"
78           translate="CALLYSQUARE.SAVE"
79           translate-attr-aria-label="CALLYSQUARE.SAVE"
80         >
81           SAVE
82         </md-button>
83       </div>
84     </md-dialog-actions>
85   </form>
86 </md-dialog>