Commit 18fa99d0 authored by Bitcoin Please's avatar Bitcoin Please

Added coming soon.

parent b186ac71
......@@ -120,9 +120,9 @@ export default {
async _authorize(_email, _password) {
/* Validate email. */
if (!this.isValidEmail(_email)) {
// this.toast(['Oops!', 'Invalid email. Please try again.', 'error'])
// this.toast(['Oops!', 'Invalid email, please try again', 'error'])
Swal.showValidationMessage(
`Invalid email. Please try again.`
`Invalid email, please try again`
)
return false
......@@ -131,9 +131,9 @@ export default {
/* Validate password. */
// TODO: Improve "strong" password validation.
if (!_password) {
// this.toast(['Oops!', 'Invalid password. Please try again.', 'error'])
// this.toast(['Oops!', 'Invalid password, please try again', 'error'])
Swal.showValidationMessage(
`Invalid password. Please try again.`
`Invalid password, please try again`
)
return false
......
......@@ -175,13 +175,13 @@ export default {
signIn() {
/* Validate email. */
if (!this.isValidEmail()) {
return this.toast(['Oops!', 'Invalid email. Please try again.', 'error'])
return this.toast(['Oops!', 'Invalid email, please try again', 'error'])
}
/* Validate password. */
// TODO: Improve "strong" password validation.
if (!this.password) {
return this.toast(['Oops!', 'Invalid password. Please try again.', 'error'])
return this.toast(['Oops!', 'Invalid password, please try again', 'error'])
}
/* Disable sign in button. */
......
......@@ -462,7 +462,7 @@ export default {
async send(_coin) {
console.log('SENDING COIN', _coin)
if (!this.output.address) {
return this.toast(['Oops!', 'Invalid destination address. Please try again.', 'error'])
return this.toast(['Oops!', 'Invalid destination address, please try again', 'error'])
}
/* Build receivers. */
......@@ -506,7 +506,7 @@ export default {
} else {
/* Set message. */
const message = `Oops! Something went wrong and your coin(s) were NOT sent.`
const message = `Something went wrong and your coin(s) were NOT sent`
/* Display notification. */
this.toast(['Oops!', message, 'error'])
......
......@@ -145,7 +145,7 @@
Add my support
</a>
<a href="javascript://" class="btn-secondary" @click="showActions = false; showReminder = true">
<a href="javascript://" class="btn-secondary" @click="remindMe">
<i class="fa fa-heart" aria-hidden="true"></i>
Remind me
</a>
......@@ -567,6 +567,16 @@ export default {
'toast',
]),
/**
* Remind Me
*/
remindMe() {
this.toast(['Oops!', 'This feature is not quite ready yet', 'error'])
// this.showActions = false
// this.showReminder = true
},
/**
* Add My Support
*/
......@@ -589,7 +599,7 @@ export default {
this.showActions = true
/* Show error notif. */
return this.toast(['Oops!', 'There is NO support for this campaign.', 'error'])
return this.toast(['Oops!', 'There is NO option to support this campaign', 'error'])
}
},
......
......@@ -2,10 +2,36 @@
<div role="tabpanel" class="tab-pane" id="calc">
<section class="campaign-form form-update">
<form action="javascript://">
<h1>Accounting Center</h1>
<h1>Accounting Department</h1>
<hr />
<div id="itemform">
<div class="row mt-3">
<div class="col">
<p class="under-construction mt-3">
Oops! We're still working on this area.
</p>
<p class="under-construction mt-3">
Want to help us get this platform ready ASAP?
</p>
<p class="under-construction my-3">
Learn how your ❤️ and support Causes Cash.
</p>
<button class="btn btn-block btn-outline-success" @click="supportCauses">
Support Causes Cash
</button>
</div>
<div class="col">
<!-- This area is still under development. -->
<!-- <img class="under-construction" src="https://i.imgur.com/8nvqTcU.png" /> -->
<img class="under-construction rounded" src="https://i.imgur.com/1yAHZ69.png" />
</div>
</div>
<!-- <div id="itemform">
<div class="start-form">
<div class="field">
<label for="rewardtitle">
......@@ -155,36 +181,30 @@
<input type="text" id="cduration" value="" name="title" placeholder="60 days" />
</div>
<input type="submit" class="btn-primary" value="Save & Continue">
<input type="submit" class="btn-primary" value="Save & Continue"> -->
</form>
</section>
</div>
</template>
<script>
/* Import JQuery. */
// FIXME: Remove ALL jQuery dependencies.
const $ = window.jQuery
export default {
components: {
//
},
methods: {
supportCauses() {
this.$router.push('/@BCHPlease/causes-cash-8ab5c2fc')
}
},
mounted: function () {
$('.add-item').on('click', function (e) {
e.preventDefault()
$(this).parent().find('.spopup-bg').fadeIn()
$(this).parent().find('.item-popup').fadeIn()
})
$('.item-cancel').on('click', function (e) {
e.preventDefault()
$(this).parent().parent().fadeOut()
$(this).parent().parent().parent().find('.spopup-bg').fadeOut()
})
//
},
}
</script>
<style scoped>
/* */
p.under-construction {
font-size: 1.4em;
}
</style>
......@@ -8,22 +8,13 @@
<hr />
<!-- Risks & Challenges -->
<div class="field">
<!-- <div class="field">
<label for="risks">Risks and challenges</label>
<span class="label-desc">
What are the risks and challenges that come with completing your project, and how are you qualified to overcome them?
</span>
</div>
<!-- <div class="start-box">
<h4>Project FAQs</h4>
<p>
You can add frequently asked questions to the FAQ tab on your project page once it goes live.
<a href="javascript://">Learn more</a>
</p>
</div> -->
<div class="field">
......@@ -34,7 +25,7 @@
Your profile name will be searchable, too.
</span>
<input type="text" id="projecttitle" v-model="title" maxlength="60" disabled>
<input type="text" id="projecttitle" :value="title" maxlength="60" disabled>
</div>
<div class="field">
......
......@@ -6,7 +6,33 @@
<h1>Team Workspace</h1>
<hr />
<div class="field">
<div class="row mt-3">
<div class="col">
<p class="under-construction mt-3">
Oops! We're still working on this area.
</p>
<p class="under-construction mt-3">
Want to help us get this platform ready ASAP?
</p>
<p class="under-construction my-3">
Learn how your ❤️ and support Causes Cash.
</p>
<button class="btn btn-block btn-outline-success" @click="supportCauses">
Support Causes Cash
</button>
</div>
<div class="col">
<!-- This area is still under development. -->
<!-- <img class="under-construction" src="https://i.imgur.com/8nvqTcU.png" /> -->
<img class="under-construction rounded" src="https://i.imgur.com/1yAHZ69.png" />
</div>
</div>
<!-- <div class="field">
<label for="contactemail">Team Member #1</label>
<input type="email" id="contactemail">
......@@ -91,7 +117,7 @@
</div>
</div>
<input type="submit" class="btn-primary" value="Submit">
<input type="submit" class="btn-primary" value="Submit"> -->
</form>
</div>
</section>
......@@ -103,6 +129,11 @@ export default {
components: {
//
},
methods: {
supportCauses() {
this.$router.push('/@BCHPlease/causes-cash-8ab5c2fc')
}
},
mounted: function () {
//
},
......@@ -110,5 +141,7 @@ export default {
</script>
<style scoped>
/* */
p.under-construction {
font-size: 1.4em;
}
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment