Fix users listing styling
This commit is contained in:
@@ -16,9 +16,9 @@ style.
|
|||||||
|
|
||||||
| {% block body %}
|
| {% block body %}
|
||||||
|
|
||||||
#search-container
|
#search-container.d-flex
|
||||||
#search-sidebar
|
.search-settings#search-sidebar.bg-light
|
||||||
input.search-field(
|
input.search-field.p-2.bg-white(
|
||||||
type="text",
|
type="text",
|
||||||
name="q",
|
name="q",
|
||||||
id="q",
|
id="q",
|
||||||
@@ -32,27 +32,24 @@ style.
|
|||||||
#accordion.panel-group.accordion(role="tablist", aria-multiselectable="true")
|
#accordion.panel-group.accordion(role="tablist", aria-multiselectable="true")
|
||||||
#facets
|
#facets
|
||||||
|
|
||||||
#pagination
|
#pagination.mt-3
|
||||||
|
#facets
|
||||||
|
#stats.search-list-stats
|
||||||
|
|
||||||
.search-list-stats
|
.border-left.search-list#search-list
|
||||||
#stats
|
|
||||||
|
|
||||||
#search-list
|
|
||||||
#hits
|
#hits
|
||||||
|
|
||||||
#search-details
|
#search-details.border-left.search-details
|
||||||
#search-hit-container
|
#search-error
|
||||||
|
#search-hit-container.w-100
|
||||||
|
|
||||||
|
|
||||||
| {% raw %}
|
| {% raw %}
|
||||||
// Facet template
|
// Facet template
|
||||||
script(type="text/template", id="facet-template")
|
script(type="text/template", id="facet-template")
|
||||||
.panel.panel-default
|
.card.border-0.p-0.m-2
|
||||||
a(data-toggle='collapse', data-parent='#accordion', href='#filter_{{ facet }}', aria-expanded='true', aria-controls='filter_{{ facet }}')
|
.card-body.p-3.m-0
|
||||||
.panel-heading(role='tab')
|
h6.text-muted {{ title }}
|
||||||
.panel-title {{ title }}
|
|
||||||
.panel-collapse.collapse.in(id='filter_{{ facet }}', role='tabpanel', aria-labelledby='headingOne')
|
|
||||||
.panel-body
|
|
||||||
| {{#values}}
|
| {{#values}}
|
||||||
a.facet_link.toggleRefine(
|
a.facet_link.toggleRefine(
|
||||||
class='{{#refined}}refined{{/refined}}',
|
class='{{#refined}}refined{{/refined}}',
|
||||||
@@ -61,17 +58,16 @@ script(type="text/template", id="facet-template")
|
|||||||
href='#')
|
href='#')
|
||||||
span
|
span
|
||||||
| {{ label }}
|
| {{ label }}
|
||||||
small.facet_count.text-muted.pull-right {{ count }}
|
small.text-black-50.float-right {{ count }}
|
||||||
| {{/values}}
|
| {{/values}}
|
||||||
|
|
||||||
|
|
||||||
// Hit template
|
// Hit template
|
||||||
script(type="text/template", id="hit-template")
|
script(type="text/template", id="hit-template")
|
||||||
.search-hit.users(data-user-id='{{ objectID }}')
|
.search-hit.users.cursor-pointer.p-2.border-bottom(data-user-id='{{ objectID }}')
|
||||||
.search-hit-name
|
h6.mb-0.font-weight-bold {{ full_name }}
|
||||||
| {{ full_name }}
|
small {{ username }}
|
||||||
small ({{ username }})
|
small.d-block.search-hit-roles.text-info
|
||||||
.search-hit-roles
|
|
||||||
| {{ roles }}
|
| {{ roles }}
|
||||||
|
|
||||||
|
|
||||||
@@ -86,8 +82,8 @@ script(type="text/template", id="pagination-template")
|
|||||||
|
|
||||||
// Stats template
|
// Stats template
|
||||||
script(type="text/template", id="stats-template")
|
script(type="text/template", id="stats-template")
|
||||||
h5 {{ nbHits }} result{{#nbHits_plural}}s{{/nbHits_plural}}
|
span {{ nbHits }} result{{#nbHits_plural}}s{{/nbHits_plural}}
|
||||||
span ({{ processingTimeMS }}ms)
|
small ({{ processingTimeMS }}ms)
|
||||||
| {% endraw %}
|
| {% endraw %}
|
||||||
|
|
||||||
| {% endblock %}
|
| {% endblock %}
|
||||||
|
Reference in New Issue
Block a user