8000 Fix downtimeOngoing style inconsistencies by adedommelin-ducksify · Pull Request #213 · cstate/cstate · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix downtimeOngoing style inconsistencies #213

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions exampleSite/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,13 @@ params:
# disrupted: "#cc4400"
# down: "#e60000"
# notice: "#24478f"
# ongoing: "#cc4400"
brand: "#0a0c0f"
ok: "#008000"
disrupted: "#cc4400"
down: "#e60000"
notice: "#24478f"
ongoing: "#cc4400"

# If the status page shows that
# there are disruptions or outages
Expand Down
2 changes: 1 addition & 1 deletion layouts/issues/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h1 class="clean">
{{ end }}
{{ end }}
{{ else }}
<strong class="error">
<strong class="ongoing">
{{ if eq .Params.severity "down" }}
{{ else if eq .Params.severity "disrupted" }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/issues/small.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h3>

<!-- Marker -->
{{ if eq .Params.severity "notice" }}
<strong class="warning">
<strong class="ongoing">
{{ if .Date.Before now }}
{{ T "downtimeOngoing" }}
Expand Down
1 change: 1 addition & 0 deletions layouts/partials/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
.ok { color: {{ .Site.Params.ok }}; }
.warning { color: {{ .Site.Params.disrupted }}; }
.error { color: {{ .Site.Params.down }}; }
.ongoing { color: {{ .Site.Params.ongoing }}; }

.contain {
max-width: 640px;
Expand Down
0