-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3877867
commit f81b383
Showing
11 changed files
with
82 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{{ define "message/tag-status" }} | ||
{{ if eq .Status 0 }} | ||
{{ if eq .Status 1 }} | ||
<span class="tag is-warning is-medium">Created</span> | ||
{{ else if eq .Status 1 }} | ||
<span class="tag is-success is-medium">Sent</span> | ||
{{ else if eq .Status 2 }} | ||
<span class="tag is-danger is-medium">Failed</span> | ||
<span class="tag is-success is-medium">Sent</span> | ||
{{ else if eq .Status 3 }} | ||
<span class="tag is-danger is-medium">Failed</span> | ||
{{ else if eq .Status 4 }} | ||
<span class="tag is-info is-medium">Skipped</span> | ||
{{ end }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{{ define "shim/status" }} | ||
<a class="button is-rounded is-small" href="?status=0">All</a> | ||
<a class="button is-rounded is-small is-warning" href="?status=1">Created</a> | ||
<a class="button is-rounded is-small is-success" href="?status=2">Sent</a> | ||
<a class="button is-rounded is-small is-danger" href="?status=3">Failed</a> | ||
<a class="button is-rounded is-small is-info" href="?status=4">Skipped</a> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters