First commit
This commit is contained in:
commit
c6e2478c40
13918 changed files with 2303184 additions and 0 deletions
42
sites/all/modules/civicrm/ang/crmExample/example.html
Normal file
42
sites/all/modules/civicrm/ang/crmExample/example.html
Normal file
|
@ -0,0 +1,42 @@
|
|||
<form name="exampleForm" novalidate>
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>Input</th>
|
||||
<th>ngModel</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="(exName, example) in examples">
|
||||
<td>{{exName}}</td>
|
||||
<td>{{example.value}}</td>
|
||||
<td>
|
||||
<div class="crmMailing-schedule-outer" crm-mailing-radio-date="schedule" ng-model="example.value"
|
||||
name="{{exName}}">
|
||||
|
||||
<div class="crmMailing-schedule-inner">
|
||||
<div>
|
||||
<input ng-model="schedule.mode" type="radio" name="send_{{exName}}" value="now" id="schedule-send-now">
|
||||
<label for="schedule-send-now">{{ts('Send immediately')}}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input ng-model="schedule.mode" type="radio" name="send_{{exName}}" value="at" id="schedule-send-at">
|
||||
<label for="schedule-send-at">{{ts('Send at:')}}</label>
|
||||
<input crm-ui-datepicker ng-model="schedule.datetime" ng-required="schedule.mode == 'at'">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<pre>{{exampleForm[exName]|json}}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue