This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
220 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_checkboxList"> | ||
<label ng-repeat="(key, value) in checkboxlist.items" class="checkbox"> | ||
<input type="checkbox" name="checkbox" ng-model="checkboxlist.selected" value="{{key}}" ngx-checkboxlist min="1" max="3" /> | ||
{{value}} | ||
</label> | ||
<div ngx-invalid="form_checkboxList.checkbox min"> | ||
Check at least one item | ||
</div> | ||
<div ngx-invalid="form_checkboxList.checkbox max"> | ||
Check at most three items | ||
</div> | ||
</form> | ||
</fieldset> | ||
<pre>{{checkboxlist|json}}</pre> | ||
<div ng-controller="ngx.ui.checkboxlist"> | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_checkboxList"> | ||
<label ng-repeat="(key, value) in checkboxlist.items" class="checkbox"> | ||
<input type="checkbox" name="checkbox" ng-model="checkboxlist.selected" value="{{key}}" ngx-checkboxlist min="1" max="3" /> | ||
{{value}} | ||
</label> | ||
<div ngx-invalid="form_checkboxList.checkbox min"> | ||
Check at least one item | ||
</div> | ||
<div ngx-invalid="form_checkboxList.checkbox max"> | ||
Check at most three items | ||
</div> | ||
</form> | ||
</fieldset> | ||
<pre>{{checkboxlist|json}}</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<fieldset rel="ngxDialog"> | ||
<legend>Example</legend> | ||
<a class="btn">open dialog</a> | ||
<div ngx-dialog="" data-width="400" data-height="200" data-title="Dialog title" | ||
data-onclose="dialog.onclose()" data-trigger="fieldset[rel=ngxDialog] > a"> | ||
<label>Dialog input:</label> | ||
<input type="text" ng-model="dialog.input"/> | ||
<div class="ngx-dialog-buttons"> | ||
<a class="btn btn-primary" ngx-dialog-button="dialog.submit(dialog.input, $dialog)" href="">submit</a> | ||
<a class="btn" ngx-dialog-button="@close" href="">close</a> | ||
</div> | ||
</div> | ||
</fieldset> | ||
<div ng-controller="ngx.ui.dialog"> | ||
<fieldset rel="ngxDialog"> | ||
<legend>Example</legend> | ||
<a class="btn">open dialog</a> | ||
<div ngx-dialog="" data-width="400" data-height="200" data-title="Dialog title" | ||
data-onclose="dialog.onclose()" data-trigger="fieldset[rel=ngxDialog] > a"> | ||
<label>Dialog input:</label> | ||
<input type="text" ng-model="dialog.input"/> | ||
<div class="ngx-dialog-buttons"> | ||
<a class="btn btn-primary" ngx-dialog-button="dialog.submit(dialog.input, $dialog)" href="">submit</a> | ||
<a class="btn" ngx-dialog-button="@close" href="">close</a> | ||
</div> | ||
</div> | ||
</fieldset> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
<fieldset> | ||
<legend>Seznam maps</legend> | ||
<form class="form-horizontal"> | ||
<div class="control-group"> | ||
<label class="control-label">Latitude:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="coords.lat"/> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<label class="control-label">Longitude:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="coords.lon"/> | ||
</div> | ||
</div> | ||
</form> | ||
<div ngx-geomap data-coords="{{coords.lat}},{{coords.lon}}" style="width: 500px; height: 200px; margin-top: 10px" id="map_canvas"></div> | ||
</fieldset> | ||
<pre>{{coords|json}}</pre> | ||
<div ng-controller="ngx.ui.geomap"> | ||
<fieldset> | ||
<legend>Seznam maps</legend> | ||
<form class="form-horizontal"> | ||
<div class="control-group"> | ||
<label class="control-label">Latitude:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="coords.lat"/> | ||
</div> | ||
</div> | ||
<div class="control-group"> | ||
<label class="control-label">Longitude:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="coords.lon"/> | ||
</div> | ||
</div> | ||
</form> | ||
<div ngx-geomap data-coords="{{coords.lat}},{{coords.lon}}" style="width: 500px; height: 200px; margin-top: 10px" id="map_canvas"></div> | ||
</fieldset> | ||
<pre>{{coords|json}}</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_hashtag" class="form-horizontal"> | ||
<label class="control-label">hashtag:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="hashtag" ngx-hashtag-input name="hashtag"/> | ||
<span ngx-invalid="form_hashtag.hashtag hashtag" class="help-inline"> | ||
Invalid hash tag | ||
</span> | ||
</div> | ||
</form> | ||
</fieldset> | ||
<pre ng-show="hashtag">{{hashtag}}</pre> | ||
<div ng-controller="ngx.ui.hashtagInput"> | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_hashtag" class="form-horizontal"> | ||
<label class="control-label">hashtag:</label> | ||
<div class="controls"> | ||
<input type="text" ng-model="hashtag" ngx-hashtag-input name="hashtag"/> | ||
<span ngx-invalid="form_hashtag.hashtag hashtag" class="help-inline"> | ||
Invalid hash tag | ||
</span> | ||
</div> | ||
</form> | ||
</fieldset> | ||
<pre ng-show="hashtag">{{hashtag}}</pre> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_tagsInput"> | ||
<label>Tags:</label> | ||
<input type="text" name="tags" ngx-tags-input="" min="1" ng-model="tags" | ||
autocomplete-source="['php', 'angular', 'javascript', 'google', 'backbone', 'closure']" autocomplete-min-length="1"> | ||
<div ngx-invalid="form_tagsInput.tags min">At least one tag is required</div> | ||
</form> | ||
</fieldset> | ||
<pre>{{tags}}</pre> | ||
<div ng-controller="ngx.ui.tagsInput"> | ||
<fieldset> | ||
<legend>Example</legend> | ||
<form name="form_tagsInput"> | ||
<label>Tags:</label> | ||
<input type="text" name="tags" ngx-tags-input="" min="1" ng-model="tags" | ||
autocomplete-source="['php', 'angular', 'javascript', 'google', 'backbone', 'closure']" autocomplete-min-length="1"> | ||
<div ngx-invalid="form_tagsInput.tags min">At least one tag is required</div> | ||
</form> | ||
</fieldset> | ||
<pre>{{tags}}</pre> | ||
</div> |
Oops, something went wrong.