|
@ -112,17 +112,17 @@ |
|
|
<!-- !isCreatingIdentifier && isRegistered --> |
|
|
<!-- !isCreatingIdentifier && isRegistered --> |
|
|
|
|
|
|
|
|
<!-- show the actions for recognizing a give --> |
|
|
<!-- show the actions for recognizing a give --> |
|
|
<div class="flex justify-between"> |
|
|
<div class="flex"> |
|
|
<h2 class="text-xl font-bold">Record Something Given By:</h2> |
|
|
<h2 class="text-xl font-bold"> |
|
|
<div class="flex justify-end"> |
|
|
What have you seen someone do? |
|
|
|
|
|
</h2> |
|
|
<button |
|
|
<button |
|
|
@click="openGiftedPrompts()" |
|
|
@click="openGiftedPrompts()" |
|
|
class="block text-center text-md bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-4 py-2 rounded-md" |
|
|
class="ml-2 block text-xs text-center bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1 rounded-md" |
|
|
> |
|
|
> |
|
|
Ideas... |
|
|
<fa icon="lightbulb" class="fa-fw" /> |
|
|
</button> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<ul |
|
|
<ul |
|
|
class="grid grid-cols-4 sm:grid-cols-5 md:grid-cols-6 gap-x-3 gap-y-5 text-center mt-4" |
|
|
class="grid grid-cols-4 sm:grid-cols-5 md:grid-cols-6 gap-x-3 gap-y-5 text-center mt-4" |
|
@ -139,7 +139,7 @@ |
|
|
</h3> |
|
|
</h3> |
|
|
</li> |
|
|
</li> |
|
|
<li v-if="allContacts.length === 0" class="text-sm"> |
|
|
<li v-if="allContacts.length === 0" class="text-sm"> |
|
|
(Add contacts to see more people worthy of recognition.) |
|
|
(Add friends to see more people worthy of recognition.) |
|
|
</li> |
|
|
</li> |
|
|
<li |
|
|
<li |
|
|
v-for="contact in allContacts.slice(0, 6)" |
|
|
v-for="contact in allContacts.slice(0, 6)" |
|
@ -161,9 +161,9 @@ |
|
|
<router-link |
|
|
<router-link |
|
|
v-if="allContacts.length >= 6" |
|
|
v-if="allContacts.length >= 6" |
|
|
:to="{ name: 'contact-gift' }" |
|
|
:to="{ name: 'contact-gift' }" |
|
|
class="block text-center text-md font-bold bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-2 py-3 rounded-md" |
|
|
class="flex align-bottom text-xs text-blue-500 mt-12" |
|
|
> |
|
|
> |
|
|
Choose From All Contacts |
|
|
... or someone else... |
|
|
</router-link> |
|
|
</router-link> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
@ -177,25 +177,24 @@ |
|
|
<FeedFilters ref="feedFilters" /> |
|
|
<FeedFilters ref="feedFilters" /> |
|
|
|
|
|
|
|
|
<!-- Results List --> |
|
|
<!-- Results List --> |
|
|
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mt-4 mb-4"> |
|
|
<div class="bg-slate-100 rounded-md px-4 py-3 mt-4 mb-4"> |
|
|
<div class="flex items-center mb-4"> |
|
|
<div class="flex items-center mb-4"> |
|
|
<h2 class="text-xl font-bold">Latest Activity</h2> |
|
|
<h2 class="text-xl font-bold">Latest Activity |
|
|
<button @click="openFeedFilters()" class="block text-center ml-auto"> |
|
|
<button @click="openFeedFilters()"> |
|
|
<span class="text-sm text-white"> |
|
|
<span class="text-xs text-white"> |
|
|
<span |
|
|
<fa |
|
|
v-if="resultsAreFiltered()" |
|
|
v-if="resultsAreFiltered()" |
|
|
class="bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] px-3 py-1.5 rounded-md" |
|
|
icon="filter" |
|
|
> |
|
|
class="bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] px-1 py-1.5 rounded-md" |
|
|
Filtered |
|
|
/> |
|
|
</span> |
|
|
<fa |
|
|
<span |
|
|
|
|
|
v-else |
|
|
v-else |
|
|
class="bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] px-3 py-1.5 rounded-md" |
|
|
icon="filter" |
|
|
> |
|
|
class="bg-gradient-to-b from-slate-400 to-slate-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] px-1 py-1.5 rounded-md" |
|
|
Unfiltered |
|
|
/> |
|
|
</span> |
|
|
|
|
|
</span> |
|
|
</span> |
|
|
</button> |
|
|
</button> |
|
|
|
|
|
</h2> |
|
|
</div> |
|
|
</div> |
|
|
<InfiniteScroll @reached-bottom="loadMoreGives"> |
|
|
<InfiniteScroll @reached-bottom="loadMoreGives"> |
|
|
<ul id="listLatestActivity" class="border-t border-slate-300"> |
|
|
<ul id="listLatestActivity" class="border-t border-slate-300"> |
|
@ -270,7 +269,7 @@ |
|
|
<a @click="onClickLoadClaim(record.jwtId)"> |
|
|
<a @click="onClickLoadClaim(record.jwtId)"> |
|
|
<fa |
|
|
<fa |
|
|
icon="file-lines" |
|
|
icon="file-lines" |
|
|
class="pl-2 text-blue-500 cursor-pointer" |
|
|
class="pl-2 text-slate-500 cursor-pointer" |
|
|
/> |
|
|
/> |
|
|
</a> |
|
|
</a> |
|
|
</span> |
|
|
</span> |
|
|