|
|
@ -112,17 +112,17 @@ |
|
|
|
<!-- !isCreatingIdentifier && isRegistered --> |
|
|
|
|
|
|
|
<!-- show the actions for recognizing a give --> |
|
|
|
<div class="flex justify-between"> |
|
|
|
<h2 class="text-xl font-bold">Record Something Given By:</h2> |
|
|
|
<div class="flex justify-end"> |
|
|
|
<div class="flex"> |
|
|
|
<h2 class="text-xl font-bold"> |
|
|
|
What have you seen someone do? |
|
|
|
</h2> |
|
|
|
<button |
|
|
|
@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> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<ul |
|
|
|
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> |
|
|
|
</li> |
|
|
|
<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 |
|
|
|
v-for="contact in allContacts.slice(0, 6)" |
|
|
@ -161,9 +161,9 @@ |
|
|
|
<router-link |
|
|
|
v-if="allContacts.length >= 6" |
|
|
|
: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> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
@ -177,25 +177,24 @@ |
|
|
|
<FeedFilters ref="feedFilters" /> |
|
|
|
|
|
|
|
<!-- 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"> |
|
|
|
<h2 class="text-xl font-bold">Latest Activity</h2> |
|
|
|
<button @click="openFeedFilters()" class="block text-center ml-auto"> |
|
|
|
<span class="text-sm text-white"> |
|
|
|
<span |
|
|
|
<h2 class="text-xl font-bold">Latest Activity |
|
|
|
<button @click="openFeedFilters()"> |
|
|
|
<span class="text-xs text-white"> |
|
|
|
<fa |
|
|
|
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" |
|
|
|
> |
|
|
|
Filtered |
|
|
|
</span> |
|
|
|
<span |
|
|
|
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" |
|
|
|
/> |
|
|
|
<fa |
|
|
|
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" |
|
|
|
> |
|
|
|
Unfiltered |
|
|
|
</span> |
|
|
|
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" |
|
|
|
/> |
|
|
|
</span> |
|
|
|
</button> |
|
|
|
</h2> |
|
|
|
</div> |
|
|
|
<InfiniteScroll @reached-bottom="loadMoreGives"> |
|
|
|
<ul id="listLatestActivity" class="border-t border-slate-300"> |
|
|
@ -270,7 +269,7 @@ |
|
|
|
<a @click="onClickLoadClaim(record.jwtId)"> |
|
|
|
<fa |
|
|
|
icon="file-lines" |
|
|
|
class="pl-2 text-blue-500 cursor-pointer" |
|
|
|
class="pl-2 text-slate-500 cursor-pointer" |
|
|
|
/> |
|
|
|
</a> |
|
|
|
</span> |
|
|
|