Browse Source

formatting

master
Aaron Parecki 6 years ago
parent
commit
0a7610dac3
No known key found for this signature in database GPG Key ID: 276C2817346D6056
4 changed files with 13 additions and 10 deletions
  1. +2
    -1
      app/Tweet.php
  2. +2
    -1
      public/js/app.js
  3. +8
    -7
      resources/assets/js/components/Scorecard.vue
  4. +1
    -1
      resources/views/slideshow.blade.php

+ 2
- 1
app/Tweet.php View File

@ -39,6 +39,7 @@ class Tweet extends Model
} }
public static function queued() { public static function queued() {
return Tweet::whereNull('claimed_at')->where('processed', 0)->where('mission_id', '>', 0)->orderBy('tweet_date', 'asc');
return Tweet::whereNull('claimed_at')->where('processed', 0)
->where('mission_id', '>', 0)->orderBy('tweet_date', 'asc');
} }
} }

+ 2
- 1
public/js/app.js View File

@ -46986,7 +46986,7 @@ module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c
} }
} }
} }
}), _vm._v("\n Singing\n ")]), _vm._v(" "), _c('label', [_c('input', {
}), _vm._v("\n Singing\n ")]), _vm._v(" "), _c('br'), _vm._v(" "), _c('label', [_c('input', {
directives: [{ directives: [{
name: "model", name: "model",
rawName: "v-model", rawName: "v-model",
@ -47073,6 +47073,7 @@ if (false) {
/* 61 */ /* 61 */
/***/ (function(module, exports) { /***/ (function(module, exports) {
//
// //
// //
// //

+ 8
- 7
resources/assets/js/components/Scorecard.vue View File

@ -45,7 +45,7 @@
</div> </div>
<div class="col-md-4"> <div class="col-md-4">
<!-- MISSION 1 -->
<!-- MISSION 1 #transitspy -->
<template v-if="tweet.mission_id == 1"> <template v-if="tweet.mission_id == 1">
<p class="instructions"> <p class="instructions">
The photo must show the sign with the transit line The photo must show the sign with the transit line
@ -63,7 +63,7 @@
</div> </div>
</template> </template>
<!-- MISSION 2 -->
<!-- MISSION 2 #intercept -->
<template v-if="tweet.mission_id == 2"> <template v-if="tweet.mission_id == 2">
<p class="instructions"> <p class="instructions">
<ul> <ul>
@ -89,7 +89,7 @@
</div> </div>
</template> </template>
<!-- MISSION 3 -->
<!-- MISSION 3 #airlair -->
<template v-if="tweet.mission_id == 3"> <template v-if="tweet.mission_id == 3">
<p class="instructions"> <p class="instructions">
<ul> <ul>
@ -99,7 +99,7 @@
</p> </p>
</template> </template>
<!-- MISSION 4 -->
<!-- MISSION 4 #transittea -->
<template v-if="tweet.mission_id == 4"> <template v-if="tweet.mission_id == 4">
<p class="instructions"> <p class="instructions">
<ul> <ul>
@ -109,7 +109,7 @@
</p> </p>
</template> </template>
<!-- MISSION 5 -->
<!-- MISSION 5 #sing -->
<template v-if="tweet.mission_id == 5"> <template v-if="tweet.mission_id == 5">
<p class="instructions"> <p class="instructions">
Accept a photo of either a team member singing, or a photo of tipping the bus driver Accept a photo of either a team member singing, or a photo of tipping the bus driver
@ -120,6 +120,7 @@
<input type="checkbox" v-model="selectedM5Singing"> <input type="checkbox" v-model="selectedM5Singing">
Singing Singing
</label> </label>
<br>
<label> <label>
<input type="checkbox" v-model="selectedM5Tipping"> <input type="checkbox" v-model="selectedM5Tipping">
Tipping the driver Tipping the driver
@ -127,14 +128,14 @@
</div> </div>
</template> </template>
<!-- MISSION 6 -->
<!-- MISSION 6 #passport -->
<template v-if="tweet.mission_id == 6"> <template v-if="tweet.mission_id == 6">
<p class="instructions"> <p class="instructions">
The photo must show all team members with their completed visas The photo must show all team members with their completed visas
</p> </p>
</template> </template>
<!-- MISSION 7 -->
<!-- MISSION 7 #document -->
<template v-if="tweet.mission_id == 7"> <template v-if="tweet.mission_id == 7">
<p class="instructions"> <p class="instructions">
Accept a photo that completes one of the below documents: Accept a photo that completes one of the below documents:

+ 1
- 1
resources/views/slideshow.blade.php View File

@ -39,7 +39,7 @@ var opts = {
// speed to advance slides at. accepts number of milliseconds // speed to advance slides at. accepts number of milliseconds
speed : 6000, speed : 6000,
// pause advancing on mouseover? accepts boolean // pause advancing on mouseover? accepts boolean
pauseOnHover : true
pauseOnHover : false
}, },
// show fullscreen toggle? accepts boolean // show fullscreen toggle? accepts boolean
fullScreen : true fullScreen : true

Loading…
Cancel
Save