Skip to content

Commit

Permalink
working save only
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisclark committed Jan 18, 2024
1 parent 7e98d83 commit 9137664
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,11 @@ div.sort {
.query_favourite_detail {
float: right;
}

.btn-save-only {
border-radius: 0px !important;
}

.dropdown-toggle::after{
margin-left: 0px !important;
}
2 changes: 1 addition & 1 deletion explorer/src/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
$bootstrap-icons-font-dir: "../../../node_modules/bootstrap-icons/font/fonts";
@import "~bootstrap-icons/font/bootstrap-icons.css";

@import "explorer.css";
@import "explorer";

@import "pivot.css";
10 changes: 6 additions & 4 deletions explorer/templates/explorer/query.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,14 @@ <h2>
{% endif %}
<div class="btn-group" role="group">
{% if can_change %}
<button id="save_button" type="submit"
class="btn btn-primary dropdown-toggle"
data-bs-toggle="dropdown" aria-expanded="false">
<button id="save_button" type="submit" class="btn btn-primary">
{% trans 'Save & Run' %}
</button>
<ul class="dropdown-menu" area-labelledby="save_button">
<button id="save_button_dd" type="button"
class="btn btn-primary dropdown-toggle btn-save-only"
data-bs-toggle="dropdown" aria-expanded="false">
</button>
<ul class="dropdown-menu" area-labelledby="save_button_dd">
<li><button class="dropdown-item" id="save_only_button">{% trans 'Save Only' %}</button></li>
</ul>
{% export_buttons query %}
Expand Down

0 comments on commit 9137664

Please sign in to comment.