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

CDPT-2223 Update logo for heartbeat and test version modals #756

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
9 changes: 5 additions & 4 deletions public/app/themes/clarity/src/globals/js/auth-heartbeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export default (function ($) {
maxWidth: '110px',
height: 'auto',
float: 'left',
marginRight: '30px'
marginRight: '30px',
paddingBottom: '10px'
},
button: {
continue: {
Expand Down Expand Up @@ -115,9 +116,9 @@ export default (function ($) {

// This element is on frontend and admin views. The frontend html has `font-size: 62.5%`, so use px values here.
const heading = $('<h3\>').text(title).css({fontWeight:'700', fontSize: '20px', lineHeight: '1.2', margin: 0})
const content = $('<p\>').html(html).css({})
const content = $('<p\>').html(html).css({ clear: 'both' })
const image = $('<img>', {
src: '/app/themes/clarity/dist/images/crown_copyright_logo.png',
src: '/app/themes/clarity/dist/images/tudor_crest.svg',
alt: 'Crown copyright logo',
}).css(Backdrop.style.img);

Expand All @@ -131,7 +132,7 @@ export default (function ($) {
confirm: () => {
if (Backdrop.cookie.get() !== Backdrop.cookie.value) {
const title = 'You are about to view a test version of the MoJ Intranet'
const html = '<br />To participate in user acceptance testing, please continue.<br /><br />' +
const html = 'To participate in user acceptance testing, please continue.<br /><br />' +
'<button class="modal-continue" type="button">&nbsp; Continue &nbsp;</button> &nbsp; or &nbsp; ' +
'<a class="modal-escape" href="https://intranet.justice.gov.uk/">&nbsp; Visit the live Intranet &nbsp;</a>'

Expand Down
Loading