Skip to content
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

Polish base.html Markup #149

Closed
wesleyboar opened this issue Mar 3, 2021 · 0 comments · Fixed by #151
Closed

Polish base.html Markup #149

wesleyboar opened this issue Mar 3, 2021 · 0 comments · Fixed by #151
Assignees
Labels
bug Something isn't working effort XL Extra large effort task (~4 weeks) — does not include review time enhancement Improvements or additions to existing features priority ━ Medium priority

Comments

@wesleyboar
Copy link
Member

wesleyboar commented Mar 3, 2021

Goal

  1. Remove unnecessary ID attribute in base.html.
  2. Update base.html to use semantic markup.
  3. Remove unnecessary div wrap from base.html.
  4. Update project-specific styles/markup as relevant.

Background

  1. The ID was inherited, and is unnecessary if <main> is used (of which there must only be one).
  2. The markup was inherited, and is not semantic.
  3. The base.html has two .o-site__body instances and an excess <div> wrapping the main and footer content.
  4. Some project-specific styles use main and #content-wrap to style (until #content-wrap is replaced).
@wesleyboar wesleyboar changed the title Polish base.html Markup Polish base.html Markup Mar 3, 2021
@wesleyboar wesleyboar added bug Something isn't working effort XL Extra large effort task (~4 weeks) — does not include review time priority ━ Medium priority labels Mar 3, 2021
@wesleyboar wesleyboar self-assigned this Mar 3, 2021
wesleyboar added a commit that referenced this issue Mar 3, 2021
1. Remove unnecessary ID attribute.
2. Update markup to be semantic.
3. Remove unnecessary `<div>` wrap.
@wesleyboar wesleyboar linked a pull request Apr 6, 2021 that will close this issue
@wesleyboar wesleyboar added the enhancement Improvements or additions to existing features label Jul 3, 2021
wesleyboar added a commit to TACC/Core-CMS-Resources that referenced this issue Apr 24, 2022
wesleyboar added a commit that referenced this issue Apr 24, 2022
* GH-149: Polish base.html markup

1. Remove unnecessary ID attribute.
2. Update markup to be semantic.
3. Remove unnecessary `<div>` wrap.

* GH-149: Update submodule to merge of main

* chore(gh-149): remove comments, tweak whitespace

* fix(gh-149): restore a deleted id (not the other)

* chore(texascale): remove legacy selectors, id gone

* chore(gh-149): update submod & core-styles

Co-authored-by: W. Bomar <62723358+tacc-wbomar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working effort XL Extra large effort task (~4 weeks) — does not include review time enhancement Improvements or additions to existing features priority ━ Medium priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant