View Code? Open in Web Editor
NEW
Essential Nordic Walking, Heather Thorne - A website built to promote Heather and attract more people into the Nordic Walking community.
Home Page: http://essentialnordicwalking.com.au
JavaScript 25.78%
HTML 22.42%
CSS 12.17%
PHP 39.39%
ApacheConf 0.25%
enw-angularjs's People
enw-angularjs's Issues
Test For
when server returns 500 or 400 status, display error
when server returns 200 status, check success message is displayed through main controller
when calling sendEmail()
with empty arguments, assert error
when calling sendEmail()
with empty strings, assert error
when calling sendEmail()
with an invalid email format, assert error
Home cards when clicked should navigate to the appropriate page anchor
Some headings when scaled down for mobile displays are too big and should be reduced in size.
Users should not be allowed to edit the contents of the name field in the booking form. This value is pre-filled when selecting a card.
Once the menu icon is clicked the side nav displays and once that is dismissed, the menu icon remains in a focus state. In order to remove the focus style the user must focus on another element on the DOM.
Before:
After:
Test For
when server returns 500 or 400 status, display error
when server returns 200 status, check if all products are displayed
when no products, to render message "No Products Available"
set text color to black and layout-align="start center"
for login heading
when a card is clicked, it should scroll to the #bookingForm element and set the name to the select class.
Update Grid system in order to run smoothly;
Center the images and force Heather's personal picture to resize depending on the size (currently overflowing on mobile width); and
Apply missing styles.
Required .layout-fill override class due to Safari rendering engine.
.layout-fill { margin: 0 !important; width: 100% !important; min-height: 100% !important; height: auto; }
Test For
length of fields doesn't exceed database limits
submitting with empty fields, asserts error
submitting with filled fields, asserts success
submitting with filled fields expect optional fields, asserts success
when submitted, check if the success message displays (protractor)
submitting with empty "hire equipment" should assert an error
This field should have a default state of 'no' Ref: #39
Test For
length of field don't exceed database limits
submitting empty fields, asserts an error
submitting filled fields, asserts success
submitting invalid credentials, asserts error message ("Try again")
when submitted and success, assert if the page redirects to home state
when logged out and user tries to access unauthorized page, the redirectState is set.
test when submitted and success, the page is redirected to the redirectState (#47 )
Reuse some html content from previous views to sustain a consistent design.
Once the menu icon is clicked the side nav displays and once that is dismissed, the menu icon remains in a focus state. In order to remove the focus style the user must focus on another element on the DOM.
Before:
After:
Update styles in order to match design specification;
Update Grid system for it to run smoothly on multiple devices;
Force images to resize depending on the device width (currently overflowing on mobile and tablet formats); and
Fix form item positions.
Add name attribute to form element and rename attribute (without alpha-numeric characters)
Upon clicking the hamburger icon, the sidenav is not displayed.
Develop and design footer; and
Place it in all available pages.
Test for
when a unauthenticated user tries to access the protected state, it redirects them to the login state
Manage products page will be merged into the products page, since they have the same behaviour.
Remove the component directory
Remove the import statement in the index.module
Remove the ui-route definition in index.route
Handles sending email data to the restful api
Test For
when a card is clicked, it should change the button to say "Selected" (protractor)
when a card is clicked, it should scroll to page anchor (#bookingForm)
when a card is clicked, it should set the name input field to the class name
Test For:
simulate click event on each card and check if they go to correct page (check url href for #...)
add name attribute to form element and change to not include alpha-numeric characters (which breaks the validation)
Refer to Register Interest form for example.
Test For:
length of fields don't exceed database limits, asserts an error
submitting empty fields, asserts an error
submitting with filled fields, asserts success
submitting with filled fields expect for optional fields, asserts success
when submitted, check if success message displays (protractor)
Test For
length of fields doesn't exceed database limits
submitting with empty fields, asserts error
submitting with filled fields, asserts success
submitting with filled fields expect optional fields, asserts success
when submitted, check if the success message displays (protractor)
Add name attribute to form element and change name to not include alpha-numeric characters
Test For:
length of fields that don't exceed database limits
submitting with empty fields
submitting with filled fields
submitting with filled fields expect for optional fields
when submitted, check if success message displays (protractor)
Update form to match design specification;
Update sizes and center the form section.
Add edit icon to view product card
wrap element around ng-if="main.auth.isAuthenticated()"
The default state for the hire equipment field should be "no"
Requirements
Authentication
POST
Log email to database table
Send email using php mail server
URL : api/email
Request Structure
{
"formToken" : " string" ,
"name" : " string" ,
"email" : " string" ,
"phone" : " string" ,
"notes" : " string"
}
* phone, notes are optional
Response Structure
{
"success" : " boolean" ,
"message" : " string"
}
Database
Table Name : emailLogs
Table Structure
Name
DateType
id
int
name
varchar(300)
email
varchar(300)
phone
varchar(50)
notes
varchar(700)
formToken
varchar(300)