Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions dashboard/dashboard/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,5 @@
"toolbar": False,
"statusbar": False,
"valid_elements": "a[href|target=_blank],strong,em,p,ul,ol,li",
"content_style": "body { font-size: 13px; margin: 4px; }",
}
27 changes: 0 additions & 27 deletions dashboard/dashboard/static/base-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,6 @@ div.auth {margin-bottom: 1em;}

th {text-align: left;}

table.objectives.detail {
width: 100%;
border-collapse: collapse;
}
table.objectives tr {background: var(--body-bg)}
table.objectives td {border-bottom: none;}

table.objectives td, th {padding: 4px 8px 4px;}


tr.condition td, th {padding: 2px 8px 2px;}


th.projectobjectivegroup {
background: #D9EAD3;
Expand All @@ -53,18 +41,3 @@ td.agreed {color: white; background: #38761D}
td.started {color: black; background: #B6D7A8}
td.first-results {color: black; background: #6AA84F}
td.mature-results, td.done, td.all-ok {color: white; background: #38761D}

/* condition items */

.attributes {float: right; color: #bbb; padding-left: 1em;}
.attributes span {margin-left: 1em; padding: 0px 4px;}

tr.condition.candidate span.condition.candidate {color: orange;}
tr.condition.not-applicable span.condition.not-applicable {color: orange;}

tr.condition.not-applicable .condition.name {color: #bbb; text-decoration: line-through;}

tr.condition span.condition.has-perms:hover {
cursor: default;
border-radius: 999em; outline: 1px solid orange;
}
4 changes: 4 additions & 0 deletions dashboard/dashboard/static/form-dirty.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
document.addEventListener('change', function (e) {
const form = e.target.closest('.basics-form');
if (form) form.dataset.dirty = '';
});
Loading
Loading