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

Css updates #642

Merged
merged 4 commits into from
Jan 6, 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
4 changes: 2 additions & 2 deletions app/submissions/submissions.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
var isPhaseSubmission = _.some(challenge.currentPhases, function(phase) {
if (phase.phaseStatus === 'Open') {
if (phase.phaseType === 'Submission') {
phaseType = 'Submission';
phaseType = 'SUBMISSION';
phaseId = phase.id;
return true;

} else if (phase.phaseType === 'Checkpoint Submission') {
phaseType = 'Checkpoint_Submission';
phaseType = 'CHECKPOINT_SUBMISSION';
phaseId = phase.id;
return true;
}
Expand Down
6 changes: 4 additions & 2 deletions app/submissions/submit-file/submit-file.jade
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
.mobile-redirect__body
p Our team is working hard on new features, and file upload currently only works on the web. Please open this page on your desktop if you want to create a submission.

a Learn more about formatting your submission file
a(ng-href="TODO: Need Link") Learn more about formatting your submission file

a.tc-btn.tc-btn-s(ng-click="'TODO: go back to challenge details'") Back to Challenge Details
a.tc-btn.tc-btn-s(ng-href="https://www.{{DOMAIN}}/challenge-details/{{submissions.challengeId}}/?type={{submissions.track}}") Back to Challenge Details

.panel-body
form.form-blocks(name="submissionForm", role="form", ng-submit="submissionForm.$valid && vm.uploadSubmission()", novalidate)
Expand Down Expand Up @@ -112,6 +112,8 @@
.form-block__fields
.fieldsets
ng-form.fieldset(name="font{{$index + 1}}", ng-repeat="font in vm.submissionForm.fonts track by font.id")
label.tc-label Font Source

dropdown(
name="'font-source{{$index + 1}}'",
options="vm.fontList{{$index + 1}}",
Expand Down
10 changes: 10 additions & 0 deletions assets/css/submissions/submit-file.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,15 @@
}

.submitterRank {
width: 100px;
margin-top: 10px;
}

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

.tc-error-messages {
max-width: 500px;
}