Skip to content

Commit

Permalink
Add HSMA banner to policies and procedures
Browse files Browse the repository at this point in the history
  • Loading branch information
Bergam0t committed Nov 12, 2024
1 parent 3cdacb3 commit 769dd15
Show file tree
Hide file tree
Showing 7 changed files with 123 additions and 84 deletions.
66 changes: 39 additions & 27 deletions docs/policies_procedures/accessibility_statement.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.4.552">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">


<title>HSMA - Accessibility Statement</title>
<title>Accessibility Statement – HSMA</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -98,7 +98,8 @@
<style>

.quarto-title-block .quarto-title-banner {
background: /resources/banner.png;
background-image: url(../resources/banner.png);
background-size: cover;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
Expand All @@ -119,7 +120,7 @@
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
Expand All @@ -129,7 +130,7 @@
<span class="menu-text">Welcome</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">About</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-about">
Expand All @@ -148,25 +149,25 @@
</ul>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-hsma-projects" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-hsma-projects" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">HSMA Projects</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-hsma-projects">
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_service_area.html">
<span class="dropdown-text">Projects by Service Area</span></a>
<span class="dropdown-text">Projects by Area of Care</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_organisation.html">
<span class="dropdown-text">Projects by Organisation Type</span></a>
<a class="dropdown-item" href="../previous_projects/projects_by_service_type_location.html">
<span class="dropdown-text">Projects by Care Delivery Location</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_methods.html">
<span class="dropdown-text">Projects by Method</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_cohort.html">
<span class="dropdown-text">Projects by Cohort</span></a>
<span class="dropdown-text">Projects by HSMA Cohort</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_in_progress.html">
Expand All @@ -187,7 +188,7 @@
<span class="menu-text">HSMA Modules</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">Other Resources</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-other-resources">
Expand All @@ -203,10 +204,10 @@
</li>
</ul>
</div> <!-- /navcollapse -->
<div class="quarto-navbar-tools tools-wide">
<div class="quarto-navbar-tools tools-wide">
<a href="https://www.youtube.com/@hsma" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-youtube"></i></a>
<div class="dropdown">
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" aria-label=""><i class="bi bi-github"></i></a>
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" role="link" aria-label=""><i class="bi bi-github"></i></a>
<ul class="dropdown-menu" aria-labelledby="quarto-navigation-tool-dropdown-0">
<li>
<a class="dropdown-item quarto-navbar-tools-item" href="https://github.com/hsma-programme">
Expand Down Expand Up @@ -313,18 +314,7 @@ <h2 class="anchored" data-anchor-id="enforcement-procedure">Enforcement procedur
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
const onCopySuccess = function(e) {
// button target
const button = e.trigger;
// don't keep focus
Expand Down Expand Up @@ -356,15 +346,37 @@ <h2 class="anchored" data-anchor-id="enforcement-procedure">Enforcement procedur
}, 1000);
// clear code selection
e.clearSelection();
}
const getTextToCopy = function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', {
text: getTextToCopy
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
});
clipboardModal.on('success', onCopySuccess);
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp('/' + window.location.host + '/');
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
Expand Down Expand Up @@ -694,7 +706,7 @@ <h2 class="anchored" data-anchor-id="enforcement-procedure">Enforcement procedur
&nbsp;
</div>
<div class="nav-footer-center">
<p><a href="https://arc-swp.nihr.ac.uk/"><img src="..\resources/nihr_logo.png" class="img-fluid" width="250"></a><br><br> <em>This report is independent research supported by the National Institute for Health and Care Research Applied Research Collaboration South West Peninsula. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health and Care Research or the Department of Health and Social Care.</em> <br><br> <a href="../policies_procedures/accessibility_statement.html">Accessibility Statement</a> <br> <a href="../policies_procedures/code_of_conduct.html">Code of Conduct</a> <br> <a href="../policies_procedures/concerns_and_complaints.html">Concerns and Complaints</a></p>
<p><a href="https://arc-swp.nihr.ac.uk/"><img src="../resources/nihr_logo.png" class="img-fluid" width="250"></a><br><br> <em>This report is independent research supported by the National Institute for Health and Care Research Applied Research Collaboration South West Peninsula. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health and Care Research or the Department of Health and Social Care.</em> <br><br> <a href="../policies_procedures/accessibility_statement.html">Accessibility Statement</a> <br> <a href="../policies_procedures/code_of_conduct.html">Code of Conduct</a> <br> <a href="../policies_procedures/concerns_and_complaints.html">Concerns and Complaints</a></p>
<div class="cookie-consent-footer"><a href="#" id="open_preferences_center">Cookie Preferences</a></div></div>
<div class="nav-footer-right">
&nbsp;
Expand Down
68 changes: 40 additions & 28 deletions docs/policies_procedures/code_of_conduct.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.4.552">
<meta name="generator" content="quarto-1.5.57">

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="dcterms.date" content="2023-10-01">

<title>HSMA - Code of Conduct</title>
<title>Code of Conduct – HSMA</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
Expand Down Expand Up @@ -99,7 +99,8 @@
<style>

.quarto-title-block .quarto-title-banner {
background: /resources/banner.png;
background-image: url(../resources/banner.png);
background-size: cover;
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
Expand All @@ -120,7 +121,7 @@
</a>
</div>
<div id="quarto-search" class="" title="Search"></div>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" role="menu" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
Expand All @@ -130,7 +131,7 @@
<span class="menu-text">Welcome</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-about" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">About</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-about">
Expand All @@ -149,25 +150,25 @@
</ul>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-hsma-projects" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-hsma-projects" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">HSMA Projects</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-hsma-projects">
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_service_area.html">
<span class="dropdown-text">Projects by Service Area</span></a>
<span class="dropdown-text">Projects by Area of Care</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_organisation.html">
<span class="dropdown-text">Projects by Organisation Type</span></a>
<a class="dropdown-item" href="../previous_projects/projects_by_service_type_location.html">
<span class="dropdown-text">Projects by Care Delivery Location</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_methods.html">
<span class="dropdown-text">Projects by Method</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_by_cohort.html">
<span class="dropdown-text">Projects by Cohort</span></a>
<span class="dropdown-text">Projects by HSMA Cohort</span></a>
</li>
<li>
<a class="dropdown-item" href="../previous_projects/projects_in_progress.html">
Expand All @@ -188,7 +189,7 @@
<span class="menu-text">HSMA Modules</span></a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="button" data-bs-toggle="dropdown" aria-expanded="false">
<a class="nav-link dropdown-toggle" href="#" id="nav-menu-other-resources" role="link" data-bs-toggle="dropdown" aria-expanded="false">
<span class="menu-text">Other Resources</span>
</a>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="nav-menu-other-resources">
Expand All @@ -204,10 +205,10 @@
</li>
</ul>
</div> <!-- /navcollapse -->
<div class="quarto-navbar-tools tools-wide">
<div class="quarto-navbar-tools tools-wide">
<a href="https://www.youtube.com/@hsma" title="" class="quarto-navigation-tool px-1" aria-label=""><i class="bi bi-youtube"></i></a>
<div class="dropdown">
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" aria-label=""><i class="bi bi-github"></i></a>
<a href="" title="" id="quarto-navigation-tool-dropdown-0" class="quarto-navigation-tool dropdown-toggle px-1" data-bs-toggle="dropdown" aria-expanded="false" role="link" aria-label=""><i class="bi bi-github"></i></a>
<ul class="dropdown-menu" aria-labelledby="quarto-navigation-tool-dropdown-0">
<li>
<a class="dropdown-item quarto-navbar-tools-item" href="https://github.com/hsma-programme">
Expand Down Expand Up @@ -252,7 +253,7 @@ <h1 class="title">Code of Conduct</h1>
</header><div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<div id="quarto-margin-sidebar" class="sidebar margin-sidebar zindex-bottom">

</div>
<!-- main -->
Expand Down Expand Up @@ -315,18 +316,7 @@ <h1 class="title">Code of Conduct</h1>
}
return false;
}
const clipboard = new window.ClipboardJS('.code-copy-button', {
text: function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
});
clipboard.on('success', function(e) {
const onCopySuccess = function(e) {
// button target
const button = e.trigger;
// don't keep focus
Expand Down Expand Up @@ -358,15 +348,37 @@ <h1 class="title">Code of Conduct</h1>
}, 1000);
// clear code selection
e.clearSelection();
}
const getTextToCopy = function(trigger) {
const codeEl = trigger.previousElementSibling.cloneNode(true);
for (const childEl of codeEl.children) {
if (isCodeAnnotation(childEl)) {
childEl.remove();
}
}
return codeEl.innerText;
}
const clipboard = new window.ClipboardJS('.code-copy-button:not([data-in-quarto-modal])', {
text: getTextToCopy
});
clipboard.on('success', onCopySuccess);
if (window.document.getElementById('quarto-embedded-source-code-modal')) {
// For code content inside modals, clipBoardJS needs to be initialized with a container option
// TODO: Check when it could be a function (https://github.com/zenorocha/clipboard.js/issues/860)
const clipboardModal = new window.ClipboardJS('.code-copy-button[data-in-quarto-modal]', {
text: getTextToCopy,
container: window.document.getElementById('quarto-embedded-source-code-modal')
});
clipboardModal.on('success', onCopySuccess);
}
var localhostRegex = new RegExp(/^(?:http|https):\/\/localhost\:?[0-9]*\//);
var mailtoRegex = new RegExp(/^mailto:/);
var filterRegex = new RegExp('/' + window.location.host + '/');
var isInternal = (href) => {
return filterRegex.test(href) || localhostRegex.test(href) || mailtoRegex.test(href);
}
// Inspect non-navigation links and adorn them if external
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool)');
var links = window.document.querySelectorAll('a[href]:not(.nav-link):not(.navbar-brand):not(.toc-action):not(.sidebar-link):not(.sidebar-item-toggle):not(.pagination-link):not(.no-external):not([aria-hidden]):not(.dropdown-item):not(.quarto-navigation-tool):not(.about-link)');
for (var i=0; i<links.length; i++) {
const link = links[i];
if (!isInternal(link.href)) {
Expand Down Expand Up @@ -696,7 +708,7 @@ <h1 class="title">Code of Conduct</h1>
&nbsp;
</div>
<div class="nav-footer-center">
<p><a href="https://arc-swp.nihr.ac.uk/"><img src="..\resources/nihr_logo.png" class="img-fluid" width="250"></a><br><br> <em>This report is independent research supported by the National Institute for Health and Care Research Applied Research Collaboration South West Peninsula. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health and Care Research or the Department of Health and Social Care.</em> <br><br> <a href="../policies_procedures/accessibility_statement.html">Accessibility Statement</a> <br> <a href="../policies_procedures/code_of_conduct.html">Code of Conduct</a> <br> <a href="../policies_procedures/concerns_and_complaints.html">Concerns and Complaints</a></p>
<p><a href="https://arc-swp.nihr.ac.uk/"><img src="../resources/nihr_logo.png" class="img-fluid" width="250"></a><br><br> <em>This report is independent research supported by the National Institute for Health and Care Research Applied Research Collaboration South West Peninsula. The views expressed in this publication are those of the author(s) and not necessarily those of the National Institute for Health and Care Research or the Department of Health and Social Care.</em> <br><br> <a href="../policies_procedures/accessibility_statement.html">Accessibility Statement</a> <br> <a href="../policies_procedures/code_of_conduct.html">Code of Conduct</a> <br> <a href="../policies_procedures/concerns_and_complaints.html">Concerns and Complaints</a></p>
<div class="cookie-consent-footer"><a href="#" id="open_preferences_center">Cookie Preferences</a></div></div>
<div class="nav-footer-right">
&nbsp;
Expand Down
Loading

0 comments on commit 769dd15

Please sign in to comment.