3 class="page-layout simple left-sidenav inner-sidenav motion-form"
7 class="header md-accent-bg"
9 layout-align="space-between center"
12 <div layout="row" layout-align="start center">
13 <div class="logo" layout="row" layout-align="start center">
14 <span class="logo-icon">
15 <md-icon md-font-icon="icon-cog" class="s24"></md-icon>
17 <span class="logo-text" translate="SETTINGS.CUSTOMIZATIONS"
27 ng-click="vm.saveCustomization()"
28 ng-disabled="(customizationsForm.$pristine && logoForm.$pristine && logologinForm.$pristine && preferredForm.$pristine && faviconForm.$pristine) || (customizationsForm.$invalid || logoForm.$invalid || logologinForm.$invalid || preferredForm.$invalid || faviconForm.$invalid)"
29 class="send-button md-accent md-raised"
30 translate="SETTINGS.SAVE"
31 translate-attr-aria-label="SETTINGS.SAVE"
39 <div class="content" md-background-bg layout="row" layout-align="start start">
41 <div class="main scrollable" ms-scroll>
43 class="customization-detail-form-container customizations motion-form__detail-form-container md-background-bg md-whiteframe-1dp"
45 <div class="pb-16" layout="row" layout-align="start center">
46 <div class="h2 secondary-text" translate="SETTINGS.CUSTOMIZATIONS">
50 <form name="customizationsForm" novalidate>
51 <md-input-container class="md-block">
53 ng-model="vm.customization.defaultLogo"
54 aria-label="Default_Logo"
55 ><span translate="SETTINGS.DEFAULT_LOGO"
60 <md-input-container class="md-block">
62 ng-model="vm.customization.defaultLoginLogo"
63 aria-label="Default_Login_Logo"
64 ><span translate="SETTINGS.DEFAULT_LOGIN_LOGO"
65 >Default_Login_Logo</span
69 <md-input-container class="md-block">
71 ng-model="vm.customization.defaultFavicon"
72 aria-label="Default_Favicon"
73 ><span translate="SETTINGS.DEFAULT_FAVICON"
74 >Default_Favicon</span
78 <md-input-container class="md-block">
80 ng-model="vm.customization.defaultHeaderWhiteLabel"
81 aria-label="Default_Header_WhiteLabel"
82 ><span translate="SETTINGS.DEFAULT_HEADER_WHITELABEL"
83 >Default_Header_WhiteLabel</span
88 ng-if="!vm.customization.defaultHeaderWhiteLabel"
91 <label translate="SETTINGS.HEADER_WHITELABEL"
92 >Header_WhiteLabel</label
96 name="headerWhiteLabel"
97 ng-model="vm.customization.headerWhiteLabel"
102 ng-messages="customizationsForm['headerWhiteLabel'].$error"
103 ng-show="customizationsForm['headerWhiteLabel'].$touched"
106 <div ng-message="required">
107 <span translate="SETTINGS.ERRORS.HEADER_WHITELABEL_REQUIRED"
108 >Header_WhiteLabel field is required</span
112 </md-input-container>
113 <md-input-container class="md-block">
115 ng-model="vm.customization.defaultPageTitle"
116 aria-label="Default_Page_Title"
117 ><span translate="SETTINGS.DEFAULT_PAGE_TITLE"
118 >Default_Page_Title</span
121 </md-input-container>
123 ng-if="!vm.customization.defaultPageTitle"
126 <label translate="SETTINGS.PAGE_TITLE">Page_Title</label>
130 ng-model="vm.customization.pageTitle"
135 ng-messages="customizationsForm['pageTitle'].$error"
136 ng-show="customizationsForm['pageTitle'].$touched"
139 <div ng-message="required">
140 <span translate="SETTINGS.ERRORS.PAGE_TITLE_REQUIRED"
141 >Page_Title field is required</span
145 </md-input-container>
146 <md-input-container ng-if="vm.license.preferred" class="md-block">
148 ng-model="vm.customization.defaultPreferred"
149 aria-label="Default_Preferred"
150 ><span translate="SETTINGS.DEFAULT_PREFERRED"
151 >Default_Preferred</span
154 </md-input-container>
159 ng-if="!vm.customization.defaultLogo"
160 class="customization-detail-form-container logo motion-form__detail-form-container md-background-bg md-whiteframe-1dp"
162 <div class="pb-16" layout="row" layout-align="start center">
163 <div class="h2 secondary-text" translate="SETTINGS.LOGO">LOGO</div>
166 ng-controller="CustomizationlogoController as vm_cl"
167 ng-init="vm_cl.init(vm.customization)"
168 class="customization-detail-form-container md-background-bg md-whiteframe-1dp"
171 id="customization-image-uploader motion-card-view__image-uploader"
172 flow-init="vm_cl.ngFlowOptions"
173 flow-name="vm_cl.ngFlow.flow"
174 flow-files-submitted="vm_cl.upload()"
175 flow-file-added="vm_cl.fileAdded($file)"
176 flow-file-success="vm_cl.fileSuccess($file, $message)"
177 flow-complete="vm_cl.uploadComplete()"
179 flow-drag-enter="vm_cl.dropping=true"
180 flow-drag-leave="vm_cl.dropping=false"
181 ng-class="{'dropping':vm.dropping}"
184 class="drop-text hint-text"
186 layout-align="center center"
188 <span translate="EC.DROP_TO_UPLOAD">Drop to upload</span>
192 class="upload-button"
194 layout-align="center center"
196 <md-button class="md-accent md-raised" flow-btn>
199 <span class="secondary-text mt-8"
200 >You can also drop images here to upload. Only PNG, JPG - Max.
205 <div layout="row" layout-align="start start" layout-wrap>
207 ng-repeat="logoimage in vm_cl.customization.images"
208 ng-switch="logoimage.type"
211 class="customization-image motion-card-view__image uploading"
212 ng-switch-when="uploading"
214 layout-align="center center"
219 layout-align="center center"
222 md-mode="determinate"
223 value="{{logoimage.file.progress() * 100}}"
225 </md-progress-linear>
227 <img class="media" flow-img="logoimage.file" />
231 class="customization-image motion-card-view__image-uploader"
232 ng-switch-when="image"
234 layout-align="center center"
236 <img class="media" ng-src="{{logoimage.url}}" />
245 ng-if="!vm.customization.defaultLoginLogo"
246 class="customization-detail-form-container logologin motion-form__detail-form-container md-background-bg md-whiteframe-1dp"
248 <div class="pb-16" layout="row" layout-align="start center">
249 <div class="h2 secondary-text" translate="SETTINGS.LOGOLOGIN">
254 ng-controller="CustomizationlogologinController as vm_cll"
255 ng-init="vm_cll.init(vm.customization)"
256 class="customization-detail-form-container md-background-bg md-whiteframe-1dp"
259 id="customization-image-uploader motion-card-view__image-uploader"
260 flow-init="vm_cll.ngFlowOptions"
261 flow-name="vm_cll.ngFlow.flow"
262 flow-files-submitted="vm_cll.upload()"
263 flow-file-added="vm_cll.fileAdded($file)"
264 flow-file-success="vm_cll.fileSuccess($file, $message)"
265 flow-complete="vm_cll.uploadComplete()"
267 flow-drag-enter="vm_cll.dropping=true"
268 flow-drag-leave="vm_cll.dropping=false"
269 ng-class="{'dropping':vm.dropping}"
272 class="drop-text hint-text"
274 layout-align="center center"
276 <span translate="EC.DROP_TO_UPLOAD">Drop to upload</span>
280 class="upload-button"
282 layout-align="center center"
284 <md-button class="md-accent md-raised" flow-btn>
287 <span class="secondary-text mt-8"
288 >You can also drop images here to upload. Only PNG, JPG - Max.
293 <div layout="row" layout-align="start start" layout-wrap>
295 ng-repeat="logologinimage in vm_cll.customization.images"
296 ng-switch="logologinimage.type"
299 class="customization-image motion-card-view__image uploading"
300 ng-switch-when="uploading"
302 layout-align="center center"
307 layout-align="center center"
310 md-mode="determinate"
311 value="{{logologinimage.file.progress() * 100}}"
313 </md-progress-linear>
315 <img class="media" flow-img="logologinimage.file" />
319 class="customization-image motion-card-view__image-uploader"
320 ng-switch-when="image"
322 layout-align="center center"
324 <img class="media" ng-src="{{logologinimage.url}}" />
333 ng-if="!vm.customization.defaultPreferred && vm.license.preferred"
334 class="customization-detail-form-container preferred motion-form__detail-form-container md-background-bg md-whiteframe-1dp"
336 <div class="pb-16" layout="row" layout-align="start center">
337 <div class="h2 secondary-text" translate="SETTINGS.PREFERRED">
342 ng-controller="CustomizationpreferredController as vm_cp"
343 ng-init="vm_cp.init(vm.customization)"
344 class="customization-detail-form-container md-background-bg md-whiteframe-1dp"
347 id="customization-image-uploader motion-card-view__image-uploader"
348 flow-init="vm_cp.ngFlowOptions"
349 flow-name="vm_cp.ngFlow.flow"
350 flow-files-submitted="vm_cp.upload()"
351 flow-file-added="vm_cp.fileAdded($file)"
352 flow-file-success="vm_cp.fileSuccess($file, $message)"
353 flow-complete="vm_cp.uploadComplete()"
355 flow-drag-enter="vm_cp.dropping=true"
356 flow-drag-leave="vm_cp.dropping=false"
357 ng-class="{'dropping':vm.dropping}"
360 class="drop-text hint-text"
362 layout-align="center center"
364 <span translate="EC.DROP_TO_UPLOAD">Drop to upload</span>
368 class="upload-button"
370 layout-align="center center"
372 <md-button class="md-accent md-raised" flow-btn>
375 <span class="secondary-text mt-8"
376 >You can also drop images here to upload. Only PNG, JPG - Max.
381 <div layout="row" layout-align="start start" layout-wrap>
383 ng-repeat="preferredimage in vm_cp.customization.images"
384 ng-switch="preferredimage.type"
387 class="customization-image motion-card-view__image uploading"
388 ng-switch-when="uploading"
390 layout-align="center center"
395 layout-align="center center"
398 md-mode="determinate"
399 value="{{preferredimage.file.progress() * 100}}"
401 </md-progress-linear>
403 <img class="media" flow-img="preferredimage.file" />
407 class="customization-image motion-card-view__image-uploader"
408 ng-switch-when="image"
410 layout-align="center center"
412 <img class="media" ng-src="{{preferredimage.url}}" />
421 ng-if="!vm.customization.defaultFavicon"
422 class="customization-detail-form-container favicon motion-form__detail-form-container md-background-bg md-whiteframe-1dp"
424 <div class="pb-16" layout="row" layout-align="start center">
425 <div class="h2 secondary-text" translate="SETTINGS.FAVICON">
430 ng-controller="CustomizationfaviconController as vm_cf"
431 ng-init="vm_cf.init(vm.customization)"
432 class="customization-detail-form-container md-background-bg md-whiteframe-1dp"
435 id="customization-image-uploader motion-card-view__image-uploader"
436 flow-init="vm_cf.ngFlowOptions"
437 flow-name="vm_cf.ngFlow.flow"
438 flow-files-submitted="vm_cf.upload()"
439 flow-file-added="vm_cf.fileAdded($file)"
440 flow-file-success="vm_cf.fileSuccess($file, $message)"
441 flow-complete="vm_cf.uploadComplete()"
443 flow-drag-enter="vm_cf.dropping=true"
444 flow-drag-leave="vm_cf.dropping=false"
445 ng-class="{'dropping':vm.dropping}"
448 class="drop-text hint-text"
450 layout-align="center center"
452 <span translate="EC.DROP_TO_UPLOAD">Drop to upload</span>
456 class="upload-button"
458 layout-align="center center"
460 <md-button class="md-accent md-raised" flow-btn>
463 <span class="secondary-text mt-8"
464 >You can also drop images here to upload. Only PNG, JPG, ICO -
469 <div layout="row" layout-align="start start" layout-wrap>
471 ng-repeat="faviconimage in vm_cf.customization.images"
472 ng-switch="faviconimage.type"
475 class="customization-image motion-card-view__image uploading"
476 ng-switch-when="uploading"
478 layout-align="center center"
483 layout-align="center center"
486 md-mode="determinate"
487 value="{{faviconimage.file.progress() * 100}}"
489 </md-progress-linear>
491 <img class="media" flow-img="faviconimage.file" />
495 class="customization-image motion-card-view__image-uploader"
496 ng-switch-when="image"
498 layout-align="center center"
500 <img class="media" ng-src="{{faviconimage.url}}" />