Search template updated
This commit is contained in:
parent
b36aeb0c42
commit
f19c81bf90
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
|
"[html]": {
|
||||||
|
"editor.formatOnSave": false
|
||||||
|
},
|
||||||
"liveSassCompile.settings.includeItems": ["**/static/css/style.scss"]
|
"liveSassCompile.settings.includeItems": ["**/static/css/style.scss"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div id="input-nav" class="p-3">
|
<div id="input-nav">
|
||||||
<p class="text-muted m-0">About {{ count }} results for <b><em class="text-orange"> {{ query }}</em></b></p>
|
<a href="{% url 'home' %}" class="primary1">Home</a> Search
|
||||||
</div>
|
</div>
|
||||||
<br><br>
|
<br><br>
|
||||||
|
|
||||||
@ -37,7 +37,7 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="card p-3" style="box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3); border-radius: 10px;">
|
<div class="card p-3" style="box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3); border-radius: 10px;">
|
||||||
<h4 class="text-muted m-0">About {{ count }} results for <b><em class="text-orange"> {{ query }}</em></b></h4>
|
<h5 class="text-muted m-0">{{ count }} result{{ count|pluralize }} for <b><em class="text-orange"> {{ query }}</em></b></h5>
|
||||||
<hr>
|
<hr>
|
||||||
{% for object in object_list %}
|
{% for object in object_list %}
|
||||||
{% with object|class_name as klass %}
|
{% with object|class_name as klass %}
|
||||||
@ -99,8 +99,7 @@
|
|||||||
{% empty %}
|
{% empty %}
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 text-center"><p><i class="far fa-frown fa-2x"></i> No result for your search</p></div>
|
<div class="col-12 col-md-6 mx-auto py-5">
|
||||||
<div class="col-12 col-md-6 mx-auto my-5 py-5">
|
|
||||||
<form method="GET" action=".">
|
<form method="GET" action=".">
|
||||||
|
|
||||||
<div class="input-group form-group-no-border mx-auto" style="margin-bottom: 0px; font-size: 32px;">
|
<div class="input-group form-group-no-border mx-auto" style="margin-bottom: 0px; font-size: 32px;">
|
||||||
@ -116,10 +115,10 @@
|
|||||||
<div class="col-12 pl-5">
|
<div class="col-12 pl-5">
|
||||||
<h5>Search by using:</h5>
|
<h5>Search by using:</h5>
|
||||||
<ul class="pl-3">
|
<ul class="pl-3">
|
||||||
<li>Program <span class="text-orange">></span> Title or Description</li>
|
<li>Program <span class="text-orange">></span> Title or Description</li>
|
||||||
<li>Course <span class="text-orange">></span> Title, Code or Description</li>
|
<li>Course <span class="text-orange">></span> Title, Code or Description</li>
|
||||||
<li>News And Events <span class="text-orange">></span> Title, Description or just by typing "news" or "event"</li>
|
<li>News And Events <span class="text-orange">></span> Title, Description or just by typing "news" or "event"</li>
|
||||||
<li>Quiz <span class="text-orange">></span> Title, Description or Category(practice, assignment and exam)</li>
|
<li>Quiz <span class="text-orange">></span> Title, Description or Category(practice, assignment and exam)</li>
|
||||||
<li></li>
|
<li></li>
|
||||||
<li></li>
|
<li></li>
|
||||||
<li></li>
|
<li></li>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user