This repository has been archived by the owner on Jan 17, 2024. It is now read-only.
forked from 18F/dol-whd-14c
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from AppliedIS/feature-autosave
auto-save and landing page updates
- Loading branch information
Showing
19 changed files
with
211 additions
and
83 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
23 changes: 16 additions & 7 deletions
23
DOL.WHD.Section14c.Web/src/modules/components/userLoginForm/userLoginFormTemplate.html
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,7 +1,16 @@ | ||
<div class="login"> | ||
<h2>Log in</h2> | ||
<div><label>Email</label><input name="email" type="text" placeholder="Email" ng-model="formVals.email" /></div> | ||
<div><label>Password</label><input name="password" type="password" placeholder="Password" ng-model="formVals.pass" /><div class="showpass"><a>Show Password</a></div></div> | ||
<div class="loginbtn"><button type="submit" ng-click="onSubmitClick()">Submit</button></div> | ||
<div class="forgotpass"><a>Forgot Your Password?</a></div> | ||
</div> | ||
<form ng-submit="onSubmitClick()"> | ||
<div class="login"> | ||
<h2>Log in</h2> | ||
<div><label for="userName">Email</label><input name="userName" id="userName" type="email" placeholder="Email" ng-model="formVals.email" /></div> | ||
<div><label for="password">Password</label><input name="password" id="password" type="{{inputType}}" placeholder="Password" ng-model="formVals.pass" /> | ||
<div class="showpass"> | ||
<a href="" ng-click="hideShowPassword()"><span ng-show="inputType != 'password'">Hide</span><span ng-show="inputType === 'password'">Show</span> Password</a> | ||
</div></div> | ||
<div class="loginbtn"><button type="submit">Log in</button></div> | ||
<div class="forgotpass"><a href="" ng-click="forgotPassword()">Forgot Your Password?</a></div> | ||
</div> | ||
<div class="login"> | ||
<div><strong>Questions?</strong></div> | ||
<div>Contact the <a>Wage and Hour office closest to you</a></div> | ||
</div> | ||
</form> |
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
66 changes: 36 additions & 30 deletions
66
...tion14c.Web/src/modules/components/userRegistrationForm/userRegistrationFormTemplate.html
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,30 +1,36 @@ | ||
<div class="reghdr"> | ||
<h2>Section 14(c) Certificate Application</h2> | ||
<p>We are now accepting Section 14(c) Certificate Applications electronically.</p> | ||
<ul> | ||
<li>All employers, including current Certificate Holders, previous Certificate Holders and new applicants, | ||
will have to create an account in order to submit the form electronically.</li> | ||
<li>The Employer's EIN is required to create an account.</li> | ||
<li>Once the Employer's account is created, additional users can be added.</li> | ||
<li>The electronic form includes both form WH-226 and WH-226A.</li> | ||
<li>As of 12/31/2016, paper forms will no longer be accepted.</li> | ||
</ul> | ||
<p>Read our <a>FAQs for Electronic Section 14(c) Certificate Application</a></p> | ||
<hr/> | ||
</div> | ||
<div class="createAcct"> | ||
<h2>Create an Account</h2> | ||
<div><label>Employer Identification Number (EIN)</label><input class="ein" type="text" placeholder="EIN (XX-XXXXXXX)" ng-model="formVals.ein" /><div><a>Why do you need an EIN to create an account?</a></div></div> | ||
<div><label>Email Address</label><input type="text" placeholder="Email" ng-model="formVals.email" /></div> | ||
<div><label>Password</label><input type="password" placeholder="Password" ng-model="formVals.pass" /><div class="showpass"><a>Show Password</a></div></div> | ||
<div><label>Confirm Password</label><input type="password" placeholder="Confirm Password" ng-model="formVals.confirmPass" /></div> | ||
<div | ||
vc-recaptcha | ||
theme="'light'" | ||
key="model.key" | ||
on-create="setWidgetId(widgetId)" | ||
on-success="setResponse(response)" | ||
on-expire="cbExpiration()" | ||
class="regcapt"></div> | ||
<div class="regbtn"><button type="submit" ng-click="onSubmitClick()">Submit</button></div> | ||
</div> | ||
<form ng-submit="onSubmitClick()"> | ||
<p>We are now accepting Section 14(c) Certificate Applications electronically.</p> | ||
<ul> | ||
<li>All employers, including current Certificate Holders, previous Certificate Holders and new applicants, | ||
will have to create an account in order to submit the form electronically.</li> | ||
<li>The Employer's EIN is required to create an account.</li> | ||
<li>Once the Employer's account is created, additional users can be added.</li> | ||
<li>The electronic form includes both form WH-226 and WH-226A.</li> | ||
<li>As of 12/31/2016, paper forms will no longer be accepted.</li> | ||
</ul> | ||
<p>Read our <a>FAQs for Electronic Section 14(c) Certificate Application</a></p> | ||
<hr/> | ||
</div> | ||
<div class="createAcct"> | ||
<h2>Create an Account</h2> | ||
<div><label for="EIN">Employer Identification Number (EIN)</label><input class="ein" name="EIN" id="EIN" type="text" placeholder="EIN (XX-XXXXXXX)" ng-model="formVals.ein" /><div><a>Why do you need an EIN to create an account?</a></div></div> | ||
<div><label for="registerEmail">Email Address</label><input type="email" name="registerEmail" id="registerEmail" placeholder="Email" ng-model="formVals.email" /></div> | ||
<div><label for="registerPassword">Password</label><input type="{{inputType}}" name="registerPassword" id="registerPassword" placeholder="Password" ng-model="formVals.pass" /> | ||
<div class="showpass"> | ||
<a href="" ng-click="hideShowPassword()"><span ng-show="inputType != 'password'">Hide</span><span ng-show="inputType === 'password'">Show</span> Password</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div><label for="confirmPassword">Confirm Password</label><input type="password" name="confirmPassword" id="confirmPassword" placeholder="Confirm Password" ng-model="formVals.confirmPass" /></div> | ||
<div | ||
vc-recaptcha | ||
theme="'light'" | ||
key="model.key" | ||
on-create="setWidgetId(widgetId)" | ||
on-success="setResponse(response)" | ||
on-expire="cbExpiration()" | ||
class="regcapt" | ||
title="reCaptcha" | ||
></div> | ||
<div class="regbtn"><button type="submit">Register</button></div> | ||
</form> |
8 changes: 8 additions & 0 deletions
8
DOL.WHD.Section14c.Web/src/modules/pages/forgotPasswordPageController.js
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,8 @@ | ||
'use strict'; | ||
|
||
module.exports = function(ngModule) { | ||
ngModule.controller('forgotPasswordPageController', function($scope, $location, stateService) { | ||
'ngInject'; | ||
'use strict'; | ||
}); | ||
} |
1 change: 1 addition & 0 deletions
1
DOL.WHD.Section14c.Web/src/modules/pages/forgotPasswordPageTemplate.html
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 @@ | ||
Forgot Password |
40 changes: 19 additions & 21 deletions
40
DOL.WHD.Section14c.Web/src/modules/pages/landingPageTemplate.html
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,27 +1,25 @@ | ||
<div class="header-title-bar"> | ||
<div class="header-title"> | ||
<h1>Application for Authority to Employ Workers with Disabilities at Subminimum Wages</h1> | ||
<h2>OMB NO: 1235-0001</h2> | ||
<h2>REVXX/20XX</h2> | ||
<div class="usa-grid"> | ||
<h2>Section 14(c) Certificate Application</h2> | ||
<div ng-if="stateService.user.email"> | ||
<div ng-show="!stateService.formData.saved"> | ||
<button class="save-button" | ||
onclick="window.location='#/section/assurances';">Start A New Application</button> | ||
</div> | ||
<div class="header-logo"> | ||
<img ng-src="{{ loadImage('dol_seal.svg') }}" /> | ||
<img ng-src="{{ loadImage('whd_logo.jpg') }}" /> | ||
</div> | ||
</div> | ||
<div class="header-status-bar"> | ||
<p class="pull-left">EIN: <span class="header-ein">{{ stateService.ein ? stateService.ein : "XX-XXXXXXX" }}</span></p> | ||
<p class="pull-right"><a href="" ng-click="vm.userClick()">{{ stateService.user.email ? stateService.user.email : "Username" }}</a> | <a href="" ng-click="vm.saveClick()">Save Work & Sign Out</a></p> | ||
</div> | ||
<div ng-if="stateService.user.email"> | ||
<div> | ||
<button onclick="window.location='#/section/assurances';" class="save-button">Start A New Application</button> | ||
<div ng-show="stateService.formData.saved"> | ||
<button class="save-button" | ||
onclick="window.location='#/section/assurances';">Continue Application</button> | ||
</div> | ||
<div> | ||
<a href="#/changePassword">Change Password</a> | ||
<a href="#/changePassword">Change Password</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div ng-if="!stateService.user.email"> | ||
Welcome! Please <a href="#/login">login</a> or <a href="#/register">register</a> | ||
<div class="usa-grid" | ||
ng-if="!stateService.user.email"> | ||
<div class="usa-width-one-half"> | ||
<user-registration-form></user-registration-form> | ||
</div> | ||
<div class="usa-width-one-half"> | ||
<user-login></user-login> | ||
</div> | ||
</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
Oops, something went wrong.