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

Add outstanding error and css updates #645

Merged
merged 1 commit into from
Jan 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion app/submissions/submit-file/submit-file.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
});
}

console.log('ABOUT TO SEND: ', vm.submissionsBody);
console.log('Body for request: ', vm.submissionsBody);
SubmissionsService.getPresignedURL(vm.submissionsBody, files);
}
}
Expand Down
10 changes: 6 additions & 4 deletions app/submissions/submit-file/submit-file.jade
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

p Please be sure to double-check that you have submitted the correct files and that your JPG files (if applicable) are in RGB color mode.

a(href="http://help.{{DOMAIN}}/design/submitting-to-a-design-challenge/formatting-your-submission-for-design-challenges/") Learn more about formatting your submission file
a(ng-href="http://help.{{DOMAIN}}/design/submitting-to-a-design-challenge/formatting-your-submission-for-design-challenges/") Learn more about formatting your submission file

.form-block__fields
.fieldset
Expand Down Expand Up @@ -103,7 +103,7 @@
.form-block__text
p Check to see if your font is on the Studio Standard Fonts list. If it is, leave the URL field blank.

p Read the #[a(href="Need link") Studio Fonts Policy].
p Read the #[a(ng-href="http://help.{{DOMAIN}}/design/design-copyright-and-font-policies/font-policy-for-design-challenges/") Studio Fonts Policy].

p If your font is not on the list, you must provide the URL to the font page (not file) from one of the approved font websites in the dropdown box.

Expand All @@ -116,7 +116,7 @@
.form-block__title Did you use stock art?

.form-block__text
p If you used any stock photos in your design mocks, please provide the location and details so that the client can obtain them. Follow the guidelines at our #[a(href="Need link") Studio Stock Art Policy].
p If you used any stock photos in your design mocks, please provide the location and details so that the client can obtain them. Follow the guidelines at our #[a(ng-href="http://help.{{DOMAIN}}/design/design-copyright-and-font-policies/policy-for-stock-photos-in-design-submissions/") Studio Stock Art Policy].

.form-block__fields
.fieldsets
Expand Down Expand Up @@ -149,7 +149,9 @@
button.fieldset__button.tc-btn.tc-btn-s(type="button", ng-click="vm.createAnotherStockArtFieldset()") + Add Stock Photo

.panel-footer
p Submitting your files means you hereby agree to the #[a(href="https://www.{{DOMAIN}}/community/how-it-works/terms/", target="_blank") Topcoder terms of use] and to the extent your uploaded file wins a Topcoder Competition, you hereby assign, grant, and transfer to Topcoder all rights in and title to the Winning Submission (as further described in the terms of use).
p Submitting your files means you hereby agree to the #[a(ng-href="https://www.{{DOMAIN}}/community/how-it-works/terms/", target="_blank") Topcoder terms of use] and to the extent your uploaded file wins a Topcoder Competition, you hereby assign, grant, and transfer to Topcoder all rights in and title to the Winning Submission (as further described in the terms of use).

p.tc-error-messages(ng-show="vm.submissionForm.hasAgreedToTerms && submissionForm.$invalid") There are outstanding problems with this page. Fix them before you can upload your submission.

.checkbox.flex.center
input(type="checkbox", ng-model="vm.submissionForm.hasAgreedToTerms", id="agree-to-terms", required)
Expand Down
10 changes: 8 additions & 2 deletions assets/css/submissions/submit-file.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
.panel-footer {
text-align: center;

p {
p:first-child {
margin-bottom: 30px;
@include font-with-weight('Merriweather Sans', 300);
font-size: 13px;
Expand All @@ -18,6 +18,13 @@
text-align: left;
}

.tc-error-messages {
width: 100%;
max-width: none;
margin-bottom: 30px;
text-align: center;
}

.checkbox {
label {
margin-left: 10px;
Expand Down Expand Up @@ -45,7 +52,6 @@ tc-form-fonts {
}

.Select {
max-width: 300px;
margin-bottom: 20px;
}

Expand Down