Skip to content

Commit

Permalink
Fix styles, #10186
Browse files Browse the repository at this point in the history
  • Loading branch information
njkim committed Oct 26, 2023
1 parent d156ddc commit a661753
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
8 changes: 6 additions & 2 deletions arches/app/media/css/arches.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13706,13 +13706,17 @@ ul.select2-choices:after {
font-weight: 400;
}

.etl-module-body section h3 {
.etl-module-body section h3, .etl-module-subtitle {
font-size: 15px;
color: #565656;
font-weight: 300;
font-weight: normal;
margin: 10px 0px 5px 0px;
}

.etl-module-body section .switch-small {
margin: 0px 8px 3px;
}

.etl-module-body section .etl-module-component-block {
padding-bottom: 15px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ define([
)
);
}).always( function(){
self.deleteAllFormData();
self.counting(false);
});
};
Expand Down
2 changes: 2 additions & 0 deletions arches/app/templates/javascript.htm
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,8 @@
count-of-tiles-deleted='(count) => {return {% trans "Tiles deleted: ${count}" as countOfTilesDeleted %} `{{ countOfTilesDeleted|escapejs }}` }'
delete-tile-count='(tile, resource) => {return {% trans "${tile} tiles from ${resource} resources will be deleted" as deleteTileCount %} `{{ deleteTileCount|escapejs }}` }'
delete-resource-count='(resource) => {return {% trans "${resource} resources will be deleted" as deleteResourceCount %} `{{ deleteResourceCount|escapejs }}` }'
delete-tiles='{% trans "Delete Tiles" as deleteTiles %} "{{ deleteTiles|escapejs }}"'
delete-resources='{% trans "Delete Resources" as deleteResources %} "{{ deleteResources|escapejs }}"'
bulk-edit-limit-warning='(limit) => {return {% trans "For safety, only ${limit} bulk edits are allowed at a time. If you need to edit more than ${limit} entries, you will need to perform the operation multiple times." as bulkEditLimitWarning %} `{{ bulkEditLimitWarning|escapejs }}`}'
show='{% trans "show" as show %} "{{ show|escapejs }}"'
hide='{% trans "hide" as hide %} "{{ hide|escapejs }}"'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ <h2>
{% blocktrans %}Delete The Selected Resources or Tiles{% endblocktrans %}
</p>
<section class="etl-module-component">
<div class="form-group">
<h3>{% trans "Delete Resources" %}</h3>
<div class="form-group etl-module-component-block">
<span class="etl-module-subtitle" data-bind="text: $root.translations.deleteResources"></span>
<span class="switch switch-small" tabindex="0" role="switch"
data-bind="
css: {'on': deleteTiles()},
click: function(){deleteTiles(!deleteTiles())}
"><small></small></span>
<h3>{% trans "Delete Tiles" %}</h3>
<span class="etl-module-subtitle" data-bind="text: $root.translations.deleteTiles"></span>
</div>
<div class="etl-module-component-block">
<h3>
Expand Down Expand Up @@ -90,7 +90,7 @@ <h3>
</p>
<!-- /ko -->
<!-- ko if: showCount() && !deleteTiles() -->
<p>
<p style="margin-top: 15px;" >
<i class="fa fa-info-circle"></i>
<span data-bind="text: $root.translations.deleteResourceCount(numberOfResources())"></span>
</p>
Expand Down

0 comments on commit a661753

Please sign in to comment.