From 5fa41a15f8f41c7f04d05a487ddb01930639f393 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Sat, 22 Feb 2020 17:36:13 -0500 Subject: #2 Add CSS, favicon for landing page --- public/static/favicon.ico | Bin 0 -> 14225 bytes public/static/index.css | 59 +++++++++++++++++++++++++++++++++++ public/templates/index.html.template | 23 ++++++++++++-- 3 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 public/static/favicon.ico create mode 100644 public/static/index.css (limited to 'public') diff --git a/public/static/favicon.ico b/public/static/favicon.ico new file mode 100644 index 0000000..24bebc8 Binary files /dev/null and b/public/static/favicon.ico differ diff --git a/public/static/index.css b/public/static/index.css new file mode 100644 index 0000000..df05342 --- /dev/null +++ b/public/static/index.css @@ -0,0 +1,59 @@ +body { + margin: 0; +} + +div#top-half { + background-color: #c6e3a4; + padding: 8px; +} +div#bottom-half { + padding: 12px; +} + +div#container { + margin: 0 auto; + width: 600px; + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; +} + +div#logo { + width: 256px; + height: 256px; + margin: 0 auto; + pointer-events: none; + user-select: none; +} + +div#content { + padding-bottom: 8px; +} + +div#container h1 { + text-align: center; + font-weight: 500; + margin: 12px 0 0; +} + +div#content p { + text-align: justify; + padding: 0 10px; +} + +.code-container { + text-align: center; + margin: 24px 0; +} +.code { + background-color: #e8ebf4; + color: #000; + font-family: 'Courier New', Courier, monospace; + font-size: inherit; + padding: 6px 14px; + border: 0px solid #e8ebf4; + border-radius: 4px; + left: auto; + right: auto; +} +.code.shell:before { + content: "$ "; +} \ No newline at end of file diff --git a/public/templates/index.html.template b/public/templates/index.html.template index 0dfbee7..53095b3 100644 --- a/public/templates/index.html.template +++ b/public/templates/index.html.template @@ -6,11 +6,30 @@ AO Coverage: Simple code coverage tracking + -
- bash <(curl -s {{TARGET_URL}}/bash) +
+
+ +

Simple Code Coverage Tracking

+
+
+
+
+
+

AO Coverage is a simple code coverage tracking tool that stores your reports for public visibility and + provides a coverage badge for your projects. That’s all there is to it.

+

If you have a coverage token, uploading a report is as easy as adding this line to your CI pipeline:

+
+ bash <(curl -s {{TARGET_URL}}/bash) +
+

Visit the AO Coverage + documentation to learn more about uploading reports and discover more information about how AO Coverage + works.

+
+
-- cgit