Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' into release
Browse files Browse the repository at this point in the history
Conflicts:
	src/jade/tabs/login/form.jade
  • Loading branch information
vhpoet committed Feb 6, 2015
2 parents 67c4e02 + affe99e commit 871032d
Show file tree
Hide file tree
Showing 12 changed files with 58 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"license": "ISC",
"scripts": {
"test": "./node_modules/.bin/karma start test/karma.conf.js",
"test-travis": "./node_modules/.bin/karma start test/karma.conf.js --single-run --browsers Firefox && cat ./coverage/*/lcov.info | ./node_modules/.bin/coveralls"
"test-travis": "./node_modules/.bin/karma start test/karma.conf.js --single-run --browsers Firefox"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/jade/client/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

a.exchange(href="#/exchange", ng-class="{active: $route.current.tabName == 'exchange'}")
span.nav-icon.nav-icon-exchange
span(l10n) Convert
span(l10n) Trade (simple)
//- a.sub(href="#/exchange", ng-class="{active: $route.current.tabName == 'exchange'}", l10n) Convert
a.sub(href="#/trade", ng-class="{active: $route.current.tabName == 'trade'}", l10n) Trade
a.sub(href="#/trade", ng-class="{active: $route.current.tabName == 'trade'}", l10n) Trade (advanced)

a.fund(href="#/xrp", ng-class="{active: $route.current.tabName == 'xrp'}")
span.nav-icon.nav-icon-advanced
Expand Down
8 changes: 5 additions & 3 deletions src/jade/client/navbar.jade
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ nav.navbar(role="navigation", ng-controller="NavbarCtrl")
a(href="#/xrp", l10n) Fund
li(ng-class="{active: $route.current.tabName == 'withdraw'}")
a(href="#/withdraw", l10n) Withdraw
div.auth-attention.banner.text-center(ng-if="recovered", ng-show="recovered")
h4(l10n) Your account was successfully recovered and encrypted with the new password you provided!
a(href="#", ng-click="recovered = false", l10n) dismiss
.container.recover-status-wrapper.text-center.ng-scope(ng-if='recovered', ng-show='recovered')
.alert.alert-info
h4.tx-status(l10n='l10n')
| Your account was successfully recovered and encrypted with the new password you provided!
a.dismiss(href='#', ng-click='recovered = false', l10n='l10n') ×
4 changes: 2 additions & 2 deletions src/jade/tabs/banner/unfunded.jade
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ div.auth-attention.banner
h4(l10n) Welcome to Ripple Trade! Your account needs to be activated. You can activate it in 2 ways:
ul
li(l10n) Have another user send XRP to your Ripple name (~{{userCredentials.username}}).&#32
a(href="https://ripple.com/knowledge_center/activating-your-wallet/", target="_blank") Suggestions for getting XRP.
a(href="https://ripple.com/knowledge_center/activating-your-wallet/", target="_blank") Suggestions for getting XRP.&#32
li(l10n)
a(href="#/btc") Deposit BTC
a(href="#/btc") Deposit BTC&#32
15 changes: 9 additions & 6 deletions src/jade/tabs/login/form.jade
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,19 @@ div.row.row-padding-small.twoFactor(ng-show="twoFactor")
span.status.verifyText(ng-show="twoFactor.via === 'sms'", l10n) Please enter the verification code from the SMS message sent to your device:
span.status.verifyText(ng-show="twoFactor.via === 'app'", l10n) Please enter the verification code from the Authy app installed on your device:
span.maskedPhone(ng-bind="maskedPhone")
span
button.btn.btn-cancel.btn-nomargin-xs(type="button", ng-click="requestToken()")
span(ng-show="twoFactor.via === 'sms'", l10n) Resend
span(ng-show="twoFactor.via === 'app'", l10n) Send Via SMS
.label-wrapper.col-xs-12
label(for='token', l10n) Verification Code
.form-group.col-xs-12
.form-group.col-xs-12.col-sm-8.col-md-8.col-lg-7
input.form-control(type='number', name='token', ng-model='token', rp-focus)
.form-group.col-xs-12.col-sm-8.col-md-8.col-lg-7
.row
.col-xs-6
button.btn.btn-success.btn-block(type="button", ng-click="requestToken()")
span(ng-show="twoFactor.via === 'sms'", l10n) Resend
span(ng-show="twoFactor.via === 'app'", l10n) Send Via SMS
.col-xs-6
a.btn.btn-cancel.btn-block(ng-click="cancel2FA()", l10n) cancel
.input-group.col-xs-12
label
input.rememberMe(name='rememberMe', type='checkbox', ng-model='rememberMe')
span(for='rememberMe', l10n) Remember me on this device for 30 days

2 changes: 1 addition & 1 deletion src/jade/tabs/register.jade
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ section.col-xs-12.content(ng-controller="RegisterCtrl")
label(for='register_masterkey', l10n) Secret key 
a.hide-key(href="", ng-click="showMasterKeyInput=false", l10n) hide
div.register_masterkey
input.form-control#register_masterkey(name='register_masterkey', type='text',
input.form-control#register_masterkey(name='register_masterkey', type='password',
autocomplete='off', ng-model="masterkey", rp-master-key, rp-master-address-exists,
rp-focus)
div.inputSpinner(ng-hide="!checkingMasterkey")
Expand Down
4 changes: 2 additions & 2 deletions src/jade/tabs/security.jade
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ section.col-xs-12.content(ng-controller="SecurityCtrl")
.col-xs-9.col-md-5.col-sm-9
input.form-control#verifyToken(name="verifyToken", ng-model="verifyToken")
.col-xs-3.col-md-3.col-sm-3
button.btn.btn-default.btn-block(type="button", ng-disabled="isRequesting",
button.btn.btn-cancel.btn-block(type="button", ng-disabled="isRequesting",
ng-click="requestToken()")
img(src="img/button-s.png", class="loader", ng-show="isRequesting")
span(class="loading_text", ng-hide="via === 'app'", l10n) Resend Code
span(ng-show="via === 'app'", l10n) Send Via SMS
span(class="sms-txt", ng-show="via === 'app'", l10n) Send Via SMS
.row
.col-xs-8.col-sm-3
button.btn.btn-primary.btn-block(type="button", ng-disabled="isVerifying", ng-click="enable2FA()")
Expand Down
2 changes: 1 addition & 1 deletion src/js/tabs/recover.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ RecoverTab.prototype.angular = function (module) {

var message = err.message || err;
if (err.message == 'Invalid ECDSA signature') {
message = 'Please check your secret key';
message = 'Please check your secret key ';
}

$scope.recoverError = message;
Expand Down
24 changes: 23 additions & 1 deletion src/less/ripple/content.less
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,29 @@ a.danger {
.ripple-addon {
font-size: 18px;
}

.alert {
position: relative;
.tx-status {
font: 12px 'OpenSansRegular';
font-weight: normal;
margin: 0;
text-align: left;
}
.dismiss {
position: absolute;
right: 10px;
top: 14px;
font-family: "Helvetica Neue Bold";
font-size: 21px;
font-weight: bold;
color: @black;
text-decoration: none;
opacity: 0.2;
&:hover {
opacity: 0.5;
}
}
}
.auth-attention {
margin-bottom: 20px;
font-size: 13px;
Expand Down
7 changes: 7 additions & 0 deletions src/less/ripple/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,13 @@ header {
display: none;
}
}
.recover-status-wrapper {
margin-top: 30px;
.alert {
margin-left: 15px;
margin-right: 15px;
}
}
}

@sideNavWidth: 150px;
Expand Down
3 changes: 3 additions & 0 deletions src/less/ripple/tabs.less
Original file line number Diff line number Diff line change
Expand Up @@ -1570,6 +1570,9 @@
button.spinner {
padding-left:0;
}
.sms-txt {
text-transform: lowercase;
}
}

.sessionUnlock {
Expand Down
3 changes: 2 additions & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ module.exports = function(config) {
autoWatch: true,

// coverage
reporters: ['progress', 'coverage'],
// reporters: ['progress', 'coverage'],
reporters: ['progress'],

preprocessors: {
'src/js/**/*.js': ['coverage']
Expand Down

0 comments on commit 871032d

Please sign in to comment.