-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New brand styles integration #8368
Merged
Merged
Changes from all commits
Commits
Show all changes
152 commits
Select commit
Hold shift + click to select a range
e76e8ed
Install django-libsass - implement test .scss on grants page
gdixon 15f9f1d
Replaces bootstrap.min.css with bootstrap.scss
gdixon e2fb274
Replaces bootstrap-vue.min.css with an import to bootstrap-vue/index.…
gdixon b7f1473
Replaces vue-select.css with vue-select.scss
gdixon a2fa5ec
Drops main.scss example from grants page
gdixon 2245df4
Adds minification rules
gdixon 8e8e764
Moves bootstrap, bootstrap-vue, vue-select to v3/lib
gdixon 1111aa9
Updates bootstrap v4.3.1 -> v4.6.0
gdixon c83a946
move files
octavioamu 529818d
Move all scss libs to scss/lib/*
gdixon 606dd86
remove old files
octavioamu b4dcf4c
Copies all css to scss and sets fileTypes
gdixon 0fe655d
Updates css href's -> scss (app/retail/templates/shared/head.html)
gdixon 84ca733
Internalises vue-innersearch.css (v0.0.12)
gdixon b016708
Updates css href's -> scss (app/app/templates/search/search.html)
gdixon c647c18
Updates css href's -> scss (app/dashboard/templates/bulk_payout_bount…
gdixon 47d0716
Updates css href's -> scss (app/dashboard/templates/labs.html)
gdixon 0c1b67c
Updates css href's -> scss (app/dashboard/templates/process_bounty.html)
gdixon a3b3c86
Updates css href's -> scss (app/dashboard/templates/quickstart.html)
gdixon eb4a802
Updates css href's -> scss (app/dashboard/templates/request_payment.h…
gdixon 0b9a569
Updates css href's -> scss (app/dashboard/templates/board/index.html)
gdixon 209e350
Updates css href's -> scss (app/dashboard/templates/bounty/change.html)
gdixon 475be60
Updates css href's -> scss (app/dashboard/templates/bounty/details.html)
gdixon 2657aa4
Updates css href's -> scss (app/dashboard/templates/bounty/details2.h…
gdixon 0a85252
Updates css href's -> scss (app/dashboard/templates/bounty/fullfill.h…
gdixon 9a56c5e
Updates css href's -> scss (app/dashboard/templates/bounty/increase.h…
gdixon 3f10220
Updates css href's -> scss (app/dashboard/templates/bounty/new_bounty…
gdixon 14983f8
Updates css href's -> scss (app/dashboard/templates/dashboard/explore…
gdixon 0e9465b
Updates css href's -> scss (app/dashboard/templates/dashboard/index-v…
gdixon df500b3
Updates css href's -> scss (app/dashboard/templates/dashboard/index.h…
gdixon 6d2cb11
Updates css href's -> scss (app/dashboard/templates/dashboard/sponser…
gdixon bacdf80
Updates css href's -> scss (app/dashboard/templates/dashboard/user-el…
gdixon dc202cb
Updates css href's -> scss (app/dashboard/templates/dashboard/users.h…
gdixon 3c4547b
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon 264152c
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon e11ae5d
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon 689a705
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon 7032681
Internalises quill.*.css (renaming to .scss) (v1.3.6)
gdixon 8887bad
Updates css href's -> scss (app/dashboard/templates/ftux/onboard.html)
gdixon 856e912
Copies onepage css to scss and sets fileTypes
gdixon c5199d7
Updates css href's -> scss (app/dashboard/templates/onepager/base.html)
gdixon 32b737c
Updates css href's -> scss (app/dashboard/templates/onepager/send2.html)
gdixon ae2ed38
Updates css href's -> scss (app/dashboard/templates/profiles/profile.…
gdixon d6072ec
Updates css href's -> scss (app/dashboard/templates/profiles/tribes-v…
gdixon ca1b180
Updates css href's -> scss (app/dashboard/templates/shared/newsletter…
gdixon 07fdc4b
Updates css href's -> scss (app/dashboard/templates/shared/search_bar…
gdixon dfa8ef0
Updates css href's -> scss (app/dataviz/templates/cohort.html)
gdixon 71d2c84
Copies admin/css/dashboard to scss and sets fileTypes
gdixon 919877a
Updates css href's -> scss (app/dataviz/templates/funnel.html)
gdixon 6d23df7
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon 32ec6af
Updates css href's -> scss (app/dashboard/templates/profiles/tribes-v…
gdixon a9523be
Updates css href's -> scss (app/dataviz/templates/dataviz/admin_graph…
gdixon 5f430c0
Updates css href's -> scss (app/dataviz/templates/dataviz/circles.html)
gdixon c2743b8
Updates css href's -> scss (app/dataviz/templates/dataviz/draggable.h…
gdixon 49f98fa
Updates css href's -> scss (app/dataviz/templates/dataviz/graph.html)
gdixon f2e65ef
Updates css href's -> scss (app/dataviz/templates/dataviz/heatmap.html)
gdixon 6e794eb
Updates css href's -> scss (app/dataviz/templates/dataviz/index.html)
gdixon 6654469
Updates css href's -> scss (app/dataviz/templates/dataviz/mesh.html)
gdixon 18f1f14
Updates css href's -> scss (app/dataviz/templates/dataviz/spiral.html)
gdixon aacb9aa
Updates css href's -> scss (app/dataviz/templates/dataviz/steamgraph.…
gdixon 1d4aace
Updates css href's -> scss (app/dataviz/templates/dataviz/sunburst.html)
gdixon f59e439
Updates css href's -> scss (app/dataviz/templates/stats.html)
gdixon a46749c
Updates css href's -> scss (app/faucet/templates/bulk_DM.html)
gdixon 02740e5
Updates css href's -> scss (app/faucet/templates/bulk_email.html)
gdixon a92d596
Updates css href's -> scss (app/faucet/templates/process_faucet_reque…
gdixon 02f3161
Updates css href's -> scss (app/grants/templates/grants/_new.html)
gdixon 2a56cb2
Updates css href's -> scss (app/grants/templates/grants/cancel.html)
gdixon 6b0260a
Updates css href's -> scss (app/grants/templates/grants/cart-vue.html)
gdixon cefed32
Updates css href's -> scss (app/grants/templates/grants/detail/_index…
gdixon 387d4f1
Updates css href's -> scss (app/grants/templates/grants/detail/index.…
gdixon 3ae3ad1
Updates css href's -> scss (app/grants/templates/grants/faq.html)
gdixon 3793eaa
Updates css href's -> scss (app/grants/templates/grants/index.html)
gdixon 5a0ad6e
Updates css href's -> scss (app/grants/templates/grants/ingest-contri…
gdixon 7e7f99c
Updates css href's -> scss (app/grants/templates/grants/new-whitelabe…
gdixon 9ead662
Updates css href's -> scss (app/grants/templates/grants/new.html)
gdixon 861708f
Updates css href's -> scss (app/grants/templates/grants/new_match.html)
gdixon d821c72
Updates css href's -> scss (app/grants/templates/grants/quickstart.html)
gdixon 66b80f3
Updates css href's -> scss (app/kudos/templates/kudos_about.html)
gdixon 61f790a
Updates css href's -> scss (app/kudos/templates/kudos_details.html)
gdixon c079bf8
Updates css href's -> scss (app/kudos/templates/kudos_marketplace.html)
gdixon 3891d0c
Updates css href's -> scss (app/kudos/templates/transaction/base.html)
gdixon 4394ecd
Updates css href's -> scss (app/kudos/templates/receive_bulk.html)
gdixon 1a19c9c
Updates css href's -> scss (app/ptokens/templates/buy_a_token.html)
gdixon dfc3ab4
Updates css href's -> scss (app/ptokens/templates/personal_tokens.html)
gdixon 66de6c1
Updates css href's -> scss (app/ptokens/templates/ptokens_buy_faq.html)
gdixon 760fedd
Updates css href's -> scss (app/ptokens/templates/ptokens_faq.html)
gdixon 654b900
Updates css href's -> scss (app/ptokens/templates/ptokens_make_faq.html)
gdixon cccfe07
Updates css href's -> scss (app/quests/templates/quests/base.html)
gdixon 4d9c8a3
Updates css href's -> scss (app/quests/templates/quests/new.html)
gdixon f405117
Updates css href's -> scss (app/quests/templates/quests/types/example…
gdixon c174bf5
Updates css href's -> scss (app/quests/templates/quests/types/quiz_st…
gdixon 1eb57e4
Updates css href's -> scss (app/retail/templates/about.html)
gdixon 60611d6
Updates css href's -> scss (app/retail/templates/activity.html)
gdixon 523e0aa
Updates css href's -> scss (app/retail/templates/admin/base.html)
gdixon a04d1ae
Updates css href's -> scss (app/retail/templates/admin/index.html)
gdixon 178bfb8
Updates css href's -> scss (app/retail/templates/avatar_landing.html)
gdixon 013a419
Updates css href's -> scss (app/retail/templates/base.html)
gdixon 6e42dfb
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon 31358ab
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon 0327d15
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon 406a741
Updates css href's -> scss (app/retail/templates/bounties/funder.html)
gdixon 6f41336
Updates css href's -> scss (app/retail/templates/emails_unsubscribed.…
gdixon 882acc0
Updates css href's -> scss (app/retail/templates/emails/recap/weekly_…
gdixon 4763718
Updates css href's -> scss (app/retail/templates/emails/shared_templa…
gdixon eb949b1
Updates css href's -> scss (app/retail/templates/home/index.html)
gdixon 26b47b4
Updates css href's -> scss (app/retail/templates/home/index2020.html)
gdixon ac0c5bf
Updates css href's -> scss (app/retail/templates/how_it_works/index.h…
gdixon 4260ab4
Updates css href's -> scss (app/retail/templates/leaderboard.html)
gdixon 48ecc31
Updates css href's -> scss (app/retail/templates/mission.html)
gdixon 2a26d8a
Updates css href's -> scss (app/retail/templates/newkudos.html)
gdixon 1143c9d
Updates css href's -> scss (app/retail/templates/newtoken.html)
gdixon c67ab7d
Updates css href's -> scss (app/retail/templates/presskit.html)
gdixon bf71669
Updates css href's -> scss (app/retail/templates/process_accesscode_r…
gdixon a4d71d3
Updates css href's -> scss (app/retail/templates/products.html)
gdixon f346b88
Updates css href's -> scss (app/retail/templates/resend_tip.html)
gdixon febd5f2
Updates css href's -> scss (app/retail/templates/results.html)
gdixon 1dda631
Updates css href's -> scss (app/retail/templates/tribes/landing.html)
gdixon 4df1321
Updates css href's -> scss (app/retail/templates/vision.html)
gdixon 533272a
Updates css href's -> scss (app/townsquare/templates/townsquare/index…
gdixon 4df3971
Updates css href's -> scss (app/townsquare/templates/townsquare/new.h…
gdixon 810352a
Updates css href's -> scss (app/townsquare/templates/townsquare/offer…
gdixon 39d2c83
Renames quill-snow.scss -> quill.snow.scss
gdixon 49be179
Adds misc .css (as .scss) from other locations
gdixon a12c0e2
Adds stylelint-scss
gdixon 713cb12
Runs stylelint --fix
gdixon 43c0dc3
Merge branch 'master' of https://github.com/gitcoinco/web into gpg/ne…
gdixon 23ec5f0
Updates stylelint
gdixon 86be017
Drops preload
gdixon 27a64aa
Drops .css from test case
gdixon 640df4e
Inline typography.scss (but still exclude from premailer)
gdixon f14b7b9
Restore mocked_requests param
gdixon 32f2fb4
Drop .scss from admin
gdixon 6de3b8d
merge
octavioamu 8485cea
Adds collectstatic to travis
gdixon 35d1314
Drop typography.scss from email templates
gdixon 2dc0c08
Adds collectstatic again but with --disable-collectfast flag
gdixon 521b986
remove css files
octavioamu 2b5fea5
Adds missing stylesheet
gdixon de188fb
Fixes global btn override on quests
gdixon f16a44b
Fixes class name
gdixon 73a44d4
Drops missing stylesheet
gdixon 3ae6633
Extends block
gdixon 1710238
Compress stylesheets offline in production
gdixon 780c7d1
bundle js files and cleanup
octavioamu a935a4f
remove duplicates
octavioamu b29f409
avoid using jquery-old in most pages
octavioamu f4c8275
fix jsrender where is used
octavioamu 856ca60
move select2 to jquery extras
octavioamu ce84892
Tidy up
gdixon a1cfb6b
Fixes indentation
gdixon 3c83a6b
Fixes indentation
gdixon c646a8b
Merge branch 'master' into gpg/new-styles
thelostone-mc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,32 @@ | ||
{% comment %} | ||
Copyright (C) 2020 Gitcoin Core | ||
Copyright (C) 2020 Gitcoin Core | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
{% endcomment %} | ||
{% load i18n static email_obfuscator add_url_schema avatar_tags %} | ||
{% load i18n static email_obfuscator add_url_schema avatar_tags compress %} | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<html lang="en"> | ||
|
||
<head> | ||
{% include 'shared/head.html' %} | ||
{% include 'shared/cards.html' %} | ||
<link rel="stylesheet" href={% static "v2/css/users.css" %} /> | ||
<link rel="stylesheet" href={% static "v2/css/tag.css" %} /> | ||
<link rel="stylesheet" href={% static "v2/css/rating.css" %} /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/default-innersearch-theme.min.css"> | ||
{% compress css file search %} | ||
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/users.scss" %} /> | ||
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/tag.scss" %} /> | ||
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/rating.scss" %} /> | ||
<link rel="stylesheet" type="text/x-scss" href={% static "v2/scss/vue-innersearch.scss" %}> | ||
{% endcompress %} | ||
</head> | ||
|
||
<body id="{{ explore }}" class="interior {{active}} g-font-muli"> | ||
|
@@ -38,39 +39,39 @@ | |
<h2>Search</h2> | ||
|
||
<form method="get" action=""> | ||
<table> | ||
{{ form.as_table }} | ||
<tr> | ||
<td> </td> | ||
<td> | ||
<input type="submit" value="Search"> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{% if query %} | ||
<h3>Results</h3> | ||
|
||
{% for result in page.object_list %} | ||
<p> | ||
<a href="{{ result.object.get_absolute_url }}">{{ result.object.title }}</a> | ||
</p> | ||
{% empty %} | ||
<p>No results found.</p> | ||
{% endfor %} | ||
|
||
{% if page.has_previous or page.has_next %} | ||
<div> | ||
{% if page.has_previous %}<a href="?q={{ query }}&page={{ page.previous_page_number }}">{% endif %}« Previous{% if page.has_previous %}</a>{% endif %} | ||
| | ||
{% if page.has_next %}<a href="?q={{ query }}&page={{ page.next_page_number }}">{% endif %}Next »{% if page.has_next %}</a>{% endif %} | ||
</div> | ||
{% endif %} | ||
{% else %} | ||
{# Show some example queries to run, maybe query syntax, something else? #} | ||
<table> | ||
{{ form.as_table }} | ||
<tr> | ||
<td> </td> | ||
<td> | ||
<input type="submit" value="Search"> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
{% if query %} | ||
<h3>Results</h3> | ||
|
||
{% for result in page.object_list %} | ||
<p> | ||
<a href="{{ result.object.get_absolute_url }}">{{ result.object.title }}</a> | ||
</p> | ||
{% empty %} | ||
<p>No results found.</p> | ||
{% endfor %} | ||
|
||
{% if page.has_previous or page.has_next %} | ||
<div> | ||
{% if page.has_previous %}<a href="?q={{ query }}&page={{ page.previous_page_number }}">{% endif %}« Previous{% if page.has_previous %}</a>{% endif %} | ||
| | ||
{% if page.has_next %}<a href="?q={{ query }}&page={{ page.next_page_number }}">{% endif %}Next »{% if page.has_next %}</a>{% endif %} | ||
</div> | ||
{% endif %} | ||
{% else %} | ||
{# Show some example queries to run, maybe query syntax, something else? #} | ||
{% endif %} | ||
</form> | ||
{% endblock %} | ||
{% endblock %} | ||
<div id="gc-users-directory" v-cloak> | ||
|
||
<section> | ||
|
@@ -79,71 +80,71 @@ <h1 class='is-title'>Hacky User Directory</h1> | |
<hr class='is-line' /> | ||
|
||
<div class="filters" style="width : 90%; margin : 0 auto;"> | ||
<tag-filter :for="'searchbox'"></tag-filter> | ||
<tag-filter :for="'searchdatalist'"> | ||
<template slot-scope="{ data }"> | ||
[[ data._source.keywords ]] | ||
</template> | ||
</tag-filter> | ||
<tag-filter :for="'nlf'"> | ||
<template slot-scope="{ data }"> | ||
<tag-filter :for="'searchbox'"></tag-filter> | ||
<tag-filter :for="'searchdatalist'"> | ||
<template slot-scope="{ data }"> | ||
[[ data._source.keywords ]] | ||
</template> | ||
</tag-filter> | ||
<tag-filter :for="'nlf'"> | ||
<template slot-scope="{ data }"> | ||
Number of Hacks Joined: [[ data._source.keywords ]] | ||
</template> | ||
</tag-filter> | ||
</tag-filter> | ||
</div> | ||
|
||
<div class="is-columns"> | ||
<div class="is-column is-one-fifth"> | ||
<div> | ||
<numeric-list-filter :id="'nlf'" :field="'num_hacks_joined'"> | ||
<template slot="header"> | ||
<h3 class="is-nlf-title">Number of Hacks Joined : </h3> | ||
</template> | ||
</numeric-list-filter> | ||
</div> | ||
<div class="is-column is-one-fifth"> | ||
<div> | ||
<numeric-list-filter :id="'nlf'" :field="'num_hacks_joined'"> | ||
<template slot="header"> | ||
<h3 class="is-nlf-title">Number of Hacks Joined : </h3> | ||
</template> | ||
</numeric-list-filter> | ||
</div> | ||
</div> | ||
<div class="is-column"> | ||
<div> | ||
<searchbox :id="'searchbox'" :autofocus="true" :realtime="true" :timeout="200" :field="['keywords', 'handle', 'persona']" :placeholder="'Search by keyword'"></searchbox> | ||
<search-datalist :id="'searchdatalist'" :realtime="true" :field="'keywords'" :suggestion="['keywords']"> | ||
<template slot="items" slot-scope="{ item, value }"> | ||
[[ value ]] [[ item._source.keywords ]] | ||
</template> | ||
|
||
<template slot="nosuggestion" slot-scope="{ value }"> | ||
Sorry, "[[ value ]]" doesn't exist... :( | ||
</template> | ||
|
||
<template slot="suggestions" slot-scope="{ suggestion }"> | ||
<span v-html="suggestion.highlight.first_name ? suggestion.highlight.first_name[0] : suggestion._source.first_name"></span> | ||
<span v-html="suggestion.highlight.last_name ? suggestion.highlight.last_name[0] : suggestion._source.last_name"></span> | ||
<span v-html="suggestion.highlight.handle ? suggestion.highlight.handle[0] : suggestion._source.handle"></span> | ||
<span v-html="suggestion.highlight.persona ? suggestion.highlight.persona[0] : suggestion._source.persona"></span> | ||
</template> | ||
</search-datalist> | ||
|
||
<div style="margin: 20px auto;width: 90%"> | ||
<search-button></search-button> | ||
<reset-button :emptyHits="false"></reset-button> | ||
</div> | ||
<hits> | ||
<template slot="hits" slot-scope="{ hits }"> | ||
<div class="is-score is-hits"> | ||
<strong v-if="hits.score === 0">No result found</strong> | ||
<strong v-else-if="hits.score === 1">1 result found</strong> | ||
<strong v-else-if="hits.score > 1">[[ hits.score ]] results found</strong> | ||
</div> | ||
<div v-for="item in hits.items" :item="item"> | ||
<div><strong>Identity (firstname, lastname) :</strong> ([[ item._source.first_name ]] [[ item._source.last_name ]] )</div> | ||
</div> | ||
</template> | ||
</hits> | ||
|
||
<paginate :previousText="'⮜ Previous page'" :nextText="'Next page ⮞'" :size="10"></paginate> | ||
</div> | ||
<div class="is-column"> | ||
<div> | ||
<searchbox :id="'searchbox'" :autofocus="true" :realtime="true" :timeout="200" :field="['keywords', 'handle', 'persona']" :placeholder="'Search by keyword'"></searchbox> | ||
<search-datalist :id="'searchdatalist'" :realtime="true" :field="'keywords'" :suggestion="['keywords']"> | ||
<template slot="items" slot-scope="{ item, value }"> | ||
[[ value ]] [[ item._source.keywords ]] | ||
</template> | ||
|
||
<template slot="nosuggestion" slot-scope="{ value }"> | ||
Sorry, "[[ value ]]" doesn't exist... :( | ||
</template> | ||
|
||
<template slot="suggestions" slot-scope="{ suggestion }"> | ||
<span v-html="suggestion.highlight.first_name ? suggestion.highlight.first_name[0] : suggestion._source.first_name"></span> | ||
<span v-html="suggestion.highlight.last_name ? suggestion.highlight.last_name[0] : suggestion._source.last_name"></span> | ||
<span v-html="suggestion.highlight.handle ? suggestion.highlight.handle[0] : suggestion._source.handle"></span> | ||
<span v-html="suggestion.highlight.persona ? suggestion.highlight.persona[0] : suggestion._source.persona"></span> | ||
</template> | ||
</search-datalist> | ||
|
||
<div style="margin: 20px auto;width: 90%"> | ||
<search-button></search-button> | ||
<reset-button :emptyHits="false"></reset-button> | ||
</div> | ||
<hits> | ||
<template slot="hits" slot-scope="{ hits }"> | ||
<div class="is-score is-hits"> | ||
<strong v-if="hits.score === 0">No result found</strong> | ||
<strong v-else-if="hits.score === 1">1 result found</strong> | ||
<strong v-else-if="hits.score > 1">[[ hits.score ]] results found</strong> | ||
</div> | ||
<div v-for="item in hits.items" :item="item"> | ||
<div><strong>Identity (firstname, lastname) :</strong> ([[ item._source.first_name ]] [[ item._source.last_name ]] )</div> | ||
</div> | ||
</template> | ||
</hits> | ||
|
||
<paginate :previousText="'⮜ Previous page'" :nextText="'Next page ⮞'" :size="10"></paginate> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</section> | ||
</div> | ||
|
||
<script type="text/x-template" id="select2-template"> | ||
|
@@ -154,7 +155,7 @@ <h3 class="is-nlf-title">Number of Hacks Joined : </h3> | |
|
||
{% csrf_token %} | ||
{% include 'shared/analytics.html' %} | ||
{% include 'shared/footer_scripts.html' %} | ||
{% include 'shared/footer_scripts.html' with slim=1 %} | ||
{% include 'shared/footer.html' %} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/innersearch.min.js"></script> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
|
||
.floating{ | ||
animation: floating 3s ease-in-out infinite; | ||
animation: floating 3s ease-in-out infinite; | ||
} | ||
|
||
.floating2{ | ||
animation: floating2 3s ease-in-out infinite; | ||
animation: floating2 3s ease-in-out infinite; | ||
} | ||
|
||
@keyframes floating { | ||
0% { transform: translate(0, 0px); } | ||
50% { transform: translate(0, 15px); } | ||
100% { transform: translate(0, 0px); } | ||
0% { transform: translate(0, 0px); } | ||
50% { transform: translate(0, 15px); } | ||
100% { transform: translate(0, 0px); } | ||
} | ||
|
||
@keyframes floating2 { | ||
0% { transform: translate(0, 15px); } | ||
50% { transform: translate(0, 0px); } | ||
100% { transform: translate(0, 15px); } | ||
0% { transform: translate(0, 15px); } | ||
50% { transform: translate(0, 0px); } | ||
100% { transform: translate(0, 15px); } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this not needed ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is already loaded on footer_scripts