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

Promote to prod - Bug Bash 3 #1096

Merged
merged 14 commits into from
Mar 22, 2017
Merged
Show file tree
Hide file tree
Changes from 2 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/directives/challenge-tile/challenge-tile.jade
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
.phase-action(ng-show="challenge.userAction", ng-switch="challenge.userAction")
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'submit'}}") Submit
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'viewScorecards'}}") View Scorecards
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals

.submitted(ng-switch-when="Submitted") Submitted

Expand Down Expand Up @@ -100,7 +100,7 @@
.phase-action(ng-switch="challenge.userAction")
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Submit", ng-href="{{challenge|challengeLinks:'submit'}}") Submit
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'viewScorecards'}}") View Scorecards
a.tc-btn.tc-btn-s.tc-btn-wide.tc-btn-ghost.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals
a.tc-btn.tc-btn-s.tc-btn-wide.btn-danger.submit(ng-switch-when="Appeal", ng-href="{{challenge|challengeLinks:'completeAppeals'}}") Complete Appeals

.submitted(ng-switch-when="Submitted") Submitted

Expand Down
32 changes: 32 additions & 0 deletions assets/css/directives/challenge-tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,22 @@ challenge-tile .challenge.tile-view {
.submit {
margin: 12px;
display: block;

&.btn-danger {
color: #e66e66;
background-color: $white;
border-color: #e66e66;

&:hover {
background-color: #e66e66;
color: $white;
}

&:active {
background-color: #e0493e;
box-shadow: inset 0px 1px 1px 0px rgba(0,0,0,0.30);
}
}
}

.submitted {
Expand Down Expand Up @@ -508,6 +524,22 @@ challenge-tile .challenge.list-view {
.submit {
display: block;
margin: 6px 0;

&.btn-danger {
color: #e66e66;
background-color: $white;
border-color: #e66e66;

&:hover {
background-color: #e66e66;
color: $white;
}

&:active {
background-color: #e0493e;
box-shadow: inset 0px 1px 1px 0px rgba(0,0,0,0.30);
}
}
}

.submitted {
Expand Down