mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
register flow: add back button to UI where relevant
This commit is contained in:
parent
073d657201
commit
292c48c866
@ -244,3 +244,10 @@
|
||||
button.secondary {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
button.back {
|
||||
float: left;
|
||||
width: auto !important;
|
||||
padding: 5px !important;
|
||||
border: none !important;
|
||||
}
|
@ -95,6 +95,7 @@ function CommitDotOsName({
|
||||
|
||||
return (
|
||||
<div className="container fade-in">
|
||||
<button onClick={() => history.back()} className="button secondary">🔙</button>
|
||||
<div className="section">
|
||||
{
|
||||
<form className="form" onSubmit={handleCommit}>
|
||||
|
@ -92,10 +92,12 @@ function ImportKeyfile({
|
||||
|
||||
return (
|
||||
<div className="container fade-in">
|
||||
<button onClick={() => history.back()} className="button secondary">🔙</button>
|
||||
<div className="section">
|
||||
{loading ? (
|
||||
<Loader msg="Setting up node..." />
|
||||
) : (
|
||||
<>
|
||||
<form className="form" onSubmit={handleImportKeyfile}>
|
||||
<div className="form-group">
|
||||
<h4 className="form-label">1. Upload Keyfile</h4>
|
||||
@ -141,6 +143,7 @@ function ImportKeyfile({
|
||||
options, please go back and select "Reset OsName".
|
||||
</p>
|
||||
</form>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -118,6 +118,7 @@ function MintCustom({
|
||||
|
||||
return (
|
||||
<div className="container fade-in">
|
||||
<button onClick={() => history.back()} className="button secondary">🔙</button>
|
||||
<div className="section">
|
||||
{
|
||||
<form className="form" onSubmit={handleMint}>
|
||||
|
@ -119,6 +119,7 @@ function ResetKnsName({
|
||||
|
||||
return (
|
||||
<div className="container fade-in">
|
||||
<button onClick={() => history.back()} className="button secondary back">🔙</button>
|
||||
<div className="section">
|
||||
{
|
||||
<form className="form" onSubmit={handleResetRecords}>
|
||||
|
Loading…
Reference in New Issue
Block a user