feat: add browser extension origin save
This commit is contained in:
@@ -29,6 +29,14 @@
|
||||
border-radius: 6px;
|
||||
font-size: 13px;
|
||||
}
|
||||
.origin-row {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
.origin-row input {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
button {
|
||||
width: 100%;
|
||||
margin-top: 12px;
|
||||
@@ -40,6 +48,14 @@
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
.origin-row button {
|
||||
width: auto;
|
||||
margin-top: 0;
|
||||
padding: 8px 10px;
|
||||
white-space: nowrap;
|
||||
background: #374151;
|
||||
font-size: 12px;
|
||||
}
|
||||
button:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
@@ -64,7 +80,10 @@
|
||||
<body>
|
||||
<h1>SmartUp 凭证导入</h1>
|
||||
<label for="smartup">SmartUp 地址</label>
|
||||
<input id="smartup" placeholder="http://127.0.0.1:8899" />
|
||||
<div class="origin-row">
|
||||
<input id="smartup" placeholder="http://127.0.0.1:8899" />
|
||||
<button id="save-origin" type="button">保存地址</button>
|
||||
</div>
|
||||
<label for="code">导入码</label>
|
||||
<input id="code" placeholder="session_id:secret" />
|
||||
<div class="hint">
|
||||
|
||||
Reference in New Issue
Block a user