Skip to content

Commit

Permalink
btn changeserver
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jun 29, 2024
1 parent 2919f56 commit c0e6698
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</head>
<body>
<mdui-dialog class="login-dialog">
<h2>Please Log in</h2>
<h2>Please Sign in</h2>
<br>
<mdui-text-field class="username-text-field" label="Username">
<mdui-button-icon slot="icon" icon="person"></mdui-button-icon>
Expand All @@ -26,6 +26,9 @@ <h2>Please Log in</h2>
Login
<mdui-icon slot="end-icon" name="login"></mdui-icon>
</mdui-button>
<mdui-button href="select-server.html" variant="outlined">
Change server
</mdui-button>
</mdui-dialog>
<mdui-dialog fullscreen class="select-server-dialog">
<h2>选择服务器</h2>
Expand Down
2 changes: 1 addition & 1 deletion select-server.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 style="text-align: left;padding: 1.2rem">QMessenger Server</h2>
<mdui-text-field class="login-text-field" style="width: 50%" label="Server address"
helper="Example: qmsg.dev; Lock Icon: use https/wss" helper-on-focus>
<mdui-button-icon slot="icon" icon="dns"></mdui-button-icon>
<mdui-button-icon class="is-encrypted" selectable icon="lock" slot="end-icon" onClick="document.querySelector('.encrypt-snackbar').open = true"></mdui-button-icon>
<mdui-button-icon selected class="is-encrypted" selectable icon="lock" slot="end-icon" onClick="document.querySelector('.encrypt-snackbar').open = true"></mdui-button-icon>
</mdui-text-field>
<br>
<mdui-button end-icon="arrow_forward" onClick="checkServer()">
Expand Down

0 comments on commit c0e6698

Please sign in to comment.