Colour streamlined authorities in orange
This commit is contained in:
parent
b5fd01bd4f
commit
2d434d60f5
@ -24,6 +24,8 @@
|
|||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css" integrity="sha256-4RctOgogjPAdwGbwq+rxfwAmSpZhWaafcZR9btzUk18=" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.2/font/bootstrap-icons.css" integrity="sha256-4RctOgogjPAdwGbwq+rxfwAmSpZhWaafcZR9btzUk18=" crossorigin="anonymous">
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
#search-results ul { margin-top: 0.5em; margin-bottom: 0 }
|
#search-results ul { margin-top: 0.5em; margin-bottom: 0 }
|
||||||
|
tr.bg-orange { border-color: #e4cfb3; color: #000 }
|
||||||
|
tr.bg-orange td { background-color: #ffe9cd }
|
||||||
.popover { max-width: 400px }
|
.popover { max-width: 400px }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
@ -212,7 +214,7 @@
|
|||||||
tr.classList.add('table-warning');
|
tr.classList.add('table-warning');
|
||||||
} else if (item['benefit_type'] === 'streamlined') {
|
} else if (item['benefit_type'] === 'streamlined') {
|
||||||
td = document.createElement('td'); td.innerHTML = '<a href="https://www.pbs.gov.au/medicine/item/' + item['code'] + '" target="_blank">Streamlined</a>'; tr.appendChild(td);
|
td = document.createElement('td'); td.innerHTML = '<a href="https://www.pbs.gov.au/medicine/item/' + item['code'] + '" target="_blank">Streamlined</a>'; tr.appendChild(td);
|
||||||
tr.classList.add('table-warning');
|
tr.classList.add('bg-orange');
|
||||||
} else if (item['benefit_type'] === 'authority') {
|
} else if (item['benefit_type'] === 'authority') {
|
||||||
td = document.createElement('td'); td.innerHTML = '<a href="https://www.pbs.gov.au/medicine/item/' + item['code'] + '" target="_blank">Authority</a>'; tr.appendChild(td);
|
td = document.createElement('td'); td.innerHTML = '<a href="https://www.pbs.gov.au/medicine/item/' + item['code'] + '" target="_blank">Authority</a>'; tr.appendChild(td);
|
||||||
tr.classList.add('table-danger');
|
tr.classList.add('table-danger');
|
||||||
|
Loading…
Reference in New Issue
Block a user