2012-12-30 15:37:49 +01:00
|
|
|
/**
|
|
|
|
* @provides setup-issue-css
|
|
|
|
*/
|
|
|
|
.setup-issue-background {
|
2014-01-18 17:31:47 +01:00
|
|
|
padding: 12px 0;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
2013-08-29 23:22:05 +02:00
|
|
|
.setup-issue-shell {
|
2017-09-03 18:03:30 +02:00
|
|
|
max-width: 880px;
|
2014-01-18 17:31:47 +01:00
|
|
|
margin: 16px auto;
|
2013-08-29 23:22:05 +02:00
|
|
|
}
|
|
|
|
|
2012-12-30 15:37:49 +01:00
|
|
|
.setup-issue {
|
2014-01-18 17:31:47 +01:00
|
|
|
background: #fff;
|
2017-09-03 18:03:30 +02:00
|
|
|
border: 1px solid #e4e5e6;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 5px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue p {
|
2014-01-18 17:31:47 +01:00
|
|
|
margin: 12px 0;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue table {
|
2015-02-03 18:07:00 +01:00
|
|
|
width: 100%;
|
2012-12-30 15:37:49 +01:00
|
|
|
border-collapse: collapse;
|
2017-09-03 18:03:30 +02:00
|
|
|
border: 1px solid #e2e2e2;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue table th {
|
|
|
|
text-align: right;
|
|
|
|
width: 30%;
|
2015-02-03 18:07:00 +01:00
|
|
|
background: #F8F9FC;
|
2017-09-03 18:03:30 +02:00
|
|
|
border: 1px solid #e2e2e2;
|
2012-12-30 15:37:49 +01:00
|
|
|
padding: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue table td {
|
2017-09-03 18:03:30 +02:00
|
|
|
border: 1px solid #e2e2e2;
|
2012-12-30 15:37:49 +01:00
|
|
|
padding: 8px;
|
2016-08-26 06:34:24 +02:00
|
|
|
word-break: break-word;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue pre {
|
2015-02-03 18:07:00 +01:00
|
|
|
width: auto;
|
2017-09-03 18:03:30 +02:00
|
|
|
border: 1px solid #e2e2e2;
|
|
|
|
padding: 12px;
|
2015-02-03 18:07:00 +01:00
|
|
|
background: #F8F9FC;
|
2013-01-22 22:57:02 +01:00
|
|
|
overflow-x: auto;
|
2017-09-03 18:03:30 +02:00
|
|
|
border-radius: 3px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue tt {
|
2015-02-03 18:07:00 +01:00
|
|
|
color: black;
|
|
|
|
background: #EBECEE;
|
|
|
|
padding: 2px 4px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue em {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue-instructions {
|
2017-09-03 18:03:30 +02:00
|
|
|
font-size: 13px;
|
|
|
|
padding: 16px;
|
2014-01-18 17:31:47 +01:00
|
|
|
line-height: 20px;
|
2017-09-03 18:03:30 +02:00
|
|
|
background: rgba(71,87,120,0.08);
|
|
|
|
border-radius: 3px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
2013-01-23 00:16:26 +01:00
|
|
|
.setup-fatal .setup-issue-instructions {
|
2017-09-03 18:03:30 +02:00
|
|
|
color: #af1404;
|
2014-01-18 17:31:47 +01:00
|
|
|
background: #f4dddb;
|
2013-01-23 00:16:26 +01:00
|
|
|
}
|
|
|
|
|
2012-12-30 15:37:49 +01:00
|
|
|
.setup-issue-name {
|
|
|
|
font-size: 15px;
|
2015-07-02 19:31:46 +02:00
|
|
|
font-weight: bold;
|
2017-09-03 18:03:30 +02:00
|
|
|
color: #6B748C;
|
|
|
|
border-bottom: 1px solid #e2e2e2;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 16px;
|
|
|
|
line-height: 24px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
2017-09-03 18:03:30 +02:00
|
|
|
.setup-issue-body {
|
2018-03-13 20:14:36 +01:00
|
|
|
padding: 16px;
|
2014-09-05 21:26:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue-status {
|
2017-09-03 18:03:30 +02:00
|
|
|
margin: 0 0 16px 0;
|
2014-09-05 21:26:58 +02:00
|
|
|
padding: 12px;
|
2015-02-03 18:07:00 +01:00
|
|
|
background: #FDF5D4;
|
2017-09-03 18:03:30 +02:00
|
|
|
color: #ab8206;
|
2015-05-20 04:38:34 +02:00
|
|
|
border-radius: 3px;
|
2014-09-05 21:26:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue-actions {
|
2017-09-03 18:03:30 +02:00
|
|
|
padding: 12px;
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
border-bottom-right-radius: 5px;
|
|
|
|
border-bottom-left-radius: 5px;
|
2014-09-05 21:26:58 +02:00
|
|
|
overflow: hidden;
|
2017-09-03 18:03:30 +02:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue-actions .button {
|
|
|
|
margin-left: 8px;
|
2014-09-05 21:26:58 +02:00
|
|
|
}
|
|
|
|
|
2012-12-30 15:37:49 +01:00
|
|
|
.setup-issue-next {
|
2014-01-18 17:31:47 +01:00
|
|
|
padding: 12px;
|
2015-07-02 19:31:46 +02:00
|
|
|
border: 1px solid #BFCFDA;
|
2014-01-18 17:31:47 +01:00
|
|
|
background: #daeaf3;
|
2012-12-30 15:37:49 +01:00
|
|
|
text-align: center;
|
2015-07-02 19:31:46 +02:00
|
|
|
margin: 12px 0;
|
2014-01-18 17:31:47 +01:00
|
|
|
color: #2980b9;
|
2015-07-02 19:31:46 +02:00
|
|
|
border-radius: 3px;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.setup-issue-config {
|
2017-09-03 18:03:30 +02:00
|
|
|
padding: 12px 0;
|
|
|
|
}
|
|
|
|
|
Improve command line prompts in setup issue pages
Summary:
This is a follow-up to D25425, where these improvements to the CLI prompt markers were discussed.
Changes included in this revision:
- Build all prompts the same way
- Remove space after the prompt marker (add it via CSS instead)
- Add server path prefix
- Make the prompt unselectable
Test Plan:
- Visit any of the setup issue pages, e.g. <PHORGE_URL>/config/issue/auth.config-unlocked/ (after ensuring that the corresponding issue is present — in this case, by doing `./bin/auth unlock`)
- For example, Deactivate all PHP extensions to trigger each /config/issue/extension.gd/ etc.
- For example, update at least up to `dc10a7e69ea3` to see the database upgrade tip etc.
- Confirm that the command line prompts now include the path prefix
- Confirm that selecting the command via double-click (or click-and-drag) does not select the prompt
Reviewers: O1 Blessed Committers, valerio.bozzolan
Reviewed By: O1 Blessed Committers, valerio.bozzolan
Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno
Tags: #ux, #config
Differential Revision: https://we.phorge.it/D25466
2023-12-07 17:21:39 +01:00
|
|
|
.setup-issue-config > pre > tt {
|
|
|
|
user-select: none;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2017-09-03 18:03:30 +02:00
|
|
|
.setup-issue-config + .setup-issue-config {
|
|
|
|
padding-top: 0;
|
2012-12-30 15:37:49 +01:00
|
|
|
}
|
2012-12-31 02:04:38 +01:00
|
|
|
|
|
|
|
.setup-issue ul {
|
|
|
|
width: 90%;
|
|
|
|
margin: 1em auto;
|
|
|
|
list-style: circle;
|
|
|
|
}
|
2013-08-29 23:22:05 +02:00
|
|
|
|
|
|
|
.setup-issue-debug {
|
|
|
|
margin-top: 8px;
|
|
|
|
padding: 4px;
|
|
|
|
text-align: right;
|
2014-01-18 17:31:47 +01:00
|
|
|
color: #74777D;
|
2013-08-29 23:22:05 +02:00
|
|
|
}
|
2017-09-03 18:03:30 +02:00
|
|
|
|
|
|
|
.phui-two-column-view .setup-issue-background {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.phui-two-column-view .setup-issue-shell {
|
|
|
|
width: auto;
|
|
|
|
margin: 0;
|
|
|
|
}
|