0.0.7
This commit is contained in:
parent
c72262e49d
commit
0b8ea3455d
@ -271,6 +271,10 @@ button:disabled {
|
|||||||
#sign_in_popup p {
|
#sign_in_popup p {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
#sign_in_popup h5 {
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
.copy-row {
|
.copy-row {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
2
css/main.min.css
vendored
2
css/main.min.css
vendored
File diff suppressed because one or more lines are too long
@ -268,6 +268,10 @@ button {
|
|||||||
p {
|
p {
|
||||||
margin: 1rem 0;
|
margin: 1rem 0;
|
||||||
}
|
}
|
||||||
|
h5{
|
||||||
|
text-align: center;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.copy-row {
|
.copy-row {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
|||||||
@ -54,12 +54,18 @@
|
|||||||
hideLoader()
|
hideLoader()
|
||||||
showPopup('sign_in_popup', true)
|
showPopup('sign_in_popup', true)
|
||||||
let signInBtn = document.getElementById('sign_in_btn'),
|
let signInBtn = document.getElementById('sign_in_btn'),
|
||||||
|
guestButton = document.getElementById('guest_btn'),
|
||||||
privateKeyInput = document.getElementById('get_priv_key_field')
|
privateKeyInput = document.getElementById('get_priv_key_field')
|
||||||
signInBtn.onclick = () => {
|
signInBtn.onclick = () => {
|
||||||
hidePopup()
|
hidePopup()
|
||||||
showLoader()
|
showLoader()
|
||||||
resolve(privateKeyInput.value)
|
resolve(privateKeyInput.value)
|
||||||
}
|
}
|
||||||
|
guestButton.onclick = () => {
|
||||||
|
hidePopup()
|
||||||
|
showLoader()
|
||||||
|
reject(null)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
//invoke the startup functions
|
//invoke the startup functions
|
||||||
@ -133,6 +139,8 @@
|
|||||||
<button id="sign_in_btn" class="primary-btn expand" type="submit" disabled>
|
<button id="sign_in_btn" class="primary-btn expand" type="submit" disabled>
|
||||||
Sign In
|
Sign In
|
||||||
</button>
|
</button>
|
||||||
|
<h5>OR</h5>
|
||||||
|
<sm-button id="guest_btn">Login as guest</sm-button>
|
||||||
</sm-popup>
|
</sm-popup>
|
||||||
|
|
||||||
<!-- User settings popup -->
|
<!-- User settings popup -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user