This commit is contained in:
Gabriel Bazán 2016-11-03 13:39:01 -03:00
commit 11b4ec1fcc
9 changed files with 97 additions and 73 deletions

View file

@ -5,23 +5,23 @@ angular.module('copayApp.controllers').controller('sendFeedbackController', func
switch ($scope.score) {
case 1:
$scope.reaction = gettextCatalog.getString("Ouch!");
$scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong. Is there anything we could do to improve your experience?");
$scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.");
break;
case 2:
$scope.reaction = gettextCatalog.getString("Oh no!");
$scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong. Is there anything we could do to improve your experience?");
$scope.comment = gettextCatalog.getString("There's obviously something we're doing wrong.");
break;
case 3:
$scope.reaction = gettextCatalog.getString("Thanks!");
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet. Is there anything we could do to improve your experience?");
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet.");
break;
case 4:
$scope.reaction = gettextCatalog.getString("Thanks!");
$scope.comment = gettextCatalog.getString("That's exciting to hear. We'd love to earn that fifth star from you - how could we improve your experience?");
$scope.comment = gettextCatalog.getString("That's exciting to hear. We'd love to earn that fifth star from you");
break;
case 5:
$scope.reaction = gettextCatalog.getString("Feedback!");
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet. Is there anything we could do to improve your experience?");
$scope.comment = gettextCatalog.getString("We're always looking for ways to improve BitPay wallet.");
break;
}

View file

@ -1,12 +1,27 @@
#rate-app-store {
background-color: #ffffff;
.skip {
margin: 10px;
color: #667;
}
.title {
font-size: 20px;
font-weight: bold;
color: $dark-gray;
margin: 20px 10px;
margin: 40px 10px;
text-align: center;
}
.subtitle {
padding: 10px 30px 20px 40px;
}
.buttons {
bottom: 0;
width: 100%;
position: absolute;
background-color: $subtle-gray;
.button {
margin-top: 40px;
margin-bottom: 30px;
}
}
}

View file

@ -1,22 +1,25 @@
#send-feedback {
background-color: #fff;
background-color: #ffffff;
.skip {
margin: 10px;
color: #667;
}
.title {
font-size: 20px;
font-weight: bold;
color: $dark-gray;
margin: 20px 10px;
margin-left: 10px;
}
.star {
margin: 20px 0px;
}
a {
font-size: 25px;
padding: 12px;
.gold {
color: #ffd700 !important;
}
.grey {
color: #667 !important;
a {
font-size: 25px;
padding: 12px;
.gold {
color: #ffd700;
}
.subtle-gray {
color: $subtle-gray;
}
}
}
.comment {
@ -27,7 +30,8 @@
color: $dark-gray;
}
textarea {
padding: 10px;
border-top: 1px solid $subtle-gray;
padding: 20px;
width: 100%;
}
}

View file

@ -1,4 +1,15 @@
#thanks-feedback {
background-color: #ffffff;
.item-heading {
border-style: none;
margin-top: 5px;
a {
color: $dark-gray;
}
i {
font-size: 40px;
}
}
.title {
font-size: 20px;
font-weight: bold;
@ -9,15 +20,21 @@
.subtitle {
padding: 10px 30px 20px 40px;
}
.row {
margin: 20px 0px 20px;
span {
margin-top: 15px;
display: block;
}
div {
text-align: center;
width: 100%;
.share-buttons {
bottom: 0;
width: 100%;
position: absolute;
background-color: $subtle-gray;
.row {
margin: 20px 0px 20px;
span {
margin-top: 15px;
display: block;
}
div {
text-align: center;
width: 100%;
}
}
}
}

View file

@ -118,21 +118,24 @@
position: absolute;
}
}
.starts {
.stars {
display: flex;
border-bottom: none;
.button {
background-color: #fff;
width: 100%;
outline: none;
border: none;
height:10px;
width:10px;
}
.gold {
color: #ffd700 !important;
color: #ffd700;
}
.grey {
color: #667 !important;
.subtle-gray {
color: $subtle-gray;
}
}
.continue-button {
.feedback-flow-button {
padding: 20px;
}
}