summaryrefslogtreecommitdiff
path: root/www/templates/wizard.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/wizard.html')
-rw-r--r--www/templates/wizard.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/www/templates/wizard.html b/www/templates/wizard.html
index 25e59737..de1e6e67 100644
--- a/www/templates/wizard.html
+++ b/www/templates/wizard.html
@@ -13,7 +13,7 @@
<p>{{'kWizConfigPain' | translate}}</p>
<h4>{{'kWizPortalUrl' | translate}}</h4>
<label class="item item-input">
- <input autocorrect="off" autocapitalize="none" autocomplete="off" type="text" placeholder="{{'kPortalUrlExample' | translate}}"
+ <input id="testaut_portal_input" autocorrect="off" autocapitalize="none" autocomplete="off" type="text" placeholder="{{'kPortalUrlExample' | translate}}"
ng-model="wizard.portalurl">
</label>
<p ng-if="$root.platformOS=='android'" style="font-size:0.8em; color:gray">{{'kDisableSamsung' | translate}}</p>
@@ -24,43 +24,43 @@
<img src="img/portalurl.png" width="30%">
</div>
<br />
- <button class="button button-small icon icon-right ion-chevron-right" wz-next>{{'kNext' | translate}}</button>
+ <button id = "testaut_wiz1_next_button" class="button button-small icon icon-right ion-chevron-right" wz-next>{{'kNext' | translate}}</button>
</wz-step>
<!-- auth mode -->
<wz-step wz-title="2">
<h4>{{'kWizPortalAuth' | translate}}</h4>
<!--<img src="img/wizard.svg" width="100px" style="float:left"/>-->
<p>{{'kWizPortalText' | translate}}</p>
- <ion-toggle ng-change="toggleAuth()" ng-model="wizard.useauth" toggle-class="toggle-calm">{{'kWizUseAuth' |
+ <ion-toggle id="testaut_useauth_toggle" ng-change="toggleAuth()" ng-model="wizard.useauth" toggle-class="toggle-calm">{{'kWizUseAuth' |
translate}}</ion-toggle>
- <ion-toggle ng-show="wizard.useauth" ng-model="wizard.usezmauth" toggle-class="toggle-calm">{{'kWizZMAuth' |
+ <ion-toggle id="testaut_usezmauth_toggle" ng-show="wizard.useauth" ng-model="wizard.usezmauth" toggle-class="toggle-calm">{{'kWizZMAuth' |
translate}}</ion-toggle>
<div ng-if="wizard.usezmauth">
<label class="item item-input item-floating-label">
<span class="input-label">{{'kUserName' | translate}}</span>
- <input autocorrect="off" autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.zmuser"
+ <input id="testaut_zmauthusername_input" autocorrect="off" autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.zmuser"
placeholder="{{'kPlaceHolderZMAuthUser'|translate}}">
</label>
<label class="item item-text-wrap item-input item-floating-label">
<span class="input-label">{{'kPassword' | translate}}</span>
- <input type="password" ng-model="wizard.zmpassword" placeholder="{{'kPlaceHolderZMAuthPass'|translate}}">
+ <input id="testaut_zmauthpassword_input" type="password" ng-model="wizard.zmpassword" placeholder="{{'kPlaceHolderZMAuthPass'|translate}}">
<!--<p >{{'kWizPasswdNote' | translate}}</p>-->
</label>
</div>
- <ion-toggle ng-show="wizard.useauth" ng-model="wizard.usebasicauth" toggle-class="toggle-calm">{{'kWizBasicAuth'
+ <ion-toggle id="testaut_usebasicauth_toggle" ng-show="wizard.useauth" ng-model="wizard.usebasicauth" toggle-class="toggle-calm">{{'kWizBasicAuth'
| translate}}
<p ng-show="wizard.usebasicauth">{{'kWarningBasicAuth'|translate}}</p>
</ion-toggle>
<label class="item item-input item-floating-label" ng-show="wizard.usebasicauth">
<span class="input-label">{{'kUserName' | translate}}</span>
- <input autocorrect="off" autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.basicuser"
+ <input id="testaut_basicauthusername_input" autocorrect="off" autocapitalize="none" autocomplete="off" type="text" ng-model="wizard.basicuser"
placeholder="{{'kPlaceHolderBasicAuthUser'|translate}}">
</label>
<label class="item item-input item-text-wrap item-floating-label" ng-show="wizard.usebasicauth">
<span class="input-label">{{'kPassword' | translate}}</span>
- <input type="password" ng-model="wizard.basicpassword" placeholder="{{'kPlaceHolderBasicAuthPass'|translate}}">
+ <input id="testaut_basicauth_password_input" type="password" ng-model="wizard.basicpassword" placeholder="{{'kPlaceHolderBasicAuthPass'|translate}}">
<p>{{'kWizPasswdNote' | translate}}</p>
</label>
<a class="button icon-left ion-information-circled button-clear button-dark" ng-click="toggleTip()">{{wizard.tiptext}}</a>
@@ -70,18 +70,18 @@
</div>
<br />
<button class="button button-small icon icon-left ion-chevron-left" wz-previous>{{'kPrev' | translate}}</button>
- <button class="button button-small icon icon-right ion-chevron-right" ng-click="exitAuth()">{{'kNext' |
+ <button id="testaut_wiz2_next_button" class="button button-small icon icon-right ion-chevron-right" ng-click="exitAuth()">{{'kNext' |
translate}}</button>
</wz-step>
<wz-step wz-title="3">
<br />
<br />
<h4>{{'kWizResults' | translate}}</h4>
- <span ng-if="wizard.portalValidText" ng-style="{'color':wizard.portalColor}">
+ <span id="testaut_wizard_portal_results" ng-if="wizard.portalValidText" ng-style="{'color':wizard.portalColor}">
<i ng-class="wizard.portalColor=='#16a085' ? 'ion-checkmark-circled':'ion-close-circled'"></i>&nbsp;{{wizard.portalValidText}}
<br />
</span>
- <span ng-if="wizard.apiValidText" ng-style="{'color':wizard.apiColor}">
+ <span id="testaut_wizard_api_results" ng-if="wizard.apiValidText" ng-style="{'color':wizard.apiColor}">
<i ng-class=" wizard.apiColor=='#16a085' ? 'ion-checkmark-circled':'ion-close-circled'"></i>&nbsp;{{wizard.apiValidText}}
<br />
</span>
@@ -100,7 +100,7 @@
<br />
<br />
<button class="button button-small icon icon-left ion-chevron-left" wz-previous>{{'kPrev' | translate}}</button>
- <button class="button button-small icon icon-right ion-chevron-right" ng-click="gotoLoginState()">{{'kWizGotoLogin'
+ <button id = "testaut_wizard_goto_login" class="button button-small icon icon-right ion-chevron-right" ng-click="gotoLoginState()">{{'kWizGotoLogin'
| translate}}</button>
</wz-step>
</wizard>