mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
49d93dcf98
Summary: Ref T4571. There will be a very long path beyond this, but add a basic read-only mode. You can explicitly enable this to put Phabricator in a sort of "maintenance" mode today if you're swapping databases or something. In the long term, we'll automatically degrade into this mode if the master database is down. Test Plan: - Enabled read-only mode. - Browsed around. - Didn't immediately see anything that was totally 100% broken. Most stuff is 80-90% broken right now. For example: - Stuff like submitting comments doesn't work, and gives you a confusing, unhelpful error. - None of the UI really knows that it's read-only. EditEngine stuff should all hide itself and say "you can't add new comments while an install is in read-only mode", for example, but currently does not. Reviewers: chad Reviewed By: chad Maniphest Tasks: T4571 Differential Revision: https://secure.phabricator.com/D15662
62 lines
1 KiB
CSS
62 lines
1 KiB
CSS
/**
|
|
* @provides phabricator-notification-css
|
|
*/
|
|
|
|
.jx-notification-container {
|
|
position: fixed;
|
|
|
|
bottom: 24px;
|
|
left: 24px;
|
|
}
|
|
|
|
.jx-notification {
|
|
width: 240px;
|
|
padding: 8px 16px;
|
|
|
|
font-size: 11px;
|
|
overflow: hidden;
|
|
|
|
background: {$lightsky};
|
|
color: {$darkgreytext};
|
|
border: 1px solid {$sky};
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 3px;
|
|
box-shadow: 0px 1px 2px rgba({$alphablack}, 0.25);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.jx-notification-alert {
|
|
background: {$lightyellow};
|
|
border: 1px solid {$yellow};
|
|
}
|
|
|
|
.jx-notification-debug {
|
|
background: {$lightindigo};
|
|
border: 1px solid {$indigo};
|
|
}
|
|
|
|
.jx-notification-done {
|
|
background: {$lightgreen};
|
|
border: 1px solid {$green};
|
|
}
|
|
|
|
.jx-notification-error {
|
|
background: {$lightred};
|
|
border: 1px solid {$red};
|
|
}
|
|
|
|
.jx-notification-security {
|
|
background: {$lightviolet};
|
|
border: 1px solid {$violet};
|
|
}
|
|
|
|
.jx-notification-read-only {
|
|
background: {$greybackground};
|
|
border: 1px solid {$darkgreyborder};
|
|
}
|
|
|
|
.jx-notification-container .phabricator-notification {
|
|
padding: 0;
|
|
}
|