Skip to content

Task/wi 33 fix dl usage#732

Merged
taoteg merged 4 commits intotask/WI-33from
task/WI-33--fix-dl-usage
Oct 16, 2023
Merged

Task/wi 33 fix dl usage#732
taoteg merged 4 commits intotask/WI-33from
task/WI-33--fix-dl-usage

Conversation

@wesleyboar
Copy link
Copy Markdown
Member

Overview

Fix markup indentation and usage. Tweak styles. Fixed "CEP Major Components" accuracy.

Related

Changes

  • changed markup, indentation & usage <dl> <dt> <dd>
  • changed styles to add space between <dd> and <dt>
  • fixed Web Portal description to be an intro <p>
  • fixed "CEP Major Components" list accuracy

Testing

  1. (to enter container)
    docker exec -it core_cms /bin/bash
    
  2. (in container)
    npm run build:css
    python manage.py collectstatic --no-input
    

UI

Very Tall Screenshot

localhost portal tech stack

@wesleyboar wesleyboar marked this pull request as ready for review October 13, 2023 22:57
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks messier than it is. Hide whitespace in the diff for an easier review.

Screenshot 2023-10-13 at 6 01 47 PM

I did not change text within paragraph-size text blocks. I fixed markup and changed indentation accordingly.


Before (Markup, Simplified Example)
<dl>
    <dt>…</dt>
    <dd>…</dd>
    <dt>…</dt>
    <dd>…</dd>
    <dl>
        <dt>…</dt>
        <dd>…</dd>
        <dt>…</dt>
        <dt>…</dt>
        <dd>…</dd>
    </dl>
    </dd>
    <dt>…</dt>
    <dd>…</dd>
</dl>
After (Markup, Simplified Example)
<dl>
    <dt>…</dt>
    <dd>…</dd>
    <dt>…</dt>
    <dd>
        <p>....</p>
        <dl>
            <dt>…</dt>
            <dd>…</dd>
            <dt>…</dt>
            <dt>…</dt>
            <dd>…</dd>
        </dl>
    </dd>
    <dt>…</dt>
    <dd>…</dd>
</dl>
Specification Reference (Summary)

MDN: <dl> Element

mdn

@taoteg taoteg merged commit e307522 into task/WI-33 Oct 16, 2023
@taoteg taoteg deleted the task/WI-33--fix-dl-usage branch October 16, 2023 14:24
taoteg added a commit that referenced this pull request Oct 16, 2023
* Initial set of changes for Portal Technology guide page. Includes updates to overview, common capabilities list and major component list.

* More portal tech guide edits up to the Frontend My Dashboard section.

* Updated the client-sider description. Completed up to the Enviropnment section at the end now.

* The last edits to the Cor Portal Architecture guide page. Sans new image that is.

* Update taccsite_cms/templates/guides/portal_technology.html

Remove extraneous dashes.

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

* Update taccsite_cms/templates/guides/portal_technology.html

Missing capitalization.

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

* Update taccsite_cms/templates/guides/portal_technology.html

Missing period in `e.g.`, capitalization of Layer.

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>

* Update portal_technology.html

Various syntax tweaks to verbiage throughout.
Changed form using ul/li to dl/dd/dt for better consistency in presentation.

* Updated the My Dashboard section to use dl, dt, dd elements instead.

* Missed an unclosed element tag.

* Reverted one dt dd combo for Environment so it is properly formatted.

* Added an entry about the My Account view.

* Task/wi 33  fix dl usage (#732)

* fix: indentation & wrapping `<dl>` `<dt>` `<dd>`

* feat: more space between `<dd>` and `<dt>`

By removing CSS that removed that space.

Maybe removal looked good in much older styles.

* fix: Web Portal description should be intro `<p>`

* fix: "CEP Major Components" list

---------

Co-authored-by: Wesley B <62723358+wesleyboar@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants