Skip to content

Commit f7214a6

Browse files
committed
Tweak Releases page styling
- Outline most recent release card - Make released/in test toggle dark - Make search box wider
1 parent add35ca commit f7214a6

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

corehq/apps/app_manager/templates/app_manager/partials/releases/releases_table.html

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
</p>
121121
</div>
122122
<div class="row my-1 mt-lg-0">
123-
<div class="col-lg-4 col-xl-3 offset-lg-8 offset-xl-9">
123+
<div class="col-lg-5 col-xl-4 offset-lg-7 offset-xl-8">
124124
<search-box
125125
data-apply-bindings="false"
126126
params="
@@ -171,9 +171,7 @@
171171
<div
172172
class="card mb-3"
173173
data-bind="css: {
174-
'build-released': is_released(),
175-
'build-unreleased': !is_released(),
176-
'shadow': version() === $root.latestReleasedVersion(),
174+
'border-primary shadow': version() === $root.latestReleasedVersion(),
177175
'error': build_broken
178176
}"
179177
>
@@ -225,28 +223,26 @@
225223
<div class="btn-group">
226224
<button
227225
type="button"
228-
class="btn btn-sm"
226+
class="btn btn-sm btn-outline-dark"
229227
data-bind="
230228
click: $root.toggleRelease,
231229
attr: { disabled: !$root.showReleaseOperations() },
232230
css: {
233231
'active': is_released(),
234-
'btn-primary': is_released(),
235-
'btn-outline-primary': !is_released(),
232+
'fw-normal': !is_released(),
236233
}"
237234
>
238235
{% trans "Released" %}
239236
</button>
240237
<button
241238
type="button"
242-
class="btn btn-sm btn-outline-primary"
239+
class="btn btn-sm btn-outline-dark"
243240
data-bind="
244241
click: $root.toggleRelease,
245242
attr: { disabled: !$root.showReleaseOperations() },
246243
css: {
247244
'active': !is_released(),
248-
'btn-primary': !is_released(),
249-
'btn-outline-primary': is_released(),
245+
'fw-normal': is_released(),
250246
}"
251247
>
252248
{% trans "In Test" %}

0 commit comments

Comments
 (0)