-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
7 changed files
with
166 additions
and
11 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
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
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 |
---|---|---|
@@ -0,0 +1,147 @@ | ||
<!DOCTYPE html> | ||
<html ng-app="formTest"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Simple Forms</title> | ||
|
||
<!-- Sets initial viewport load and disables zooming --> | ||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no"> | ||
<link rel="stylesheet" href="../../../../dist/css/ionic.css"> | ||
<script src="../../../../dist/js/ionic.bundle.js"></script> | ||
</head> | ||
<body> | ||
<ion-content> | ||
<form> | ||
<ion-list> | ||
<label class="item item-input"> | ||
<input type="text" placeholder="First Name"> | ||
</label> | ||
<label class="item item-input"> | ||
<textarea placeholder="Comments"></textarea> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Username</span> | ||
<input type="text"> | ||
</label> | ||
<label class="item item-input item-stacked-label"> | ||
<span class="input-label">First Name</span> | ||
<input type="text" placeholder="John"> | ||
</label> | ||
<label class="item item-input item-floating-label"> | ||
<span class="input-label">First Name</span> | ||
<input type="text" placeholder="First Name"> | ||
</label> | ||
<li class="item item-toggle"> | ||
HTML5 | ||
<label class="toggle toggle-assertive"> | ||
<input type="checkbox"> | ||
<div class="track"> | ||
<div class="handle"></div> | ||
</div> | ||
</label> | ||
</li> | ||
<li class="item item-checkbox"> | ||
<label class="checkbox"> | ||
<input type="checkbox"> | ||
</label> | ||
Flux Capacitor | ||
</li> | ||
<label class="item item-radio"> | ||
<input type="radio" name="group"> | ||
<div class="item-content"> | ||
Go | ||
</div> | ||
<i class="radio-icon ion-checkmark"></i> | ||
</label> | ||
<div class="range"> | ||
<i class="icon ion-volume-low"></i> | ||
<input type="range" name="volume"> | ||
<i class="icon ion-volume-high"></i> | ||
</div> | ||
<label class="item item-input item-select"> | ||
<div class="input-label"> | ||
Lightsaber | ||
</div> | ||
<select> | ||
<option>Blue</option> | ||
<option selected>Green</option> | ||
<option>Red</option> | ||
</select> | ||
</label> | ||
<ion-checkbox ng-model="isChecked">Checkbox Label</ion-checkbox> | ||
<ion-radio ng-model="choice" ng-value="'A'">Choose A</ion-radio> | ||
<ion-radio ng-model="choice" ng-value="'B'">Choose B</ion-radio> | ||
<ion-radio ng-model="choice" ng-value="'C'">Choose C</ion-radio> | ||
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-calm">Airplane Mode</ion-toggle> | ||
</ion-list> | ||
<ion-list type="list-inset"> | ||
<label class="item item-input"> | ||
<input type="text" placeholder="First Name"> | ||
</label> | ||
<label class="item item-input"> | ||
<textarea placeholder="Comments"></textarea> | ||
</label> | ||
<label class="item item-input"> | ||
<span class="input-label">Username</span> | ||
<input type="text"> | ||
</label> | ||
<label class="item item-input item-stacked-label"> | ||
<span class="input-label">First Name</span> | ||
<input type="text" placeholder="John"> | ||
</label> | ||
<label class="item item-input item-floating-label"> | ||
<span class="input-label">First Name</span> | ||
<input type="text" placeholder="First Name"> | ||
</label> | ||
<li class="item item-toggle"> | ||
HTML5 | ||
<label class="toggle toggle-assertive"> | ||
<input type="checkbox"> | ||
<div class="track"> | ||
<div class="handle"></div> | ||
</div> | ||
</label> | ||
</li> | ||
<li class="item item-checkbox"> | ||
<label class="checkbox"> | ||
<input type="checkbox"> | ||
</label> | ||
Flux Capacitor | ||
</li> | ||
<label class="item item-radio"> | ||
<input type="radio" name="group"> | ||
<div class="item-content"> | ||
Go | ||
</div> | ||
<i class="radio-icon ion-checkmark"></i> | ||
</label> | ||
<div class="range"> | ||
<i class="icon ion-volume-low"></i> | ||
<input type="range" name="volume"> | ||
<i class="icon ion-volume-high"></i> | ||
</div> | ||
<label class="item item-input item-select"> | ||
<div class="input-label"> | ||
Lightsaber | ||
</div> | ||
<select> | ||
<option>Blue</option> | ||
<option selected>Green</option> | ||
<option>Red</option> | ||
</select> | ||
</label> | ||
<ion-checkbox ng-model="isChecked">Checkbox Label</ion-checkbox> | ||
<ion-radio ng-model="choice" ng-value="'A'">Choose A</ion-radio> | ||
<ion-radio ng-model="choice" ng-value="'B'">Choose B</ion-radio> | ||
<ion-radio ng-model="choice" ng-value="'C'">Choose C</ion-radio> | ||
<ion-toggle ng-model="airplaneMode" toggle-class="toggle-calm">Airplane Mode</ion-toggle> | ||
</ion-list> | ||
</form> | ||
</ion-content> | ||
<div id="margin-line" style="position: fixed; left: 15px; height: 100%; background-color: red; width: 1px; z-index: 1000"></div> | ||
<div id="margin-line" style="position: fixed; left: 26px; height: 100%; background-color: blue; width: 1px; z-index: 1000"></div> | ||
<script> | ||
angular.module('formTest', ['ionic']); | ||
</script> | ||
</body> | ||
</html> |