2014-12-17 20:58:20 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
2015-08-03 17:53:54 +02:00
|
|
|
<container
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:label="OGo:label">
|
2015-03-25 21:46:06 +01:00
|
|
|
|
2015-09-03 22:10:05 +02:00
|
|
|
<div layout="column" class="layout-fill">
|
2015-10-01 15:34:37 +02:00
|
|
|
<md-toolbar class="md-whiteframe-z1">
|
2015-09-03 22:10:05 +02:00
|
|
|
<div class="md-toolbar-tools">
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
label:aria-label="Cancel"
|
|
|
|
ng-click="editor.cancel()">
|
|
|
|
<md-icon>close</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<div class="md-flex"><!-- spacer --></div>
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
label:aria-label="Reset"
|
|
|
|
ng-click="editor.reset()">
|
|
|
|
<md-icon>undo</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<md-button class="sg-icon-button"
|
|
|
|
label:aria-label="Save"
|
|
|
|
ng-click="editor.save(editor.card.$isCard()?cardForm:listForm)">
|
|
|
|
<md-icon>save</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</md-toolbar>
|
|
|
|
<md-content class="md-flex md-static">
|
|
|
|
<div layout="column" class="viewer md-padding">
|
2015-03-17 03:00:45 +01:00
|
|
|
<hgroup class="header">
|
2015-10-09 22:49:33 +02:00
|
|
|
<h1 class="sg-md-display-2--thin" ng-bind-html="editor.card.$fullname()"><!-- fullname --></h1>
|
|
|
|
<h6 class="sg-md-display-2-subheader--thin">{{editor.card.$description()}}</h6>
|
2015-03-17 03:00:45 +01:00
|
|
|
</hgroup>
|
2015-04-21 20:19:43 +02:00
|
|
|
|
|
|
|
<!-- contact editor -->
|
2015-05-28 19:48:45 +02:00
|
|
|
<form name="cardForm" ng-show="editor.card.$isCard()" ng-submit="editor.save(cardForm)">
|
2015-02-24 06:00:59 +01:00
|
|
|
<md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:entity const:name="nbsp"/>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Display"/>
|
2015-01-28 03:45:56 +01:00
|
|
|
</label>
|
2015-07-27 18:47:40 +02:00
|
|
|
<input type="text" ng-maxlength="30" ng-model="editor.card.c_cn"/>
|
2015-02-24 06:00:59 +01:00
|
|
|
</md-input-container>
|
2015-09-03 22:10:05 +02:00
|
|
|
<!-- todo: look for better reset/normalization. Semanticaly this should be a fieldset, but content doesn't flex properly du to browser styles -->
|
2015-03-17 03:00:45 +01:00
|
|
|
<div id="contact-identification" class="sg-fieldset" layout="row" layout-sm="column">
|
|
|
|
<md-input-container flex="40">
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Firstname"/>
|
2015-02-20 04:05:53 +01:00
|
|
|
</label>
|
2015-07-27 18:47:40 +02:00
|
|
|
<input type="text" ng-model="editor.card.c_givenname"/>
|
2015-02-25 01:40:57 +01:00
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container flex="40">
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Lastname"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-07-27 18:47:40 +02:00
|
|
|
<input type="text" ng-model="editor.card.c_sn"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container flex="20">
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Nickname"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-05-28 19:48:45 +02:00
|
|
|
<input type="text" ng-model="editor.card.nickname"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</md-input-container>
|
2015-01-28 03:45:56 +01:00
|
|
|
</div>
|
2015-02-20 04:05:53 +01:00
|
|
|
|
2015-11-27 17:27:38 +01:00
|
|
|
<div id="contact-identification" class="sg-fieldset" layout="row" layout-sm="column">
|
|
|
|
<md-input-container flex="40">
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Organization"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-07-27 18:47:40 +02:00
|
|
|
<input type="text" ng-model="editor.card.c_org"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</md-input-container>
|
2015-11-27 17:27:38 +01:00
|
|
|
<md-input-container flex="40">
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Title"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-05-28 19:48:45 +02:00
|
|
|
<input type="text" ng-model="editor.card.title"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</md-input-container>
|
2015-11-27 17:27:38 +01:00
|
|
|
<md-input-container flex="20">
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Role"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="editor.card.role"/>
|
|
|
|
</md-input-container>
|
2015-02-26 05:44:22 +01:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
|
|
|
|
<!-- org units -->
|
2015-05-28 19:48:45 +02:00
|
|
|
<div class="attr" ng-repeat="unit in editor.card.orgUnits">
|
2015-03-17 03:00:45 +01:00
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Organization Unit"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="unit.value"
|
|
|
|
sg-focus-on="orgUnit_{{$index}}"/>
|
|
|
|
</md-input-container>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('orgUnits', $index)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
2015-02-26 05:44:22 +01:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addOrgUnit($event)">
|
|
|
|
<md-icon>add_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="Add Organizational Unit"/>
|
|
|
|
</label>
|
2015-02-26 05:44:22 +01:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
|
2015-06-23 17:22:35 +02:00
|
|
|
<!-- categories -->
|
|
|
|
<md-chips ng-model="editor.card.categories">
|
|
|
|
<md-chip-template>
|
|
|
|
{{$chip.value}}
|
|
|
|
</md-chip-template>
|
|
|
|
<md-autocomplete
|
|
|
|
md-selected-item="editor.categories.selected"
|
|
|
|
md-selected-item-change="editor.card.$addCategory(category)"
|
|
|
|
md-search-text="editor.categories.searchText"
|
|
|
|
md-items="category in editor.card.constructor.filterCategories(editor.categories.searchText)"
|
|
|
|
label:placeholder="Add a category">
|
|
|
|
<span md-highlight-text="editor.categories.searchText">{{category}}</span>
|
|
|
|
</md-autocomplete>
|
|
|
|
</md-chips>
|
|
|
|
|
2015-03-17 03:00:45 +01:00
|
|
|
<!-- emails -->
|
|
|
|
<div class="section">
|
2015-05-28 19:48:45 +02:00
|
|
|
<div class="attr" ng-repeat="email in editor.card.emails">
|
2015-03-17 03:00:45 +01:00
|
|
|
<div class="md-layout-margin" layout="row" layout-align="space-between end">
|
2015-09-03 15:24:52 +02:00
|
|
|
<md-input-container flex="20">
|
|
|
|
<md-select ng-model="email.type" label:placeholder="Type">
|
|
|
|
<md-option ng-repeat="type in ::editor.allEmailTypes" ng-value="type">{{ type }}</md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Email Address"/>
|
|
|
|
</label>
|
|
|
|
<input type="email" ng-model="email.value"
|
|
|
|
sg-focus-on="email_{{$index}}"/>
|
|
|
|
</md-input-container>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('emails', $index)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addEmail()">
|
|
|
|
<md-icon>add_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="New Email Address"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-03-17 03:00:45 +01:00
|
|
|
</div>
|
2015-02-26 05:44:22 +01:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
|
2015-11-27 16:58:56 +01:00
|
|
|
<div class="section">
|
|
|
|
<div layout="row" layout-align="space-between end" ng-show="editor.card.c_screenname != null">
|
|
|
|
<md-input-container>
|
|
|
|
<label class="pseudo-input-label">
|
|
|
|
<var:string label:value="Screen Name"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="editor.card.c_screenname"/>
|
|
|
|
</md-input-container>
|
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('c_screenname', -1)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center" ng-show="editor.card.c_screenname == null">
|
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addScreenName($event)">
|
|
|
|
<md-icon>add_circle</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="Add Screen Name"/>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-03-17 03:00:45 +01:00
|
|
|
<!-- birthday -->
|
2015-08-20 16:29:47 +02:00
|
|
|
<div class="section">
|
|
|
|
<div layout="row" layout-align="space-between end" ng-show="editor.card.birthday">
|
2015-09-03 15:24:52 +02:00
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
|
|
|
<var:string label:value="Birthday"/>
|
|
|
|
</label>
|
|
|
|
<md-datepicker class="pseudo-input-field"
|
|
|
|
ng-model="editor.card.birthday"><!-- birthday --></md-datepicker>
|
|
|
|
</div>
|
2015-08-20 16:29:47 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('birthday', -1)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center" ng-hide="editor.card.birthday">
|
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addBirthday()">
|
|
|
|
<md-icon>add_circle</md-icon>
|
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="Add Birthday"/>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
|
|
|
|
<!-- phones -->
|
|
|
|
<div class="section">
|
2015-05-28 19:48:45 +02:00
|
|
|
<div class="attr" ng-repeat="phone in editor.card.phones">
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="space-between end">
|
2015-09-03 15:24:52 +02:00
|
|
|
<md-input-container flex="20">
|
|
|
|
<md-select ng-model="phone.type" label:placeholder="Type">
|
|
|
|
<md-option ng-repeat="type in ::editor.allTelTypes" ng-value="type">{{ type }}</md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Phone Number"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="phone.value"
|
|
|
|
sg-focus-on="phone_{{$index}}"/>
|
|
|
|
</md-input-container>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('phones', $index)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addPhone()">
|
|
|
|
<md-icon>add_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="New Phone Number"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-03-17 03:00:45 +01:00
|
|
|
</div>
|
2015-02-20 04:05:53 +01:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
|
|
|
|
<!-- urls -->
|
|
|
|
<div class="section">
|
2015-05-28 19:48:45 +02:00
|
|
|
<div class="attr" ng-repeat="url in editor.card.urls">
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="space-between end">
|
2015-09-03 15:24:52 +02:00
|
|
|
<md-input-container flex="20">
|
|
|
|
<md-select ng-model="url.type" label:placeholder="Type">
|
|
|
|
<md-option ng-repeat="type in ::editor.allUrlTypes" ng-value="type">{{ type }}</md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="URL"/>
|
|
|
|
</label>
|
|
|
|
<input type="url" ng-model="url.value" sg-focus-on="url_{{$index}}"/>
|
|
|
|
</md-input-container>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('urls', $index)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addUrl()">
|
|
|
|
<md-icon>add_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="New URL"/>
|
2015-02-26 05:44:22 +01:00
|
|
|
</label>
|
2015-03-17 03:00:45 +01:00
|
|
|
</div>
|
2015-02-26 05:44:22 +01:00
|
|
|
</div>
|
|
|
|
|
2015-03-17 03:00:45 +01:00
|
|
|
<!-- addresses -->
|
|
|
|
<div class="section">
|
2015-05-28 19:48:45 +02:00
|
|
|
<div class="attr" ng-repeat="address in editor.card.addresses">
|
2015-03-17 03:00:45 +01:00
|
|
|
<div layout="row" layout-align="center end">
|
2015-09-03 15:24:52 +02:00
|
|
|
<md-input-container flex="20">
|
|
|
|
<md-select ng-model="address.type" label:placeholder="Type">
|
|
|
|
<md-option ng-repeat="type in ::editor.allAddressTypes" ng-value="type">{{ type }}</md-option>
|
|
|
|
</md-select>
|
|
|
|
</md-input-container>
|
2015-03-17 03:00:45 +01:00
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="street"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.street"
|
|
|
|
sg-focus-on="address_{{$index}}"/>
|
|
|
|
</md-input-container>
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value=""/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.street2"/>
|
|
|
|
</md-input-container>
|
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Postoffice"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.postoffice"/>
|
|
|
|
</md-input-container>
|
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="City"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.locality"/>
|
|
|
|
</md-input-container>
|
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Region"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.region"/>
|
|
|
|
</md-input-container>
|
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Country"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.country"/>
|
|
|
|
</md-input-container>
|
|
|
|
</div>
|
|
|
|
<div layout="row" layout-align="center end">
|
|
|
|
<md-input-container>
|
|
|
|
<label>
|
|
|
|
<var:string label:value="Postal Code"/>
|
|
|
|
</label>
|
|
|
|
<input type="text" ng-model="address.postalcode"/>
|
|
|
|
</md-input-container>
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.card.$delete('addresses', $index)">
|
|
|
|
<md-icon>remove_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="md-layout-margin" layout="row" layout-align="start center">
|
2015-07-04 03:40:37 +02:00
|
|
|
<md-button class="sg-icon-button" type="button" ng-click="editor.addAddress()">
|
|
|
|
<md-icon>add_circle</md-icon>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-button>
|
|
|
|
<label class="button-label">
|
|
|
|
<var:string label:value="New Address"/>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-02-20 04:05:53 +01:00
|
|
|
|
2015-03-17 03:00:45 +01:00
|
|
|
<!-- note -->
|
|
|
|
<md-input-container>
|
2015-05-01 15:38:55 +02:00
|
|
|
<label class="right inline">
|
2015-03-17 03:00:45 +01:00
|
|
|
<var:string label:value="Note"/>
|
|
|
|
</label>
|
2015-05-28 19:48:45 +02:00
|
|
|
<textarea ng-model="editor.card.note"><!-- note --></textarea>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-input-container>
|
|
|
|
</form>
|
2015-04-21 20:19:43 +02:00
|
|
|
|
|
|
|
<!-- list editor -->
|
2015-09-03 22:10:05 +02:00
|
|
|
<form name="listForm" ng-show="editor.card.$isList()" ng-submit="editor.save(listForm)">
|
2015-04-21 20:19:43 +02:00
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-04-21 20:19:43 +02:00
|
|
|
<var:string label:value="Display"/>
|
|
|
|
</label>
|
2015-07-27 18:47:40 +02:00
|
|
|
<input type="text" ng-maxlength="30" ng-model="editor.card.c_cn"/>
|
2015-04-21 20:19:43 +02:00
|
|
|
</md-input-container>
|
|
|
|
|
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-04-21 20:19:43 +02:00
|
|
|
<var:string label:value="Nickname"/>
|
|
|
|
</label>
|
2015-05-28 19:48:45 +02:00
|
|
|
<input type="text" ng-maxlength="30" ng-model="editor.card.nickname"/>
|
2015-04-21 20:19:43 +02:00
|
|
|
</md-input-container>
|
|
|
|
|
|
|
|
<md-input-container>
|
2015-05-28 19:48:45 +02:00
|
|
|
<label>
|
2015-04-21 20:19:43 +02:00
|
|
|
<var:string label:value="Description"/>
|
|
|
|
</label>
|
2015-05-28 19:48:45 +02:00
|
|
|
<textarea ng-model="editor.card.description"><!-- note --></textarea>
|
2015-04-21 20:19:43 +02:00
|
|
|
</md-input-container>
|
|
|
|
|
|
|
|
<!-- list members -->
|
|
|
|
<div class="pseudo-input-container">
|
|
|
|
<label class="pseudo-input-label">
|
2015-07-31 19:54:03 +02:00
|
|
|
<var:string label:value="Members"/>
|
2015-04-21 20:19:43 +02:00
|
|
|
</label>
|
|
|
|
<md-contact-chips
|
2015-05-28 19:48:45 +02:00
|
|
|
ng-model="editor.card.refs"
|
|
|
|
md-contacts="editor.userFilter($query, editor.card.refs)"
|
2015-05-07 16:03:30 +02:00
|
|
|
md-contact-name="$$fullname"
|
|
|
|
md-contact-image="$$image"
|
|
|
|
md-contact-email="$$email"
|
2015-05-27 21:06:42 +02:00
|
|
|
md-require-match="md-require-match"
|
2015-05-06 23:45:28 +02:00
|
|
|
filter-selected="false"
|
|
|
|
label:placeholder="Add Member"><!-- members --></md-contact-chips>
|
2015-04-21 20:19:43 +02:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
</form>
|
2015-09-03 22:10:05 +02:00
|
|
|
</div>
|
2015-03-17 03:00:45 +01:00
|
|
|
</md-content>
|
2015-09-03 22:10:05 +02:00
|
|
|
</div>
|
2015-01-28 03:45:56 +01:00
|
|
|
</container>
|