瀏覽代碼

Handle loading better during reset request

master
Immanuel Onyeka 3 年之前
父節點
當前提交
6b979a6bef
共有 9 個文件被更改,包括 23 次插入13 次删除
  1. +1
    -0
      database/migrations/2014_10_12_000000_create_users_table.php
  2. 二進制
      public/images/panel-preview.png
  3. +1
    -0
      public/payeer_1431874711.txt
  4. 二進制
      resources/images/panel-preview.png
  5. 二進制
      resources/images/teamwork.png
  6. +8
    -1
      resources/js/panel/credits.vue
  7. +5
    -4
      resources/js/register-area/register-area.vue
  8. +7
    -8
      resources/views/home.blade.php
  9. +1
    -0
      trendplays@trendplays.com

+ 1
- 0
database/migrations/2014_10_12_000000_create_users_table.php 查看文件

@@ -23,6 +23,7 @@ class CreateUsersTable extends Migration
$table->enum('role', ['client', 'guest', 'admin']);
$table->string('payment_method')->default('');
$table->boolean('active')->default(true);
$table->boolean('paying')->default(false);
$table->unsignedBigInteger('credits')->default(0);
$table->rememberToken();
$table->timestamps();


二進制
public/images/panel-preview.png 查看文件

Before After
Width: 390  |  Height: 467  |  Size: 81 KiB Width: 300  |  Height: 490  |  Size: 69 KiB

+ 1
- 0
public/payeer_1431874711.txt 查看文件

@@ -0,0 +1 @@
1431874711

二進制
resources/images/panel-preview.png 查看文件

Before After
Width: 390  |  Height: 467  |  Size: 81 KiB Width: 300  |  Height: 490  |  Size: 69 KiB

二進制
resources/images/teamwork.png 查看文件

Before After
Width: 5625  |  Height: 4500  |  Size: 4.6 MiB

+ 8
- 1
resources/js/panel/credits.vue 查看文件

@@ -35,8 +35,15 @@
@update-billing-name="billingName = $event.target.value" :stripe="stripe"
v-if="!selectSaved">
</payment-card>

<div>
<input type="checkbox"><label>I have read and agree to the<a
href="/terms-and-policy">Terms and Policy</a></label>
<div class="info-grey">
<span>A chargeback will result in a ban. Contact <a
href="#contact">support</a>if you have any problems of concerns.</span>
</div>
<div id="payment-error"></div>
</div>
</section>

<section v-if="!complete" class="credits-confirm">


+ 5
- 4
resources/js/register-area/register-area.vue 查看文件

@@ -126,17 +126,15 @@ function getToken() {
}

function forgotPassword(event) {
let email = document.getElementById("forgot-email").value
this.active = 'loading'
fetch("/forgot-password", {
method: 'POST',
headers: {'Content-Type': 'application/json',
'Accept': 'application/json',
'X-XSRF-TOKEN': this.token},
body: JSON.stringify({"email": document.getElementById("forgot-email").value})})
body: JSON.stringify({"email": email})})
.then(response => {
//Give completed or error
console.log(response.status)
console.log(response.json())
if (response.ok) {
this.active = 'forgot-completed'
} else {
@@ -162,6 +160,9 @@ function getToken() {
closeArea() {
document.querySelector(".register-area").classList.remove("active")
},
},
mounted() {
this.getToken()
}
}
</script>

+ 7
- 8
resources/views/home.blade.php 查看文件

@@ -42,9 +42,8 @@
<p>
We're a social media content promoter based in Canada, helping
entertainers and brands perfect their marketing campaigns through
targeted views and engagements. By providing organic impressions and
retention
from real people in your area, we'll boost your search engine
targeted views and engagements. By providing impressions and
retention from real user accounts, we'll help boost your
rankings and get you noticed.
</p>
</section>
@@ -56,7 +55,7 @@
<img src="/img/youtube-icon.svg" alt="youtube-icon">
<h3>Youtube</h3>
<ul>
<li>Views increase within 12 hours</li>
<li>Views often increase within 24 hours</li>
<li>Real people</li>
<li>Targeted by language</li>
<li>Targeted by country</li>
@@ -69,7 +68,7 @@
<h3>Twitter</h3>
<ul>
<li>Impressions and favorites</li>
<li>Activity increases within 24 hours</li>
<li>Activity often increases within 24 hours</li>
<li>Followers</li>
</ul>
<button>Select</button>
@@ -79,7 +78,7 @@
<img src="/img/instagram-icon.svg" alt="twitter-icon">
<h3>Instagram</h3>
<ul>
<li>Real people</li>
<li>Active user accounts</li>
<li>Activity increases within 24 hours</li>
<li>Likes</li>
<li>Followers</li>
@@ -120,7 +119,7 @@
</div>

<div class="info-card"><p>All orders are proccessed within one day of
placing your order. Most services available are instant.</p>
placing your order. Many services available are instant.</p>
</div>

<div class="info-card"><p>By choosing the location and language of your
@@ -177,7 +176,7 @@
<div class="collapsible"><button>Why should I choose Trendplays?</button>
<div class="content"><p>Buying views and engagements is easy and safe
if you buy from a reliable source. The traffic we send to your content is
from real users with years of history, viewing
from accounts with years of history, viewing
gradually over a few days.</p></div></div>

<div class="collapsible"><button>What if my audience finds out?</button>


+ 1
- 0
trendplays@trendplays.com 查看文件

@@ -0,0 +1 @@
1431874711

Loading…
取消
儲存