mirror of
https://github.com/aljazceru/pear-docs.git
synced 2025-12-17 22:44:21 +01:00
changes in system path setup ui (#50)
Co-authored-by: rafapaezbas <rafa@holepunch.com>
This commit is contained in:
@@ -79,7 +79,7 @@ customElements.define('system-status', class extends HTMLElement {
|
|||||||
#panel { user-select: none; }
|
#panel { user-select: none; }
|
||||||
blockquote { outline: 1px solid #323532; margin-inline-start: 0; margin-inline-end: 0; display: block; margin-block-start: 1rem; margin-block-end: 0; padding: 1px; font-size: .825rem; border-radius: 2px; }
|
blockquote { outline: 1px solid #323532; margin-inline-start: 0; margin-inline-end: 0; display: block; margin-block-start: 1rem; margin-block-end: 0; padding: 1px; font-size: .825rem; border-radius: 2px; }
|
||||||
blockquote::before { content: "ℹ"; float: left; font-size: 1.625rem; margin-left: 1rem; margin-right: 0.625rem; }
|
blockquote::before { content: "ℹ"; float: left; font-size: 1.625rem; margin-left: 1rem; margin-right: 0.625rem; }
|
||||||
button { background: #151517; color: #B0D944; border: 1px solid; padding: .575em .65em; cursor: pointer; margin-top: 2.65rem; font-size: 1.25rem; }
|
button { background: #151517; color: #B0D944; border: 1px solid; padding: .575em .65em; cursor: pointer; margin-top: 2rem; font-size: 1.25rem; }
|
||||||
#tip { text-indent: 4px; margin-top: -.25rem }
|
#tip { text-indent: 4px; margin-top: -.25rem }
|
||||||
code {
|
code {
|
||||||
background: #3a4816;
|
background: #3a4816;
|
||||||
@@ -91,6 +91,9 @@ customElements.define('system-status', class extends HTMLElement {
|
|||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
}
|
}
|
||||||
#tip > p { margin: 0; padding: 0}
|
#tip > p { margin: 0; padding: 0}
|
||||||
|
#tip {
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
h1 {
|
h1 {
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -110,8 +113,8 @@ customElements.define('system-status', class extends HTMLElement {
|
|||||||
<blockquote>
|
<blockquote>
|
||||||
<p>Pear setup is nearly complete.</p>
|
<p>Pear setup is nearly complete.</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p><button> Complete Pear Setup </button><p>
|
<p id=tip><small>To finish installing Pear Runtime set your system path to <code>${BIN}</code>${!isWin? ' or click the button bellow.' : '.'}</small></p>
|
||||||
<p id=tip><small>Click the button to add </small><code>${BIN}</code><small> to the system PATH<small></p>
|
${!isWin ? '<p><button> Automatic Setup Completion </button><p>' : ''}
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user