mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-27 07:49:29 +00:00
Adapt to latest md changes
See https://github.com/angular/material/commit/17797f0
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<!-- summary -->
|
||||
<md-icon ng-if="editor.component.classification == 'confidential'">visibility_off</md-icon>
|
||||
<md-icon ng-if="editor.component.classification == 'private'">vpn_key</md-icon>
|
||||
<md-input-container>
|
||||
<md-input-container class="md-block md-flex">
|
||||
<label><var:string label:value="Title"/></label>
|
||||
<input type="text"
|
||||
class="md-title"
|
||||
@@ -24,11 +24,21 @@
|
||||
</div>
|
||||
</md-toolbar>
|
||||
<md-dialog-content class="md-dialog-content">
|
||||
<!-- location -->
|
||||
<md-input-container>
|
||||
<label><var:string label:value="Location"/></label>
|
||||
<input type="text" ng-model="editor.component.location"/>
|
||||
</md-input-container>
|
||||
<div layout="row" layout-wrap="layout-wrap">
|
||||
<!-- location -->
|
||||
<md-input-container flex="50" flex-xs="100">
|
||||
<label><var:string label:value="Location"/></label>
|
||||
<input type="text" ng-model="editor.component.location"/>
|
||||
</md-input-container>
|
||||
<!-- calendar -->
|
||||
<md-input-container flex="50" flex-xs="100">
|
||||
<label><var:string label:value="Calendar"/></label>
|
||||
<md-select ng-model="editor.component.destinationCalendar">
|
||||
<md-option ng-repeat="calendar in editor.service.$findAll(null, true)"
|
||||
ng-value="calendar.id">{{calendar.name}}</md-option>
|
||||
</md-select>
|
||||
</md-input-container>
|
||||
</div>
|
||||
<!-- categories -->
|
||||
<md-chips ng-model="editor.component.categories">
|
||||
<md-autocomplete
|
||||
@@ -40,16 +50,8 @@
|
||||
<span md-highlight-text="editor.categories.searchText">{{category}}</span>
|
||||
</md-autocomplete>
|
||||
</md-chips>
|
||||
<!-- calendar -->
|
||||
<md-input-container>
|
||||
<label><var:string label:value="Calendar"/></label>
|
||||
<md-select ng-model="editor.component.destinationCalendar">
|
||||
<md-option ng-repeat="calendar in editor.service.$findAll(null, true)"
|
||||
ng-value="calendar.id">{{calendar.name}}</md-option>
|
||||
</md-select>
|
||||
</md-input-container>
|
||||
<!-- classification -->
|
||||
<md-radio-group layout="row" layout-align="space-around center"
|
||||
<md-radio-group class="md-padding" layout="row" layout-align="space-around center"
|
||||
ng-model="editor.component.classification">
|
||||
<md-radio-button value="public">
|
||||
<var:string label:value="label_Public"/>
|
||||
@@ -145,7 +147,7 @@
|
||||
<!-- attach urls -->
|
||||
<div class="attr" ng-repeat="attach in editor.component.attachUrls">
|
||||
<div layout="row" layout-align="center end">
|
||||
<md-input-container>
|
||||
<md-input-container class="md-block md-flex">
|
||||
<label>
|
||||
<var:string label:value="URL"/>
|
||||
</label>
|
||||
@@ -166,13 +168,13 @@
|
||||
</label>
|
||||
</div>
|
||||
<!-- comment -->
|
||||
<md-input-container>
|
||||
<md-input-container class="md-block md-flex">
|
||||
<label><var:string label:value="Description"/></label>
|
||||
<textarea ng-model="editor.component.comment"><!-- comment --></textarea>
|
||||
</md-input-container>
|
||||
<!-- repeat -->
|
||||
<div layout="row" layout-align="start end">
|
||||
<md-input-container>
|
||||
<md-input-container class="md-block md-flex">
|
||||
<label><var:string label:value="Repeat"/></label>
|
||||
<md-select class="pseudo-input-field" ng-model="editor.component.repeat.frequency">
|
||||
<var:foreach list="repeatList" item="item">
|
||||
@@ -192,33 +194,32 @@
|
||||
<var:component className="UIxRecurrenceEditor" />
|
||||
</div>
|
||||
<!-- end repeat -->
|
||||
<div layout="row" layout-align="start end">
|
||||
<div ng-show="editor.component.repeat.frequency != 'never'">
|
||||
<md-input-container>
|
||||
<label><var:string label:value="End Repeat"/></label>
|
||||
<md-select class="pseudo-input-field" ng-model="editor.component.repeat.end">
|
||||
<md-option value="never"><var:string label:value="Never"/></md-option>
|
||||
<md-option value="count"><var:string label:value="After"/></md-option>
|
||||
<md-option value="until"><var:string label:value="On Date"/></md-option>
|
||||
</md-select>
|
||||
</md-input-container>
|
||||
</div>
|
||||
<div layout="row" layout-align="start center" ng-show="editor.component.repeat.end == 'count'">
|
||||
<md-input-container class="md-input-number">
|
||||
<input type="number" label:aria-label="times" ng-model="editor.component.repeat.count"/>
|
||||
</md-input-container>
|
||||
<var:string label:value="times"/>
|
||||
</div>
|
||||
<md-input-container ng-show="editor.component.repeat.end == 'until'">
|
||||
<input type="date" label:aria-label="Repeat until" ng-model="editor.component.repeat.until"/>
|
||||
<div layout="row">
|
||||
<md-input-container class="md-block" flex="50" flex-xs="100"
|
||||
ng-show="editor.component.repeat.frequency != 'never'">
|
||||
<label><var:string label:value="End Repeat"/></label>
|
||||
<md-select ng-model="editor.component.repeat.end"
|
||||
ng-disabled="editor.component.occurrenceId">
|
||||
<md-option value="never"><var:string label:value="Never"/></md-option>
|
||||
<md-option value="count"><var:string label:value="After"/></md-option>
|
||||
<md-option value="until"><var:string label:value="On Date"/></md-option>
|
||||
</md-select>
|
||||
</md-input-container>
|
||||
<md-input-container class="md-block md-input-number"
|
||||
ng-show="editor.component.repeat.end == 'count'">
|
||||
<label><var:string label:value="times"/></label>
|
||||
<input type="number" label:aria-label="times" ng-model="editor.component.repeat.count"/>
|
||||
</md-input-container>
|
||||
<md-datepicker ng-show="editor.component.repeat.end == 'until'"
|
||||
ng-model="editor.component.repeat.until"
|
||||
label:md-placeholder="On Date"><!-- date picker --></md-datepicker>
|
||||
</div>
|
||||
<!-- reminder -->
|
||||
<md-checkbox ng-model="editor.component.$hasAlarm"
|
||||
label:aria-label="Reminder">
|
||||
<var:string label:value="Reminder"/>
|
||||
</md-checkbox>
|
||||
<div class="sg-subcontent"
|
||||
<div flex-offset="5"
|
||||
ng-show="editor.component.$hasAlarm">
|
||||
<var:component className="UIxReminderEditor" />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user