Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Qa accessibility #308

Open
wants to merge 180 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
1ed2f21
Update account.scss
PrakashDurlabhji Jul 18, 2019
c153633
Update tc-ui-variables.scss
PrakashDurlabhji Jul 18, 2019
0275adf
Update login.jade
PrakashDurlabhji Jul 18, 2019
f1124f0
Update toggle-password.directive.scss
PrakashDurlabhji Jul 19, 2019
ae98023
Update register.scss
PrakashDurlabhji Jul 19, 2019
979b70a
Update index.jade
PrakashDurlabhji Jul 19, 2019
2561756
Update login.scss
PrakashDurlabhji Jul 19, 2019
8e27be6
Deploy qa-accessibility on dev env
sushilshinde Jul 19, 2019
4c63f1d
MSFT-55 issue-2772 community app
sumitdaga Jul 19, 2019
e60be7c
MSFT-185 community app issue-2853
nahidshahin Jul 19, 2019
35388ad
fix for #2859
marioskranitsas Jul 19, 2019
2f544ab
back to login and privacy policy made clickable using tabs
romitrivigo Jul 19, 2019
0c90b31
added focus to other clickable items on tab
romitrivigo Jul 19, 2019
03f6559
Changes tips heading to level 2 instead of level 3, in register scree…
romitrivigo Jul 19, 2019
37bed23
changes for MSFT253
r0hit-gupta Jul 19, 2019
272dc61
Update register.scss
PrakashDurlabhji Jul 19, 2019
4903b81
Update tc-ui-variables.scss
PrakashDurlabhji Jul 19, 2019
5da8400
changes for MSFT88
r0hit-gupta Jul 19, 2019
dcd5173
social icons to be included by screen reader
romitrivigo Jul 19, 2019
a06b306
changes for MSFT-74
r0hit-gupta Jul 19, 2019
060ea9c
Update login.jade
PrakashDurlabhji Jul 19, 2019
9e92209
changes for MSFT-113
r0hit-gupta Jul 19, 2019
56fc79b
Update register.scss
PrakashDurlabhji Jul 19, 2019
ec0f9a7
Issue 2738 fix
dzanchett Jul 20, 2019
4e34ce4
bug fixes
dzanchett Jul 19, 2019
bb563cb
MSFT-41 community app issue-2763
nahidshahin Jul 20, 2019
7ac1661
changes for MSFT-230
r0hit-gupta Jul 21, 2019
68d75a7
Update tc-ui-variables.scss
PrakashDurlabhji Jul 21, 2019
87fd5cb
added tabindex to country field
romitrivigo Jul 22, 2019
f9847fb
Merge pull request #222 from PrakashDurlabhji/issue_2904
nkumar-topcoder Jul 22, 2019
c541fa7
Merge pull request #223 from PrakashDurlabhji/issue_2815
nkumar-topcoder Jul 22, 2019
dbfabc0
Merge pull request #250 from dzanchett/issue2906
nkumar-topcoder Jul 22, 2019
c171083
Merge pull request #228 from PrakashDurlabhji/issue_2762
nkumar-topcoder Jul 22, 2019
5792f39
Merge pull request #225 from PrakashDurlabhji/issue_2767
nkumar-topcoder Jul 22, 2019
e415124
Merge pull request #229 from PrakashDurlabhji/issue_2768
nkumar-topcoder Jul 22, 2019
0c4ecb8
Merge pull request #227 from PrakashDurlabhji/issue_2776
nkumar-topcoder Jul 22, 2019
f40ddfc
Merge branch 'qa-accessibility' into issue_2833
mishacucicea Jul 22, 2019
ad97ba0
fix merge.
mihai-cucicea Jul 22, 2019
cc2a303
Color was getting overwritten by another class.
mihai-cucicea Jul 22, 2019
e14bb1d
Merge branch 'qa-accessibility' into msft230
mishacucicea Jul 22, 2019
ed71c99
Merge pull request #239 from romitgit/MSFT-111-Issue#2812
nkumar-topcoder Jul 22, 2019
ac285f2
Merge pull request #236 from r0hit-gupta/msft230
nkumar-topcoder Jul 22, 2019
20a291a
Merge pull request #242 from PrakashDurlabhji/issue_2775
nkumar-topcoder Jul 22, 2019
4b81a07
update color
r0hit-gupta Jul 22, 2019
a76f1eb
Merge pull request #244 from romitgit/MSFT-138-Issue#2834
nkumar-topcoder Jul 22, 2019
bf661f9
Merge pull request #245 from r0hit-gupta/msft74
nkumar-topcoder Jul 22, 2019
6d70024
Merge pull request #247 from r0hit-gupta/msft113
nkumar-topcoder Jul 22, 2019
656cd5f
Merge pull request #253 from romitgit/MSFT-45-Issue#2766
nkumar-topcoder Jul 22, 2019
f865095
Merge pull request #240 from r0hit-gupta/msft-253
nkumar-topcoder Jul 22, 2019
e55bc74
update color
r0hit-gupta Jul 22, 2019
cfa1a88
Register username, email, password tooltip.
afrisalyp Jul 22, 2019
e509a0f
Update for issue 2897
afrisalyp Jul 23, 2019
f23b582
added lang attribute to html
romitrivigo Jul 23, 2019
3cc6406
Register page region.
afrisalyp Jul 23, 2019
400d8dd
replaced hardcoded color values with variables
romitrivigo Jul 23, 2019
aa20e3d
replaced hardcoded color values with tc variables
romitrivigo Jul 23, 2019
598ec32
Issue 2738 fix - register.jade
dzanchett Jul 23, 2019
674ef10
Merge branch 'qa-accessibility' into issue2738
dzanchett Jul 23, 2019
7efd015
Revert "issue 2768 fix"
mishacucicea Jul 23, 2019
b7e3038
Revert "Issue 2775 fix"
mishacucicea Jul 23, 2019
54b67a2
Merge pull request #251 from dzanchett/issue2738
nkumar-topcoder Jul 24, 2019
a54b4ae
Merge pull request #238 from romitgit/MSFT-221-Issue#2880
nkumar-topcoder Jul 24, 2019
0c1f20e
Merge pull request #237 from romitgit/MSFT-218-Issue#2877
nkumar-topcoder Jul 24, 2019
33d43bd
Update account.scss
PrakashDurlabhji Jul 24, 2019
5b86a82
Merge pull request #259 from appirio-tech/revert-242-issue_2775
nkumar-topcoder Jul 24, 2019
4a296f8
Merge pull request #1 from appirio-tech/qa-accessibility
PrakashDurlabhji Jul 24, 2019
1ee2e4b
Merge pull request #258 from appirio-tech/revert-229-issue_2768
nkumar-topcoder Jul 24, 2019
a781848
Update login.scss
PrakashDurlabhji Jul 24, 2019
7b400c1
Merge branch 'qa-accessibility' into issue_2768_1
PrakashDurlabhji Jul 24, 2019
960e6b6
Update toggle-password.directive.scss
PrakashDurlabhji Jul 24, 2019
1d057cc
Merge branch 'qa-accessibility' into issue_2833
PrakashDurlabhji Jul 24, 2019
b6d7225
Merge branch 'qa-accessibility' into issue_2868
PrakashDurlabhji Jul 24, 2019
ce087dd
Update tc-ui.scss
PrakashDurlabhji Jul 24, 2019
6a41b6e
Update toggle-password-with-tips.directive.jade
PrakashDurlabhji Jul 24, 2019
fdf8a0c
Update register.jade
PrakashDurlabhji Jul 24, 2019
3f6eb7d
reusing color from the variables file and made login color white.
mishacucicea Jul 24, 2019
d607e02
fix https://github.com/topcoder-platform/community-app/issues/2912
mfikria Jul 25, 2019
44812f5
MSFT-54 Fix page title. Set up the base for specifying individual tit…
gets0ul Jul 25, 2019
5b60d2a
Merge pull request #261 from PrakashDurlabhji/issue_2767_1
nkumar-topcoder Jul 25, 2019
700c732
Merge pull request #246 from PrakashDurlabhji/issue_2833
nkumar-topcoder Jul 25, 2019
7e657a3
Update tc-ui.scss
PrakashDurlabhji Jul 25, 2019
e83bd26
changes for MSFT-91
r0hit-gupta Jul 25, 2019
45a453d
Merge pull request #2 from appirio-tech/qa-accessibility
PrakashDurlabhji Jul 25, 2019
201d2aa
Update tc-ui-variables.scss
PrakashDurlabhji Jul 25, 2019
1798a70
Update register.scss
PrakashDurlabhji Jul 25, 2019
48d532e
Update register.scss
PrakashDurlabhji Jul 25, 2019
44e2281
Merge pull request #221 from PrakashDurlabhji/issue_2883
nkumar-topcoder Jul 26, 2019
66f15f3
Merge pull request #231 from sumitdaga/community-app-issue-2772
nkumar-topcoder Jul 26, 2019
e21001b
Merge pull request #241 from marioskranitsas/issue-2859
nkumar-topcoder Jul 26, 2019
9973b85
Merge pull request #263 from gets0ul/2771
nkumar-topcoder Jul 26, 2019
166278e
Merge pull request #234 from nahidshahin/community-app-issue-2853
nkumar-topcoder Jul 26, 2019
5793c95
merge from qa-accessibility
r0hit-gupta Jul 26, 2019
53cfcfe
update colors
r0hit-gupta Jul 26, 2019
b0d84bf
update colors
r0hit-gupta Jul 26, 2019
6113d26
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
r0hit-gupta Jul 26, 2019
7199559
changes for MSFT-91
r0hit-gupta Jul 26, 2019
55a262c
update colors
r0hit-gupta Jul 26, 2019
6887a4a
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
r0hit-gupta Jul 26, 2019
644735c
update colors
r0hit-gupta Jul 26, 2019
2c4432e
changes for MSFT-91
r0hit-gupta Jul 26, 2019
6fe6d66
Merge pull request #255 from romitgit/MSFT-69-Issue#2783
nkumar-topcoder Jul 26, 2019
d6d7e2f
Merge pull request #266 from r0hit-gupta/msft91
nkumar-topcoder Jul 26, 2019
be54d12
Merge branch 'qa-accessibility' into issue_2768_1
PrakashDurlabhji Jul 26, 2019
1139bae
merge and update
r0hit-gupta Jul 26, 2019
9682aeb
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
afrisalyp Jul 26, 2019
04f0a36
Merge branch 'register-region' of github.com:afrisalyp/accounts-app i…
afrisalyp Jul 26, 2019
10001c6
Fix after merge.
afrisalyp Jul 26, 2019
f81131b
Merge pull request #260 from PrakashDurlabhji/issue_2768_1
nkumar-topcoder Jul 27, 2019
d2ec521
Merge pull request #243 from r0hit-gupta/msft88
nkumar-topcoder Jul 27, 2019
4b15609
Issue 2738 fix
dzanchett Jul 28, 2019
e6a7aec
Merge branch 'qa-accessibility' into issue2738
dzanchett Jul 28, 2019
1599a35
Merge pull request #257 from afrisalyp/register-region
nkumar-topcoder Jul 28, 2019
de75ee3
Merge pull request #3 from appirio-tech/qa-accessibility
PrakashDurlabhji Jul 28, 2019
b2135de
Update login.scss
PrakashDurlabhji Jul 28, 2019
6aef727
Merge branch 'qa-accessibility' into community-app-issue-2763
mishacucicea Jul 28, 2019
d601266
Merge pull request #249 from nahidshahin/community-app-issue-2763
nkumar-topcoder Jul 28, 2019
dd575b1
Merge pull request #272 from dzanchett/issue2738
nkumar-topcoder Jul 28, 2019
a0730a1
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
r0hit-gupta Jul 28, 2019
97df24b
update colors
r0hit-gupta Jul 28, 2019
2b5e9fd
Merge branch 'qa-accessibility' into issue_2868
PrakashDurlabhji Jul 28, 2019
0bc5128
Merge pull request #273 from PrakashDurlabhji/issue_2768_2
nkumar-topcoder Jul 29, 2019
e890869
Revert "Issue 2768 fix"
nkumar-topcoder Jul 29, 2019
a3f2310
Merge pull request #269 from r0hit-gupta/msft230
nkumar-topcoder Jul 29, 2019
0cab420
Merge pull request #275 from appirio-tech/revert-273-issue_2768_2
nkumar-topcoder Jul 29, 2019
f9694b6
Merge branch 'qa-accessibility' into issue_2775_1
mishacucicea Jul 29, 2019
7abe112
Fixing colors
mihai-cucicea Jul 29, 2019
c6d9a7b
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
afrisalyp Jul 29, 2019
59b2fc2
Merge pull request #267 from PrakashDurlabhji/issue_2775_1
nkumar-topcoder Jul 29, 2019
7df2afe
Update account.scss
PrakashDurlabhji Jul 29, 2019
3a90220
Merge branch 'qa-accessibility' into issue_2883_1
PrakashDurlabhji Jul 29, 2019
e1b9151
Merge pull request #4 from appirio-tech/qa-accessibility
PrakashDurlabhji Jul 29, 2019
6617c9d
issue 2775 fix
PrakashDurlabhji Jul 29, 2019
8b0ac14
issue 2868 patch
PrakashDurlabhji Jul 29, 2019
ae919b6
Merge branch 'qa-accessibility' into issue_2868
PrakashDurlabhji Jul 29, 2019
1875bfd
remove unneeded css class.
mishacucicea Jul 29, 2019
be04fcf
issue 2777 fix
PrakashDurlabhji Jul 29, 2019
94541d8
Merge pull request #1 from appirio-tech/qa-accessibility
rashmi73 Jul 29, 2019
c719962
issue 3001 fix
rashmi73 Jul 29, 2019
e69e514
issue 2859 fix
rashmi73 Jul 29, 2019
504e9f2
Merge branch 'qa-accessibility' of https://github.com/appirio-tech/ac…
afrisalyp Jul 29, 2019
db5d202
added aria-label and back to login highlighte
sexta13 Jul 29, 2019
7baa2e7
Merge pull request #282 from rashmi73/issue_2859
nkumar-topcoder Jul 30, 2019
053486c
Merge pull request #278 from PrakashDurlabhji/issue_2775_2
nkumar-topcoder Jul 30, 2019
f3456af
Merge pull request #277 from PrakashDurlabhji/issue_2883_1
nkumar-topcoder Jul 30, 2019
643f8f8
Merge branch 'qa-accessibility' into issue_3001_1
mishacucicea Jul 30, 2019
e223738
Merge branch 'qa-accessibility' into issue_2777
mishacucicea Jul 30, 2019
4fe1bb1
Merge pull request #281 from rashmi73/issue_3001_1
nkumar-topcoder Jul 30, 2019
614b3cb
Merge pull request #279 from PrakashDurlabhji/issue_2777
nkumar-topcoder Jul 30, 2019
c975c6d
Chrome tooltip problems.
afrisalyp Jul 30, 2019
58f4a94
added missing bracket.
mihai-cucicea Jul 30, 2019
bdc3028
Merge branch 'qa-accessibility' into issue_2868
PrakashDurlabhji Jul 30, 2019
4ac64b2
Merge pull request #283 from appirio-tech/issue_2880
nkumar-topcoder Jul 30, 2019
1e1c882
Merge pull request #248 from PrakashDurlabhji/issue_2868
nkumar-topcoder Jul 30, 2019
04ce2ec
Merge branch 'qa-accessibility' into qa-accessibility-2912
mishacucicea Jul 30, 2019
83c4148
Registration form aria-label
afrisalyp Jul 31, 2019
58e0f86
Merge pull request #262 from tc-mfikria/qa-accessibility-2912
nkumar-topcoder Jul 31, 2019
498d0b7
Merge pull request #289 from afrisalyp/register-region-2
nkumar-topcoder Aug 1, 2019
4967f12
changes for MSFT-240
r0hit-gupta Aug 2, 2019
46b0071
revert change
r0hit-gupta Aug 2, 2019
96381c0
Merge pull request #256 from afrisalyp/qa-accessibility
nkumar-topcoder Aug 5, 2019
e2d76b0
changes for MSFT-59
r0hit-gupta Aug 6, 2019
1378c99
highlight links
r0hit-gupta Aug 6, 2019
35adc80
update highlight color
r0hit-gupta Aug 6, 2019
d2f0db9
Merge pull request #294 from r0hit-gupta/msft59
nkumar-topcoder Aug 6, 2019
d7699df
changes for MSFT-268
r0hit-gupta Aug 6, 2019
aa0ac70
Merge pull request #293 from r0hit-gupta/msft-240
nkumar-topcoder Aug 8, 2019
ae03bb8
Update config.yml
nkumar-topcoder Aug 8, 2019
1b14a62
Merge pull request #295 from r0hit-gupta/msft-268
nkumar-topcoder Aug 8, 2019
56d62c2
change color
r0hit-gupta Aug 21, 2019
5ad9ba3
add labels
r0hit-gupta Aug 22, 2019
ee50e5c
add landmarks
r0hit-gupta Aug 22, 2019
d4d11b1
add labels
r0hit-gupta Aug 22, 2019
3ebccec
Merge pull request #2 from appirio-tech/qa-accessibility
rashmi73 Aug 22, 2019
cc51268
issue 3233 fix
rashmi73 Aug 22, 2019
b28c90a
Merge pull request #301 from r0hit-gupta/contrast-fix
sushilshinde Aug 28, 2019
ca8fe39
Merge pull request #302 from r0hit-gupta/add-label-login
sushilshinde Aug 28, 2019
c7f6571
Merge pull request #304 from r0hit-gupta/add-label-register
sushilshinde Aug 28, 2019
71dd667
Resolve conflicts
r0hit-gupta Aug 28, 2019
9eefccd
Merge pull request #306 from rashmi73/issue_3233
sushilshinde Aug 28, 2019
e190c79
Merge pull request #303 from r0hit-gupta/add-landmarks
sushilshinde Aug 28, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 84 additions & 79 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,100 +1,105 @@
version: 2
jobs:
"build-dev":
defaults: &defaults
docker:
- image: node:5.10.1
steps:
- run:
name: Installation of build dependencies.
- image: node:5.10.1
install_dependency: &install_dependency
name: Installation of build and deployment dependencies.
command: |
set +e
apt-get update -y
apt-get install g++-4.8 -y
apt install awscli -y
apt install jq -y
chmod 777 /etc/mime.types
sed -i 's/^application\/x-font-woff.*/application\/font-woff\t\t\t\twoff/' /etc/mime.types
sed -i 's/^image\/vnd.microsoft.icon.*/image\/vnd.microsoft.icon/' /etc/mime.types
sed -i 's/^image\/x-icon.*/image\/x-icon\t\t\t\tico/' /etc/mime.types
install_deploysuite: &install_deploysuite
name: Installation of install_deploysuite.
command: |
git clone --branch v1.4 https://github.com/topcoder-platform/tc-deploy-scripts ../buildscript
cp ./../buildscript/master_deploy.sh .
cp ./../buildscript/buildenv.sh .
cp ./../buildscript/awsconfiguration.sh .
restore_cache_settings_for_build: &restore_cache_settings_for_build
key: ac-node-modules-{{ checksum "package.json" }}
save_cache_settings: &save_cache_settings
key: ac-node-modules-{{ checksum "package.json" }}
paths:
- node_modules
running_npm_build: &running_npm_build
name: Running Npm Build
command: |
set +e
apt-get update -y
apt-get install g++-4.8 -y
apt install awscli -y
chmod 777 /etc/mime.types
sed -i 's/^application\/x-font-woff.*/application\/font-woff\t\t\t\twoff/' /etc/mime.types
sed -i 's/^image\/vnd.microsoft.icon.*/image\/vnd.microsoft.icon/' /etc/mime.types
sed -i 's/^image\/x-icon.*/image\/x-icon\t\t\t\tico/' /etc/mime.types
source buildenvvar
npm rebuild node-sass
npm run build
npm run build-connector
npm test

builddeploy_steps: &builddeploy_steps
- checkout
- restore_cache:
key: ac-node-modules-{{ checksum "package.json" }}
- setup_remote_docker
- run: *install_dependency
- run: *install_deploysuite
- restore_cache: *restore_cache_settings_for_build
- run: npm install
- save_cache:
key: ac-node-modules-{{ checksum "package.json" }}
paths:
- node_modules
- run: npm rebuild node-sass
- run: npm run build
- run: npm run build-connector
- run: npm test
- run: ./deploy.sh DEV
"build-qa":
docker:
- image: node:5.10.1
steps:
- run:
name: Installation of build dependencies.
- save_cache: *save_cache_settings
- run:
name: "configuring environment"
command: |
apt-get update -y
apt-get install g++-4.8 -y
apt install awscli -y
chmod 777 /etc/mime.types
sed -i 's/^application\/x-font-woff.*/application\/font-woff\t\t\t\twoff/' /etc/mime.types
sed -i 's/^image\/vnd.microsoft.icon.*/image\/vnd.microsoft.icon/' /etc/mime.types
sed -i 's/^image\/x-icon.*/image\/x-icon\t\t\t\tico/' /etc/mime.types
- checkout
- restore_cache:
key: ac-node-modules-{{ checksum "package.json" }}
- run: npm install
- save_cache:
key: ac-node-modules-{{ checksum "package.json" }}
paths:
- node_modules
- run: npm run build
- run: npm run build-connector
- run: npm test
- run: ./deploy.sh QA
"build-prod":
docker:
- image: node:5.10.1
steps:
- run:
name: Installation of build dependencies.
./awsconfiguration.sh $DEPLOY_ENV
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-buildvar
- run: *running_npm_build
- deploy:
name: Running MasterScript.
command: |
set +e
apt-get update -y
apt-get install g++-4.8 -y
apt install awscli -y
chmod 777 /etc/mime.types
sed -i 's/^application\/x-font-woff.*/application\/font-woff\t\t\t\twoff/' /etc/mime.types
sed -i 's/^image\/vnd.microsoft.icon.*/image\/vnd.microsoft.icon/' /etc/mime.types
sed -i 's/^image\/x-icon.*/image\/x-icon\t\t\t\tico/' /etc/mime.types
- checkout
- restore_cache:
key: ac-node-modules-{{ checksum "package.json" }}
- run: npm install
- save_cache:
key: ac-node-modules-{{ checksum "package.json" }}
paths:
- node_modules
- run: npm rebuild node-sass
- run: npm run build
- run: npm run build-connector
- run: npm test
- run: ./deploy.sh PROD
# ./deploy.sh $DEPLOY_ENV
# ./awsconfiguration.sh $DEPLOY_ENV
source awsenvconf
./buildenv.sh -e $DEPLOY_ENV -b ${LOGICAL_ENV}-${APPNAME}-deployvar
source buildenvvar
./master_deploy.sh -d CFRONT -e $DEPLOY_ENV -c true

jobs:
# Build & Deploy against development backend
"build-dev":
<<: *defaults
environment:
DEPLOY_ENV: "DEV"
LOGICAL_ENV: "dev"
APPNAME: "accounts-app"
steps: *builddeploy_steps
"build-qa":
<<: *defaults
environment:
DEPLOY_ENV: "QA"
LOGICAL_ENV: "qa"
APPNAME: "accounts-app"
steps: *builddeploy_steps
"build-prod":
<<: *defaults
environment:
DEPLOY_ENV: "PROD"
LOGICAL_ENV: "prod"
APPNAME: "accounts-app"
steps: *builddeploy_steps

workflows:
version: 2
build:
jobs:
- build-dev:
context : org-global
filters:
branches:
only: [ dev, dev-circleci2 ]
only: [ dev, qa-accessibility ]
- build-qa:
context : org-global
filters:
branches:
only: qa
- build-prod:
context : org-global
filters:
branches:
only: master
only: master
2 changes: 2 additions & 0 deletions app/app-config.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ config = (

states['MEMBER_LOGIN'] =
url: '/member?retUrl&handle&password&return_to&client_id&response_type&state&redirect_uri&scope'
title: 'Login'
controller : 'TCLoginController as vm'
template: require('./views/tc/login')()
public: true
Expand All @@ -87,6 +88,7 @@ config = (
# message : (optional) A message handed by Identity Service when some error occurs
states['MEMBER_REGISTRATION'] =
url: '/member/registration?retUrl&utm_source&utm_medium&utm_campaign&userJWTToken&auth0Jwt&auth0Refresh&message'
title: 'Register'
params: { 'auth0Data', 'regForm' }
controller : 'TCRegistrationController as vm'
template: require('./views/tc/register.jade')()
Expand Down
2 changes: 2 additions & 0 deletions app/app-run.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ run = ($log, $rootScope, $state, $urlRouter, $location) ->

# hide common footer and banner for connect pages to allow new styled footer for connect
$rootScope.hideCommonFooter = toState.url && toState.url.indexOf('/connect') != -1
# page title
$rootScope.pageTitle = toState.title
path = $location.path()
queryString = ''
referrer = ''
Expand Down
8 changes: 4 additions & 4 deletions app/index.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
doctype html
html(ng-app='accounts')
html(ng-app='accounts', xmlns='http://www.w3.org/1999/xhtml', lang='en', xml:lang='en')
head
meta(http-equiv='Content-type', content='text/html; charset=utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge, chrome=1')
meta(name='viewport', content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no')
meta(name='viewport', content='width=device-width, initial-scale=1')
base(href='/')
title Topcoder
title(ng-bind="pageTitle ? pageTitle + ' | Topcoder' : 'Topcoder'")
style.
.ng-hide {
display: none !important;
Expand All @@ -16,7 +16,7 @@ html(ng-app='accounts')
.img
ui-view.view-container

div(ui-view="footer", ng-controller="FooterController as vm", ng-hide="hideCommonFooter")
div(ui-view="footer", ng-controller="FooterController as vm", ng-hide="hideCommonFooter", role="contentinfo" aria-label="Footer")
.account-footer
a.privacy-policy(ng-href="https://www.topcoder.com/community/how-it-works/privacy-policy/", target="_blank")
| Privacy Policy
Expand Down
8 changes: 6 additions & 2 deletions app/scripts/directives/toggle-password-directive-tips.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import angular from 'angular'

angular.module('accounts.directives').directive('togglePasswordWithTips', togglePasswordWithTips)

function togglePasswordWithTips() {
togglePasswordWithTips.$inject = ['$timeout']

function togglePasswordWithTips($timeout) {
return {
restrict: 'E',
require: '^form',
Expand Down Expand Up @@ -46,7 +48,9 @@ import angular from 'angular'
passwordInput.focus()
} else {
// If you are blurring from the password input and clicking anywhere but the checkbox
vm.passwordFocus = false
$timeout(function () {
vm.passwordFocus = false
}, 100)

if (vm.password === '' || vm.password === undefined) {
vm.placeholder = vm.defaultPlaceholder
Expand Down
16 changes: 14 additions & 2 deletions app/scripts/tc/register.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { getNewJWT } from '../../../core/auth.js'

angular.module('accounts').controller('TCRegistrationController', TCRegistrationController)

TCRegistrationController.$inject = ['$log', '$scope', '$state', '$stateParams', 'UserService', 'ISO3166']
TCRegistrationController.$inject = ['$log', '$scope', '$state', '$stateParams', 'UserService', 'ISO3166', '$timeout']

function TCRegistrationController($log, $scope, $state, $stateParams, UserService, ISO3166) {
function TCRegistrationController($log, $scope, $state, $stateParams, UserService, ISO3166, $timeout) {
var vm = this
vm.registering = false
// auth0 login data, passed from another states as state param
Expand Down Expand Up @@ -58,6 +58,18 @@ import { getNewJWT } from '../../../core/auth.js'
vm.ssoForced = !!(identifySSOProvider(email))
})

$scope.usernameFocusLoss = function () {
$timeout(function () {
vm.usernameTips = false
}, 100);
}

$scope.emailFocusLoss = function () {
$timeout(function () {
vm.emailTips = false
}, 100);
}

vm.updateCountry = function (angucompleteCountryObj) {
var countryCode = _.get(angucompleteCountryObj, 'originalObject.code', undefined)

Expand Down
10 changes: 8 additions & 2 deletions app/styles/connect/connect.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "../tc-ui-variables";
@import "../tc-ui-variables.scss";

.connect-accounts-container {
background: $tc-gray-neutral-light;
Expand Down Expand Up @@ -75,11 +75,17 @@

p.error {
text-align: center;
color: $tc-red-110;
}

a {
color: #0B71E6;
color: $tc-dark-blue-90;
text-decoration: none;
outline-width: 3px;
}

a:focus{
outline: 2px solid $tc-dark-blue-70;
}

.small-text {
Expand Down
4 changes: 4 additions & 0 deletions app/styles/connect/login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
flex-direction: column;
align-items: center;

span {
text-decoration: underline;
}

hr {
width: 50%;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import 'topcoder/tc-includes';
@import "../tc-ui-variables.scss";

// Toggle password with password tips directive
toggle-password-with-tips {
Expand All @@ -20,7 +21,7 @@ toggle-password-with-tips {

.input-btn .input:focus ~ .tc-btn {
color: #FFFFFF;
background: #59A7FF;
background: $tc-dark-blue-90;
}

.input-btn .tc-btn,
Expand All @@ -30,7 +31,7 @@ toggle-password-with-tips {
position: absolute;
right: 1px;
top: 1px;
background: #DCDCE0;
background: $tc-gray-60;
border: 0;
height: 38px;
border-radius: 0 3px 3px 0;
Expand Down
14 changes: 5 additions & 9 deletions app/styles/directives/toggle-password.directive.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import 'topcoder/tc-includes';
@import '../tc-ui-variables.scss';

// Toggle password directive
toggle-password {
Expand Down Expand Up @@ -29,25 +30,20 @@ toggle-password {
.input-btn .tc-btn:active {
position: absolute;
right: 1px;
top: 1px;
background: #DCDCE0;
top: 21px;
background: $tc-white;
border: 0;
border-left: 1px solid $tc-gray-30;
height: 38px;
border-radius: 0 3px 3px 0;
box-shadow: none;
line-height: inherit;
color: $tc-gray-80;
}

button#toggleInputTypeBtn {
width: 75px;
margin-top: 0px;
}

label {
display: flex !important;
line-height: 20px !important;
position: absolute;
top: 10px;
right: 0px;
}
}
Loading