Skip to content
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

Gpg/new components #8381

Merged
merged 214 commits into from
Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
214 commits
Select commit Hold shift + click to select a range
e76e8ed
Install django-libsass - implement test .scss on grants page
gdixon Feb 4, 2021
15f9f1d
Replaces bootstrap.min.css with bootstrap.scss
gdixon Feb 5, 2021
e2fb274
Replaces bootstrap-vue.min.css with an import to bootstrap-vue/index.…
gdixon Feb 5, 2021
b7f1473
Replaces vue-select.css with vue-select.scss
gdixon Feb 5, 2021
a2fa5ec
Drops main.scss example from grants page
gdixon Feb 5, 2021
2245df4
Adds minification rules
gdixon Feb 5, 2021
8e8e764
Moves bootstrap, bootstrap-vue, vue-select to v3/lib
gdixon Feb 5, 2021
1111aa9
Updates bootstrap v4.3.1 -> v4.6.0
gdixon Feb 5, 2021
c83a946
move files
octavioamu Feb 5, 2021
529818d
Move all scss libs to scss/lib/*
gdixon Feb 6, 2021
606dd86
remove old files
octavioamu Feb 9, 2021
b4dcf4c
Copies all css to scss and sets fileTypes
gdixon Feb 8, 2021
0fe655d
Updates css href's -> scss (app/retail/templates/shared/head.html)
gdixon Feb 8, 2021
84ca733
Internalises vue-innersearch.css (v0.0.12)
gdixon Feb 8, 2021
b016708
Updates css href's -> scss (app/app/templates/search/search.html)
gdixon Feb 8, 2021
c647c18
Updates css href's -> scss (app/dashboard/templates/bulk_payout_bount…
gdixon Feb 8, 2021
47d0716
Updates css href's -> scss (app/dashboard/templates/labs.html)
gdixon Feb 8, 2021
0c1b67c
Updates css href's -> scss (app/dashboard/templates/process_bounty.html)
gdixon Feb 8, 2021
a3b3c86
Updates css href's -> scss (app/dashboard/templates/quickstart.html)
gdixon Feb 8, 2021
eb4a802
Updates css href's -> scss (app/dashboard/templates/request_payment.h…
gdixon Feb 8, 2021
0b9a569
Updates css href's -> scss (app/dashboard/templates/board/index.html)
gdixon Feb 8, 2021
209e350
Updates css href's -> scss (app/dashboard/templates/bounty/change.html)
gdixon Feb 8, 2021
475be60
Updates css href's -> scss (app/dashboard/templates/bounty/details.html)
gdixon Feb 8, 2021
2657aa4
Updates css href's -> scss (app/dashboard/templates/bounty/details2.h…
gdixon Feb 8, 2021
0a85252
Updates css href's -> scss (app/dashboard/templates/bounty/fullfill.h…
gdixon Feb 8, 2021
9a56c5e
Updates css href's -> scss (app/dashboard/templates/bounty/increase.h…
gdixon Feb 8, 2021
3f10220
Updates css href's -> scss (app/dashboard/templates/bounty/new_bounty…
gdixon Feb 8, 2021
14983f8
Updates css href's -> scss (app/dashboard/templates/dashboard/explore…
gdixon Feb 8, 2021
0e9465b
Updates css href's -> scss (app/dashboard/templates/dashboard/index-v…
gdixon Feb 8, 2021
df500b3
Updates css href's -> scss (app/dashboard/templates/dashboard/index.h…
gdixon Feb 8, 2021
6d2cb11
Updates css href's -> scss (app/dashboard/templates/dashboard/sponser…
gdixon Feb 8, 2021
bacdf80
Updates css href's -> scss (app/dashboard/templates/dashboard/user-el…
gdixon Feb 8, 2021
dc202cb
Updates css href's -> scss (app/dashboard/templates/dashboard/users.h…
gdixon Feb 8, 2021
3c4547b
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon Feb 8, 2021
264152c
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon Feb 8, 2021
e11ae5d
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon Feb 8, 2021
689a705
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon Feb 8, 2021
7032681
Internalises quill.*.css (renaming to .scss) (v1.3.6)
gdixon Feb 8, 2021
8887bad
Updates css href's -> scss (app/dashboard/templates/ftux/onboard.html)
gdixon Feb 8, 2021
856e912
Copies onepage css to scss and sets fileTypes
gdixon Feb 8, 2021
c5199d7
Updates css href's -> scss (app/dashboard/templates/onepager/base.html)
gdixon Feb 8, 2021
32b737c
Updates css href's -> scss (app/dashboard/templates/onepager/send2.html)
gdixon Feb 8, 2021
ae2ed38
Updates css href's -> scss (app/dashboard/templates/profiles/profile.…
gdixon Feb 8, 2021
d6072ec
Updates css href's -> scss (app/dashboard/templates/profiles/tribes-v…
gdixon Feb 8, 2021
ca1b180
Updates css href's -> scss (app/dashboard/templates/shared/newsletter…
gdixon Feb 8, 2021
07fdc4b
Updates css href's -> scss (app/dashboard/templates/shared/search_bar…
gdixon Feb 8, 2021
dfa8ef0
Updates css href's -> scss (app/dataviz/templates/cohort.html)
gdixon Feb 8, 2021
71d2c84
Copies admin/css/dashboard to scss and sets fileTypes
gdixon Feb 9, 2021
919877a
Updates css href's -> scss (app/dataviz/templates/funnel.html)
gdixon Feb 9, 2021
6d23df7
Updates css href's -> scss (app/dashboard/templates/dashboard/hackath…
gdixon Feb 9, 2021
32ec6af
Updates css href's -> scss (app/dashboard/templates/profiles/tribes-v…
gdixon Feb 9, 2021
a9523be
Updates css href's -> scss (app/dataviz/templates/dataviz/admin_graph…
gdixon Feb 9, 2021
5f430c0
Updates css href's -> scss (app/dataviz/templates/dataviz/circles.html)
gdixon Feb 9, 2021
c2743b8
Updates css href's -> scss (app/dataviz/templates/dataviz/draggable.h…
gdixon Feb 9, 2021
49f98fa
Updates css href's -> scss (app/dataviz/templates/dataviz/graph.html)
gdixon Feb 9, 2021
f2e65ef
Updates css href's -> scss (app/dataviz/templates/dataviz/heatmap.html)
gdixon Feb 9, 2021
6e794eb
Updates css href's -> scss (app/dataviz/templates/dataviz/index.html)
gdixon Feb 9, 2021
6654469
Updates css href's -> scss (app/dataviz/templates/dataviz/mesh.html)
gdixon Feb 9, 2021
18f1f14
Updates css href's -> scss (app/dataviz/templates/dataviz/spiral.html)
gdixon Feb 9, 2021
aacb9aa
Updates css href's -> scss (app/dataviz/templates/dataviz/steamgraph.…
gdixon Feb 9, 2021
1d4aace
Updates css href's -> scss (app/dataviz/templates/dataviz/sunburst.html)
gdixon Feb 9, 2021
f59e439
Updates css href's -> scss (app/dataviz/templates/stats.html)
gdixon Feb 9, 2021
a46749c
Updates css href's -> scss (app/faucet/templates/bulk_DM.html)
gdixon Feb 9, 2021
02740e5
Updates css href's -> scss (app/faucet/templates/bulk_email.html)
gdixon Feb 9, 2021
a92d596
Updates css href's -> scss (app/faucet/templates/process_faucet_reque…
gdixon Feb 9, 2021
02f3161
Updates css href's -> scss (app/grants/templates/grants/_new.html)
gdixon Feb 9, 2021
2a56cb2
Updates css href's -> scss (app/grants/templates/grants/cancel.html)
gdixon Feb 9, 2021
6b0260a
Updates css href's -> scss (app/grants/templates/grants/cart-vue.html)
gdixon Feb 9, 2021
cefed32
Updates css href's -> scss (app/grants/templates/grants/detail/_index…
gdixon Feb 9, 2021
387d4f1
Updates css href's -> scss (app/grants/templates/grants/detail/index.…
gdixon Feb 9, 2021
3ae3ad1
Updates css href's -> scss (app/grants/templates/grants/faq.html)
gdixon Feb 9, 2021
3793eaa
Updates css href's -> scss (app/grants/templates/grants/index.html)
gdixon Feb 9, 2021
5a0ad6e
Updates css href's -> scss (app/grants/templates/grants/ingest-contri…
gdixon Feb 9, 2021
7e7f99c
Updates css href's -> scss (app/grants/templates/grants/new-whitelabe…
gdixon Feb 9, 2021
9ead662
Updates css href's -> scss (app/grants/templates/grants/new.html)
gdixon Feb 9, 2021
861708f
Updates css href's -> scss (app/grants/templates/grants/new_match.html)
gdixon Feb 9, 2021
d821c72
Updates css href's -> scss (app/grants/templates/grants/quickstart.html)
gdixon Feb 9, 2021
66b80f3
Updates css href's -> scss (app/kudos/templates/kudos_about.html)
gdixon Feb 9, 2021
61f790a
Updates css href's -> scss (app/kudos/templates/kudos_details.html)
gdixon Feb 9, 2021
c079bf8
Updates css href's -> scss (app/kudos/templates/kudos_marketplace.html)
gdixon Feb 9, 2021
3891d0c
Updates css href's -> scss (app/kudos/templates/transaction/base.html)
gdixon Feb 9, 2021
4394ecd
Updates css href's -> scss (app/kudos/templates/receive_bulk.html)
gdixon Feb 9, 2021
1a19c9c
Updates css href's -> scss (app/ptokens/templates/buy_a_token.html)
gdixon Feb 9, 2021
dfc3ab4
Updates css href's -> scss (app/ptokens/templates/personal_tokens.html)
gdixon Feb 9, 2021
66de6c1
Updates css href's -> scss (app/ptokens/templates/ptokens_buy_faq.html)
gdixon Feb 9, 2021
760fedd
Updates css href's -> scss (app/ptokens/templates/ptokens_faq.html)
gdixon Feb 9, 2021
654b900
Updates css href's -> scss (app/ptokens/templates/ptokens_make_faq.html)
gdixon Feb 9, 2021
cccfe07
Updates css href's -> scss (app/quests/templates/quests/base.html)
gdixon Feb 9, 2021
4d9c8a3
Updates css href's -> scss (app/quests/templates/quests/new.html)
gdixon Feb 9, 2021
f405117
Updates css href's -> scss (app/quests/templates/quests/types/example…
gdixon Feb 9, 2021
c174bf5
Updates css href's -> scss (app/quests/templates/quests/types/quiz_st…
gdixon Feb 9, 2021
1eb57e4
Updates css href's -> scss (app/retail/templates/about.html)
gdixon Feb 9, 2021
60611d6
Updates css href's -> scss (app/retail/templates/activity.html)
gdixon Feb 9, 2021
523e0aa
Updates css href's -> scss (app/retail/templates/admin/base.html)
gdixon Feb 9, 2021
a04d1ae
Updates css href's -> scss (app/retail/templates/admin/index.html)
gdixon Feb 9, 2021
178bfb8
Updates css href's -> scss (app/retail/templates/avatar_landing.html)
gdixon Feb 9, 2021
013a419
Updates css href's -> scss (app/retail/templates/base.html)
gdixon Feb 9, 2021
6e42dfb
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon Feb 9, 2021
31358ab
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon Feb 9, 2021
0327d15
Updates css href's -> scss (app/retail/templates/bounties/contributor…
gdixon Feb 9, 2021
406a741
Updates css href's -> scss (app/retail/templates/bounties/funder.html)
gdixon Feb 9, 2021
6f41336
Updates css href's -> scss (app/retail/templates/emails_unsubscribed.…
gdixon Feb 9, 2021
882acc0
Updates css href's -> scss (app/retail/templates/emails/recap/weekly_…
gdixon Feb 9, 2021
4763718
Updates css href's -> scss (app/retail/templates/emails/shared_templa…
gdixon Feb 9, 2021
eb949b1
Updates css href's -> scss (app/retail/templates/home/index.html)
gdixon Feb 9, 2021
26b47b4
Updates css href's -> scss (app/retail/templates/home/index2020.html)
gdixon Feb 9, 2021
ac0c5bf
Updates css href's -> scss (app/retail/templates/how_it_works/index.h…
gdixon Feb 9, 2021
4260ab4
Updates css href's -> scss (app/retail/templates/leaderboard.html)
gdixon Feb 9, 2021
48ecc31
Updates css href's -> scss (app/retail/templates/mission.html)
gdixon Feb 9, 2021
2a26d8a
Updates css href's -> scss (app/retail/templates/newkudos.html)
gdixon Feb 9, 2021
1143c9d
Updates css href's -> scss (app/retail/templates/newtoken.html)
gdixon Feb 9, 2021
c67ab7d
Updates css href's -> scss (app/retail/templates/presskit.html)
gdixon Feb 9, 2021
bf71669
Updates css href's -> scss (app/retail/templates/process_accesscode_r…
gdixon Feb 9, 2021
a4d71d3
Updates css href's -> scss (app/retail/templates/products.html)
gdixon Feb 9, 2021
f346b88
Updates css href's -> scss (app/retail/templates/resend_tip.html)
gdixon Feb 9, 2021
febd5f2
Updates css href's -> scss (app/retail/templates/results.html)
gdixon Feb 9, 2021
1dda631
Updates css href's -> scss (app/retail/templates/tribes/landing.html)
gdixon Feb 9, 2021
4df1321
Updates css href's -> scss (app/retail/templates/vision.html)
gdixon Feb 9, 2021
533272a
Updates css href's -> scss (app/townsquare/templates/townsquare/index…
gdixon Feb 9, 2021
4df3971
Updates css href's -> scss (app/townsquare/templates/townsquare/new.h…
gdixon Feb 9, 2021
810352a
Updates css href's -> scss (app/townsquare/templates/townsquare/offer…
gdixon Feb 9, 2021
39d2c83
Renames quill-snow.scss -> quill.snow.scss
gdixon Feb 9, 2021
49be179
Adds misc .css (as .scss) from other locations
gdixon Feb 9, 2021
a12c0e2
Adds stylelint-scss
gdixon Feb 9, 2021
713cb12
Runs stylelint --fix
gdixon Feb 9, 2021
43c0dc3
Merge branch 'master' of https://github.com/gitcoinco/web into gpg/ne…
gdixon Feb 10, 2021
23ec5f0
Updates stylelint
gdixon Feb 10, 2021
86be017
Drops preload
gdixon Feb 10, 2021
27a64aa
Drops .css from test case
gdixon Feb 10, 2021
640df4e
Inline typography.scss (but still exclude from premailer)
gdixon Feb 10, 2021
f14b7b9
Restore mocked_requests param
gdixon Feb 10, 2021
32f2fb4
Drop .scss from admin
gdixon Feb 10, 2021
6de3b8d
merge
octavioamu Feb 10, 2021
8485cea
Adds collectstatic to travis
gdixon Feb 10, 2021
35d1314
Drop typography.scss from email templates
gdixon Feb 10, 2021
2dc0c08
Adds collectstatic again but with --disable-collectfast flag
gdixon Feb 10, 2021
521b986
remove css files
octavioamu Feb 10, 2021
2b5fea5
Adds missing stylesheet
gdixon Feb 10, 2021
de188fb
Fixes global btn override on quests
gdixon Feb 10, 2021
f16a44b
Fixes class name
gdixon Feb 10, 2021
73a44d4
Drops missing stylesheet
gdixon Feb 10, 2021
3ae6633
Extends block
gdixon Feb 10, 2021
1710238
Compress stylesheets offline in production
gdixon Feb 10, 2021
780c7d1
bundle js files and cleanup
octavioamu Feb 10, 2021
a935a4f
remove duplicates
octavioamu Feb 10, 2021
b29f409
avoid using jquery-old in most pages
octavioamu Feb 10, 2021
f4c8275
fix jsrender where is used
octavioamu Feb 10, 2021
856ca60
move select2 to jquery extras
octavioamu Feb 10, 2021
ce84892
Tidy up
gdixon Feb 11, 2021
a1cfb6b
Fixes indentation
gdixon Feb 11, 2021
3c83a6b
Fixes indentation
gdixon Feb 11, 2021
2d09d73
sass variables overwrites and cleanup
octavioamu Feb 11, 2021
23bf00a
sass variables overwrites and cleanup
octavioamu Feb 11, 2021
0733106
Merge branch 'gpg/new-components' of https://github.com/gitcoinco/web…
gdixon Feb 11, 2021
0f8a216
start nav styles
octavioamu Feb 11, 2021
f8771c1
nav icons
octavioamu Feb 11, 2021
684e8a6
add custom variables
octavioamu Feb 11, 2021
847dc6e
Fixes footer to the bottom of the screen (using flexbox)
gdixon Feb 12, 2021
16fdf23
Hides #top_nav_notification until .ready (stops el from showing empty…
gdixon Feb 12, 2021
bb93d40
Fixes linting
gdixon Feb 12, 2021
a4746db
fix wallet icon
octavioamu Feb 12, 2021
0242b55
Merge branch 'master' into gpg/new-components
gdixon Feb 15, 2021
7cb8421
Fixes naming convention for variables/mixins
gdixon Feb 15, 2021
3d9db76
Adds new fonts (Libre Franklin & Miriam Libre)
gdixon Feb 15, 2021
6b816d2
Updates the remaining nav's, replaces logos and makes provider-icon r…
gdixon Feb 15, 2021
43f32ef
Merge branch 'master' into gpg/new-components
gdixon Feb 15, 2021
ffa17e3
Override bootstrap font definitions
gdixon Feb 16, 2021
db070de
Drops Futura and Muli font definitions and files
gdixon Feb 16, 2021
c7424a3
Implements hot-module-reloading
gdixon Feb 17, 2021
8ab341f
Moves livereload to requirements/test.txt
gdixon Feb 17, 2021
157781d
Moves dj_static to requirements/test.txt
gdixon Feb 17, 2021
de78859
Merge branch 'master' into gpg/new-components
gdixon Feb 22, 2021
4c8b7e3
Fixes indentation
gdixon Feb 22, 2021
4c29a87
Fixes closing tags and adds footer to base
gdixon Feb 22, 2021
9ff79b4
Merge branch 'master' into gpg/new-components
octavioamu Feb 23, 2021
c5e4b92
add font variants support
octavioamu Feb 23, 2021
79a8706
fix font type
octavioamu Feb 23, 2021
996ff4a
move typography and css cleanup
octavioamu Feb 23, 2021
b5a3342
Fixes page overflowing on profile
gdixon Feb 24, 2021
64108a7
Merge branch 'master' into gpg/new-components
gdixon Feb 24, 2021
884177a
Tidies up navs
gdixon Feb 25, 2021
05c5e7a
Fixes fonts, colours and containers
gdixon Feb 25, 2021
4a3846b
Fixes gh-login position on landingpage
gdixon Feb 25, 2021
4d06f24
Fixes spacing of gh-login on main nav
gdixon Feb 25, 2021
434148e
Re-enables cart and switches styles to regular (fas->far)
gdixon Feb 25, 2021
6388372
Merge branch 'master' into gpg/new-components
gdixon Feb 25, 2021
d104659
Adds button variables and assigns colors
gdixon Feb 26, 2021
ebdf6b1
First batch of btn replacements
gdixon Feb 26, 2021
14afee0
Second batch of btn replacements
gdixon Feb 26, 2021
2df6c50
Drops .btn definitions that conflict with bootstrap
gdixon Feb 26, 2021
72b9ede
Merge pull request #8448 from gitcoinco/gpg/new-buttons
octavioamu Feb 26, 2021
3b3ce5f
font base increase
octavioamu Feb 26, 2021
137f5ed
Merge branch 'master' into gpg/new-components
gdixon Feb 26, 2021
3d65f4c
fix funder page
octavioamu Feb 26, 2021
dbc78ee
Changes more .btn-gc-*'s over to .btn-*
gdixon Feb 26, 2021
240e514
Tidy up variables
gdixon Mar 1, 2021
e09c9c7
Adds labels to navbar icons in mobile view
gdixon Mar 1, 2021
f391be0
Makes notification dot responsive (em->rem)
gdixon Mar 1, 2021
efb3f61
Drops surplus container
gdixon Mar 1, 2021
fa7d1b9
Updates townsquare (mobile and darkmode)
gdixon Mar 2, 2021
1fc48c2
Makes 'find a tribe' button more responsive
gdixon Mar 2, 2021
1f8ad2f
Fixes <a> tag colors
gdixon Mar 2, 2021
d33c1ba
Fixes Join Hackathon 401 error (missing mailchimp config in staging)
gdixon Mar 2, 2021
e2a49ef
Updates to products page
gdixon Mar 2, 2021
f3a449c
Drops line-height definition on p tag's
gdixon Mar 2, 2021
51d3af8
Use a version of the animated logo for townsquare/mission nav (dirty/…
gdixon Mar 2, 2021
6fabf6c
Ensures logo is initially white during load (for dark-mode)
gdixon Mar 2, 2021
00092c1
Fixes positioning of townsquare logo for mobile view
gdixon Mar 3, 2021
fefab6c
Darkens modal background for hackathons onboarding
gdixon Mar 3, 2021
53a5371
Updates colors on townsquare (text/onboarding modal)
gdixon Mar 3, 2021
fc9c1e3
Merge branch 'master' into gpg/new-components
gdixon Mar 3, 2021
4653785
Merge branch 'master' into gpg/new-components
gdixon Mar 3, 2021
412a7a7
Fixes grants collapse icon positioning and truncates long category names
gdixon Mar 3, 2021
f954daf
Changes "Search Grant" -> "Filter Grants" on sidebar searchKeyword input
gdixon Mar 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions app/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
'django.contrib.messages',
'collectfast', # Collectfast | static file collector
'django.contrib.staticfiles',
'livereload',
'cacheops',
'storages',
'social_django',
Expand Down
242 changes: 122 additions & 120 deletions app/app/templates/search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,133 +30,135 @@
</head>

<body id="{{ explore }}" class="interior {{active}} g-font-muli">
{% include 'shared/tag_manager_2.html' %}
<div class="container-fluid header dash">
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'home/nav.html' %}
</div>
{% block content %}
<h2>Search</h2>

<form method="get" action="">
<table>
{{ form.as_table }}
<tr>
<td>&nbsp;</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 }}&amp;page={{ page.previous_page_number }}">{% endif %}&laquo; Previous{% if page.has_previous %}</a>{% endif %}
|
{% if page.has_next %}<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %}
</div>
{% endif %}
{% else %}
{# Show some example queries to run, maybe query syntax, something else? #}
{% endif %}
</form>
{% endblock %}
<div id="gc-users-directory" v-cloak>

<section>
<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 }">
Number of Hacks Joined: [[ data._source.keywords ]]
</template>
</tag-filter>
</div>

<div class="is-columns">
<div class="is-column is-one-fifth">
<div class="content__main min-vh-100 d-md-flex flex-column">
{% include 'shared/tag_manager_2.html' %}
<div class="container-fluid header dash">
{% include 'shared/top_nav.html' with class='d-md-flex' %}
{% include 'home/nav.html' %}
</div>
{% block content %}
<h2>Search</h2>

<form method="get" action="">
<table>
{{ form.as_table }}
<tr>
<td>&nbsp;</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>
<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>
{% if page.has_previous %}<a href="?q={{ query }}&amp;page={{ page.previous_page_number }}">{% endif %}&laquo; Previous{% if page.has_previous %}</a>{% endif %}
|
{% if page.has_next %}<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %}
</div>
{% endif %}
{% else %}
{# Show some example queries to run, maybe query syntax, something else? #}
{% endif %}
</form>
{% endblock %}
<div id="gc-users-directory" v-cloak>

<section>
<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 }">
Number of Hacks Joined: [[ data._source.keywords ]]
</template>
</tag-filter>
</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 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>
<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="'&#x2B9C; Previous page'" :nextText="'Next page &#x2B9E;'" :size="10"></paginate>
</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="'&#x2B9C; Previous page'" :nextText="'Next page &#x2B9E;'" :size="10"></paginate>
</div>
</div>
</div>
</section>
</section>
</div>

<script type="text/x-template" id="select2-template">
<select>
<slot></slot>
</select>
</script>

{% csrf_token %}
{% include 'shared/analytics.html' %}
{% include 'shared/footer_scripts.html' with slim=1 %}
{% include 'shared/footer.html' %}
</div>

<script type="text/x-template" id="select2-template">
<select>
<slot></slot>
</select>
</script>

{% csrf_token %}
{% include 'shared/analytics.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>


Expand Down
8 changes: 4 additions & 4 deletions app/app/templates/shared/hackathon-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,26 @@ <h5 class="font-subheader font-weight-semibold">

<div class="mt-3 hackathon-actions">
{% if event.end_date|timesince_fromisoformat <= "1 min" %}
<a href="{% url 'hackathon_onboard' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-gc-blue font-caption font-weight-semibold px-3 mb-2">
<a href="{% url 'hackathon_onboard' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-primary font-caption px-3 mb-2">
<i class="fas fa-user-plus mr-2 d-none d-sm-inline"></i>
Join
</a>
{% endif %}
{% if event.display_showcase %}
<a href="{% url 'hackathon_showcase_proxy' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-gc-blue font-caption font-weight-semibold px-3 mb-2">
<a href="{% url 'hackathon_showcase_proxy' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-primary font-caption px-3 mb-2">
<i class="fas fa-star d-none d-sm-inline" style="font-size:6.5px;position:relative;top:0.2rem;left:0.2rem;"></i>
<i class="fas fa-star mr-1 d-none d-sm-inline"></i>
Showcase
</a>
{% endif %}
{% if event.start_date|timesince_fromisoformat >= "1 min" and event.end_date|timesince_fromisoformat <= "1 min"%}
<a href="{% url 'hackathon_prizes' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} button--secondary font-caption font-weight-semibold px-3 mb-2">
<a href="{% url 'hackathon_prizes' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-outline-primary font-caption px-3 mb-2">
<i class="fas fa-trophy mr-2 d-none d-sm-inline"></i>
Prizes
</a>
{% endif %}
{% if event.show_results %}
<a href="{% url 'hackathon_projects' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} button--secondary font-caption font-weight-semibold px-3 mb-2">
<a href="{% url 'hackathon_projects' event.slug %}" class="btn {% if force_color %}no-pink{% endif %} btn-outline-primary font-caption px-3 mb-2">
<i class="fas fa-dharmachakra mr-2 d-none d-sm-inline"></i>
Projects
</a>
Expand Down
3 changes: 2 additions & 1 deletion app/app/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@
from raven.contrib.django.raven_compat.middleware.wsgi import Sentry
application = Sentry(get_wsgi_application())
else:
application = get_wsgi_application()
from dj_static import Cling
application = Cling(get_wsgi_application())
2 changes: 1 addition & 1 deletion app/assets/onepager/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ body #main a.no-pink:hover {
color: var(--gc-blue-hover);
}

body #main a.no-pink.btn-gc-blue {
body #main a.no-pink.btn-primary {
color: #ffffff;
}

Expand Down
Binary file removed app/assets/v2/fonts/futura/FuturaStd-Medium.otf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font1.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font2.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font3.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font4.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font5.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font6.ttf
Binary file not shown.
Binary file removed app/assets/v2/fonts/futura/font7.ttf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading