Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Jun 24, 2024
1 parent 0b65771 commit 29b9762
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 55 deletions.
60 changes: 8 additions & 52 deletions views/html-head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,7 @@

<body class="mdui-theme-light mdui-theme-accent-blue mdui-loaded ">
<mdui-layout style='height: 100vh;'>
<mdui-top-app-bar data-tauri-drag-region class="cover1" scroll-behavior="elevate" scroll-target="mdui-layout-main">

<div style="flex-grow: 1"></div>

<mdui-segmented-button-group style="display: none;" id="tauributton">
<mdui-segmented-button icon="minimize" id="titlebar-minimize"></mdui-segmented-button>
<mdui-segmented-button icon="crop_square" id="titlebar-maximize"></mdui-segmented-button>
<mdui-segmented-button icon="close" id="titlebar-close"></mdui-segmented-button>
</mdui-segmented-button-group>
</mdui-top-app-bar>

<mdui-navigation-drawer class="user-drawer" close-on-esc close-on-overlay-click >
<mdui-list id="user-drawer-list">
Expand Down Expand Up @@ -197,52 +188,17 @@
<mdui-list-item rounded href="https://qm.qq.com/q/wn3TkPoZ5C" description="QQ群">QQ交流群</mdui-list-item>
</mdui-list>
</mdui-dialog>
<mdui-top-app-bar data-tauri-drag-region class="cover1" scroll-behavior="elevate" scroll-target="mdui-layout-main">

<div style="flex-grow: 1"></div>

<style>
.mdui-color-white {
background-color: #ffffff !important;
color: rgba(0, 0, 0, .87) !important;
}
.webkit-app-region {
-webkit-app-region: drag
}
.webkit-app-region-no {
-webkit-app-region: no-drag
}
.md3botton {
border-radius: 18px;
}
.mdui-snackbar {
border-radius: 15px 15px 0px 0px;
}
.mdui-list-item {
border-radius: 0 50px 50px 0;
}
.mdui-dialog-prompt {
border-radius: 15px;
}
.mdui-snackbar {
border-radius: 15px 15px 0px 0px;
}
.substr {
white-space: nowrap;
overflow: hidden;
}
<mdui-segmented-button-group style="display: none;" id="tauributton">
<mdui-segmented-button icon="minimize" id="titlebar-minimize"></mdui-segmented-button>
<mdui-segmented-button icon="crop_square" id="titlebar-maximize"></mdui-segmented-button>
<mdui-segmented-button icon="close" id="titlebar-close"></mdui-segmented-button>
</mdui-segmented-button-group>
</mdui-top-app-bar>

.mdui-tooltip {
word-wrap: break-word;
word-break: break-all;
}
</style>

<link href="<%= process.env.staticurl %>/font1.css" rel="stylesheet">

Expand Down
6 changes: 3 additions & 3 deletions views/login_or_register.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<mdui-text-field variant="outlined" label="密码" id='password' type="password" toggle-password name="password"
autocomplete="on" style="margin-bottom: 10px;"></mdui-text-field>

<mdui-button class="open-captchadialog">完成验证码</mdui-button>
<mdui-button class="open-captchadialog" variant="tonal">完成验证码</mdui-button>



Expand Down Expand Up @@ -64,7 +64,7 @@
<mdui-text-field variant="outlined" label="昵称" id='reg_password' type="text"
style="margin-bottom: 10px;"></mdui-text-field>

<mdui-button class="open-captchadialog">完成验证码</mdui-button>
<mdui-button class="open-captchadialog" variant="tonal">完成验证码</mdui-button>
<div style="display:flex; height: 50px;">
<mdui-button variant="text" onclick="switchPage('login-page')">去登录</mdui-button>

Expand All @@ -87,7 +87,7 @@
<div>
<mdui-text-field variant="outlined" label="邮箱" id='getPW_email' type="email"
style="margin-bottom: 10px;"></mdui-text-field>
<mdui-button class="open-captchadialog">完成验证码</mdui-button>
<mdui-button class="open-captchadialog" variant="tonal">完成验证码</mdui-button>
<br /><br />
<mdui-button onclick="getPW()">找回密码</mdui-button>
<mdui-button onclick="switchPage('login-page')" variant="text">去登录</mdui-button>
Expand Down

0 comments on commit 29b9762

Please sign in to comment.