Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
fanglinfang committed Sep 13, 2024
1 parent 10032ea commit fecc389
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ env:

on:
push:
branches: [main, develop]
branches: [main, f/style]
pull_request:
branches: [main, develop]
branches: [main, f/style]
types: [opened, reopened, synchronize]

jobs:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:

- name: Deployment Pipeline
if: >-
contains(fromJSON('["main", "develop"]'),
contains(fromJSON('["main", "f/style"]'),
needs.context.outputs.git_repo_branch)
uses: uw-it-aca/actions/cicd-deploy@main
with:
Expand Down
4 changes: 2 additions & 2 deletions status_dashboard/static/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ html, body {
.service {
border: 1px solid #ff8080;
border-radius: 10px;
width: 21.5em;
width: 20em;
min-height: 3em;
margin: 0 20px 20px 0;
padding: 0;
Expand Down Expand Up @@ -140,7 +140,7 @@ html, body {

.service .health {
padding: 8px 10px;
width: 5em;
width: 2em;
float: right;
text-align: left;
margin-top: 1em;
Expand Down
9 changes: 6 additions & 3 deletions status_dashboard/templates/service.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
</div>
<div class="desc">
{%if service.description %}{{service.description}}{% endif %}
{% if service.link %}<a href="{{service.link}}" title="Visit {{service.name}}"><i class="bi bi-box-arrow-up-right"></i></a>{% endif %}
{% if service.link %}
<a href="{{service.link}}" title="Visit {{service.name}}"
></a><i class="bi bi-box-arrow-up-right"></i></a>
{% endif %}
</div>
</div>
<div class="health">
<div class="status">{{service.status}}</div>
<i class="nominal bi bi-check-circle-fill"></i>
<i class="critical bi bi-exclamation-circle-fill"></i>
<i class="nominal bi bi-check-circle-fill" title="Status: {{service.status}}"></i>
<i class="critical bi bi-exclamation-circle-fill" title="Status: {{service.status}}"></i>
</div>
</div>

0 comments on commit fecc389

Please sign in to comment.