From cb44df3df7a6c6498a9e820cabbfb5f0dacdcacf Mon Sep 17 00:00:00 2001 From: Sheeri Cabral Date: Wed, 21 Oct 2020 15:06:24 -0400 Subject: [PATCH] adding a few web usage post placeholders. Removing CI/CD, adding information to README about the script, adding the script run to the pull request template --- .github/workflows/check_links.yml | 29 -------------------------- README.md | 2 ++ _layouts/postWebUse.html | 26 +++++++++++++++++++++++ _posts/useWeb/2020-09-01-HomeScreen.md | 22 +++++++++++++++++++ _posts/useWeb/2020-09-01-Login.md | 11 ++++++++++ pull_request_template.md | 6 ++++-- 6 files changed, 65 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/check_links.yml create mode 100644 _layouts/postWebUse.html create mode 100644 _posts/useWeb/2020-09-01-HomeScreen.md create mode 100644 _posts/useWeb/2020-09-01-Login.md diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml deleted file mode 100644 index 499d1ef..0000000 --- a/.github/workflows/check_links.yml +++ /dev/null @@ -1,29 +0,0 @@ -github: - workspace:/Users/sheeri/github/wildaid.github.io -name: Jekyll site CI link checker - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: fake to run on my machine - run: apt-get update && apt-get install docker.io -y - - name: Build the site in the jekyll/builder container - run: | - docker run \ - -v ${{ github.workspace }}:/srv/jekyll \ - jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build" - - name: Check HTML - uses: chabad360/htmlproofer@master - with: - directory: "${{ github.workspace }}/_site" - arguments: --allow-hash-href --empty-alt-ignore --check_img_http diff --git a/README.md b/README.md index b364c2d..1aebb9b 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,8 @@ http://localhost:4000

To test that all links work, and all images have alt-tags, and similar issues - run this from the top-level directory (where this README file is):
`./script/test_images_links.sh`

+You must have [htmlproofer](https://github.com/gjtorikian/html-proofer) installed for this to work properly. + ## Style guide

The style guide includes notes on accessibility, and can be seen in the [style](https://wildaid.github.io/style) directory. diff --git a/_layouts/postWebUse.html b/_layouts/postWebUse.html new file mode 100644 index 0000000..7d77810 --- /dev/null +++ b/_layouts/postWebUse.html @@ -0,0 +1,26 @@ +--- +layout: default +--- +

{{ page.title }}

+ + +
+ {{ content }} +
+ + +
+ diff --git a/_posts/useWeb/2020-09-01-HomeScreen.md b/_posts/useWeb/2020-09-01-HomeScreen.md new file mode 100644 index 0000000..3f39da5 --- /dev/null +++ b/_posts/useWeb/2020-09-01-HomeScreen.md @@ -0,0 +1,22 @@ +--- +layout: postWebUse +title: "Home Screen" +date: 2020-09-01 01:00:00 -0400 +categories: preboarding +site: useWeb +--- + +* Table of contents +{:toc} + +This page needs to be fleshed out. + +# The Home Screen +Describe home screen here - dashboards, etc. +

+ +# Logging Out +To log out, click your avatar or name, and then click "Log Out" to be directed back to the login screen. + + + diff --git a/_posts/useWeb/2020-09-01-Login.md b/_posts/useWeb/2020-09-01-Login.md new file mode 100644 index 0000000..669dc0c --- /dev/null +++ b/_posts/useWeb/2020-09-01-Login.md @@ -0,0 +1,11 @@ +--- +layout: postWebUse +title: "Logging in" +date: 2020-09-01 00:00:00 -0400 +site: useWeb +--- + +Enter the username and password you were assigned and click the "Log In" button. + +more instructions need to be written here. + diff --git a/pull_request_template.md b/pull_request_template.md index 82bad0f..383d47d 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -8,9 +8,11 @@ Fixes # - [ ] I have read the [contributor's guide](https://wildaid.github.io/contribute/index.html). - [ ] I linked an issue in the previous section -- [ ] I have commented on the linked issue -- [ ] I was assigned the linked issue (not required) +- [ ] I was assigned the linked issue or commented on it to be assigned (not required) - [ ] I have tested the change to the best of my ability against the [sandbox](https://bit.ly/ofishsandbox) or a [local build](https://wildaid.github.io/build). +- [ ] I ran script/test_images_links.sh from the top-level directory (where the README file lives) and the output is: + + * **Optional: Add any explanations here**