-
Notifications
You must be signed in to change notification settings - Fork 213
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
feat(/security/disa-stig): Page redesign #14702
base: feature-security-bubble
Are you sure you want to change the base?
Conversation
@mattea-turic @eliman11 This one is ready for review |
Looks pretty much perfect, thanks @petesfrench! Just one comment - can you change the background to our paper color (#F3F3F3)? Will +1 anyways |
Thank you @petesfrench ! For the hero:
For 'DISA-STIG for Ubuntu":
For 'How to audit and comply with DISA-STIG?"
For "Resources":
|
Thanks @mattea-turic, I have addressed all your comments. One note on this one: They have the counter text has styling to align the text to the right. Not sure if this has been done for a reason |
Perfect, thanks @petesfrench ! I'll +1 |
@anthonydillon This one is ready for code&qa |
yes, so they align correctly (as numbers, not strings) when the counter goes over 10. otherwise the dot would move when the number of digits in the counter goes fro m1 to 2: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good Pete. There are a few suggestions in the code. There are several large PNGs which will make the total page size rather large by the time the user reaches the end. Could you try and tweak some formatting to get the best result without compromising much on design.
@@ -1766,3 +1766,11 @@ legend { | |||
height: 15rem; | |||
} | |||
} | |||
|
|||
// XXX: Custom styling to remove the full-stop after the counter in 'p-stepped-list' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you create an issue on vanilla to purpose this change please?
{%- endif -%} | ||
{%- if slot == 'image' -%} | ||
<div class="p-image-container--cinematic is-cover"> | ||
{{ image(url="https://assets.ubuntu.com/v1/f759a607-hero.png", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very large PNG. Could we try with fmt=jpg to reduce the size without losing to much data?
The Defense Information System Agency (DISA) is a US Department of Defense combat support agency. It provides and operates information infrastructure to support military operations and national-level leadership. The Security Technical Implementation Guide (STIG) is a configuration standard consisting of guidelines for hardening systems to improve a system’s security posture. It can be seen as a checklist for securing protocols, services, or servers to improve the overall security by reducing the attack surface. | ||
</p> | ||
<div class="p-image-container--cinematic is-cover"> | ||
{{ image(url="https://assets.ubuntu.com/v1/3c7382e4-what-is-disa.png", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. A jpeg would save a lot of page weight
Done
no-full-stop
modifier class for use onp-stepped-list
QA
Issue / Card
Fixes https://warthogs.atlassian.net/browse/WD-12037