SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
d19be4a6
Commit
d19be4a6
authored
1 year ago
by
George Katsikas
Browse files
Options
Downloads
Patches
Plain Diff
compact production page search menu
parent
d759e8ca
No related branches found
No related tags found
1 merge request
!43
Polish up new production page
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scipost_django/production/templates/production/production_new.html
+25
-21
25 additions, 21 deletions
...jango/production/templates/production/production_new.html
with
25 additions
and
21 deletions
scipost_django/production/templates/production/production_new.html
+
25
−
21
View file @
d19be4a6
...
...
@@ -13,8 +13,28 @@
<h1>
Production Streams
</h1>
<div
class=
"card my-4"
>
<div
class=
"card-header"
>
Search / filter
</div>
<details
class=
"card my-4"
>
<summary
class=
"card-header fs-6 d-inline-flex align-items-center"
>
Search / Filter / Bulk Actions
<div
class=
"ms-auto d-inline-flex align-items-center"
>
<div
id=
"indicator-search-productionstreams"
class=
"htmx-indicator"
>
<button
class=
"btn btn-warning text-white me-2"
type=
"button"
disabled
>
<strong>
Loading...
</strong>
<div
class=
"spinner-grow spinner-grow-sm ms-2"
role=
"status"
aria-hidden=
"true"
></div>
</button>
</div>
<a
id=
"refresh-button"
class=
"m-2 btn btn-primary"
>
{% include "bi/arrow-clockwise.html" %}
Refresh
</a>
</div>
</summary>
<div
class=
"card-body"
>
<form
hx-post=
"{% url 'production:_hx_productionstream_list' %}"
hx-trigger=
"load, keyup delay:500ms, change, click from:#refresh-button"
...
...
@@ -24,29 +44,13 @@
<div
id=
"search-productionstreams-form"
>
{% crispy search_productionstreams_form %}
</div>
</form>
</div>
</d
iv
>
</d
etails
>
<div
class=
"row"
>
<div
class=
"col"
>
<em
class=
"d-none d-md-inline"
>
The list should update automatically. Feels stuck?
</em>
<a
id=
"refresh-button"
class=
"m-2 btn btn-primary"
>
{% include "bi/arrow-clockwise.html" %}
Refresh
</a>
</div>
<div
class=
"col-auto"
>
<div
id=
"indicator-search-productionstreams"
class=
"htmx-indicator"
>
<button
class=
"btn btn-sm btn-warning"
type=
"button"
disabled
>
<strong>
Loading...
</strong>
<div
class=
"spinner-grow spinner-grow-sm ms-2"
role=
"status"
aria-hidden=
"true"
></div>
</button>
</div>
</div>
<div
class=
"col-auto"
></div>
</div>
<div
id=
"search-productionstreams-results"
class=
"mt-2"
></div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment