File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
django_wtf/templates/core Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
{% extends "core/base.html" %}
2
2
{% block content %}
3
- < div class ="mb-5 w-full flex-col content -center self-center lg:mt-5 lg:flex lg:w-7/12 ">
4
- < form class ="form flex justify-between ">
3
+ < div class ="mb-5 flex-col self -center w-11/12 lg:mt-5 lg:flex lg:w-7/12 ">
4
+ < form class ="form lg: flex lg: justify-between ">
5
5
< label class ="form-control ">
6
6
< div class ="label ">
7
7
< span class ="label-text "> Search</ span >
14
14
hx-push-url ="true "
15
15
hx-target ="#search_table "
16
16
hx-trigger ="keyup changed delay:0.5s "
17
- class ="input input-bordered input-sm min-w-64 " />
17
+ class ="input input-bordered min-w-64 " />
18
18
</ label >
19
19
< div class ="flex gap-4 ">
20
20
< label class ="form-control ">
39
39
</ label >
40
40
</ div >
41
41
</ form >
42
- < div id ="search_table " class ="table table-sm mt-7 "> {% include "core/search_table.html" %}</ div >
42
+ < div id ="search_table " class ="mt-7 "> {% include "core/search_table.html" %}</ div >
43
43
</ div >
44
44
{% endblock content %}
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ <h2 class="flex justify-between card-title">
11
11
< span class ="text-sm "> ⭐ {{ object.stars }}</ span >
12
12
</ h2 >
13
13
</ a >
14
- < p >
14
+ < div class =" flex flex-wrap gap-2 " >
15
15
{% for topic in object.topics|slice:"0:5" %}
16
- < a class ="p-3 mr-1 text-xs badge badge-outline hover:brightness-125 "
16
+ < a class ="text-xs badge badge-outline hover:brightness-125 "
17
17
href ="{% url 'core:search' %}?q={{ topic }} "> {{ topic|truncatechars:30 }}</ a >
18
18
{% endfor %}
19
- </ p >
19
+ </ div >
20
20
< p class ="mt-2 "> {{ object.description }}</ p >
21
21
</ div >
22
22
</ div >
You can’t perform that action at this time.
0 commit comments