Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
slackve committed Sep 13, 2019
2 parents 41cf48b + ca5e355 commit 6a9f4b0
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 12 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>-->
<div class="header">

<div class="logo"> <img class=" responsive" src="@/assets/img/logo-proximax-sirius-faucet_new.svg"> {{version}}</img> </div>
<div class="logo"> <img class=" responsive" src="@/assets/img/logo-proximax-sirius-faucet_new.svg"> {{version}} </img> </div>

</div>
<main>
Expand All @@ -23,7 +23,7 @@
export default {
data() { return {
version: "v0.0.3"
version: "v0.0.5"
}}
};
</script>
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/registerServiceWorker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ if (process.env.NODE_ENV === 'production') {
},
updated () {
console.log('New content is available; please refresh.')
setTimeout(() => {
window.location.reload(true)
}, 1000)
},
offline () {
console.log('No internet connection found. App is running in offline mode.')
Expand Down
75 changes: 65 additions & 10 deletions frontend/src/views/FaucetGet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<div class="container-fluid">
<br>
<h2 class="text-color-title text-size-30 text-center mt-1rem">
<b>Sirius-chain testnet</b>
<b>Sirius-Chain Testnet</b>
</h2>
<p
class="text-color-black text-size-20 text-center"
>Top-up your account balance to a maximum of {{xpxMax}} test-XPX every 24 hours.</p>
<hr>
<form id="fauceApp" @submit="sendFaucet" novalidate="true">
<form id="fauceApp" v-on:submit.prevent="sendFaucet">
<div class="container mt-1rem">
<div class="input-icon-wrap">
<span class="input-icon">
Expand Down Expand Up @@ -92,7 +92,6 @@ export default {
},
checkForm: function(e) {
this.loaderclass = "";
// address test VARC5G-OWFIWG-7JK7JV-Y7DXIS-TQYOID-75ON3G-O22H
this.address = Utils.addressForm(this.address);
if (Utils.isValid(this.address)) {
this.showValidate = false;
Expand Down Expand Up @@ -125,7 +124,7 @@ export default {
this.buttonValidate = true;
this.address = "";
this.loaderclass = "";
this.div1 = "div-afauce-cardlert-text";
this.div1 = "div-loader-text";
this.div2 = "";
this.alertclass = "alert-success";
this.showValidate = true;
Expand Down Expand Up @@ -207,14 +206,14 @@ export default {
padding: 13px;
}
.input-with-icon {
// font-size: 18px;
font-size: 18px;
border: none;
text-align: center;
flex: 1;
}
.input-icon,
.input-with-icon {
padding: 2px;
padding: 5px;
border-radius: 20px;
}
.icon-wallet {
Expand All @@ -227,12 +226,11 @@ export default {
text-align: center;
}
.div-loader-text {
width: 80%;
width: 100%;
text-align: center;
float: left;
}
.div-loader-animate {
width: 15%;
float: left;
text-align: right;
}
Expand Down Expand Up @@ -382,9 +380,9 @@ button::-moz-focus-inner {
}
.loader {
margin-right: auto;
margin-left: auto;
margin-left: -25px;
margin-top: 5px;
border: 4px solid #f3f3f3;
border: 3px solid #f3f3f3;
border-radius: 50%;
border-top: 4px solid #f4a400;
width: 8px;
Expand All @@ -411,6 +409,63 @@ button::-moz-focus-inner {
transform: rotate(360deg);
}
}
@media screen and (max-width: 900px) {
.input-icon-wrap {
width: 80%;
}
.div-alert-war {
width: 80%;
}
}
@media screen and (max-width: 650px) {
.input-icon-wrap {
width: 100%;
}
.div-alert-war {
width: 100%;
}
}
@media screen and (max-width: 500px) {
// .btn {
// margin-top: 35px;
// }
.input-icon-wrap {
width: 90%;
}
.div-alert-war {
width: 90%;
}
}
@media screen and (max-width: 400px) {
// .btn {
// margin-top: 35px;
// }
.input-icon-wrap {
width: 100%;
}
.div-alert-war {
width: 100%;
}
}
@media screen and (max-width: 300px) {
.btn {
margin-top: 35px;
}
}
@media screen and (max-width: 250px) {
.btn {
margin-top: 40px;
}
@media screen and (max-width: 200px) {
.btn {
margin-top: 110px;
}
}
//
}
</style>


0 comments on commit 6a9f4b0

Please sign in to comment.