Compare commits

...

5 Commits

Author SHA1 Message Date
4b70470a86 remove redundant output
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-04-25 01:41:45 -06:00
aa52e42d9e update example 2020-04-25 01:41:36 -06:00
d3cb16cefb Add source code link button
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-25 01:33:55 -06:00
4f3359a1c9 Remove link to releases download 2020-04-25 01:33:43 -06:00
0d5e14e2e9 Add git ignore 2020-04-25 01:33:28 -06:00
5 changed files with 15 additions and 2 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
covid19-edmonton
covid19-edmonton.exe

View File

@ -21,7 +21,7 @@ Simply invoke it with the -web flag and it will listen on port 8080
### Installation for Windows
1. [Download from releases page](https://deadbeef.codes/attachments/946604d4-ec45-45f9-afab-e2e33f9359d4) and run it. We're not fancy. I can't even afford a code signing certificate.
Download from releases page and run it. We're not fancy. I can't even afford a code signing certificate.
### Building from Source

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -93,7 +93,6 @@ func main() {
if err != nil {
log.Fatalf("failed to get data from alberta government website: %v", err)
}
fmt.Printf("As of %s Mountain Time (the real time)\n\n", cache.UpdatedDate.Format("2006 Jan 02 15:04:05"))
// CLI mode, print output to stdout
fmt.Println("Edmonton Active: ", cache.Data.ActiveCasesEdmonton)
fmt.Println("Edmonton Total: ", cache.Data.TotalCasesEdmonton)

View File

@ -20,9 +20,20 @@
padding-bottom: 5em;
}
</style>
<script>
$(document).ready(function () {
$('#sourceCodeButton').on("click", function() {
window.location = "https://deadbeef.codes/steven/covid19-edmonton"
});
});
</script>
</head>
<body>
<div id="sourceCodeButton" class="ui right floated button">
Source Code
</div>
<br />
<center>
<h1 class="ui header">
COVID-19 Dashboard
@ -31,6 +42,7 @@
</div>
</h1>
</center>
<div class="ui divider"></div>
<div class="ui fluid four column doubling stackable grid container">
<div class="column">