Add search input border.

This commit is contained in:
shufeng2012 committed 2026-08-02 09:04:53 +08:00
1 parent 8200cbfba7
commit 7e4fd7e54a
2 files changed
+12

No files matched your search

+4
View File
@@ -10,6 +10,10 @@
</head>
<body>
<div class="box">
<div id="searchbox">
<input type="text" placeholder="输入你想搜索的内容......" id="searchtext" style="display: inline-block; width: 89%;">
<input type="submit" value="搜索" id="searchsubmit" style="display: inline-block;">
</div>
<div id="userpanel" class="userpanel"></div>
<div id="minimap" class="minimap"></div>
<div id="movebar" class="movebar"></div>
+8
View File
@@ -976,6 +976,14 @@ function renderUserPanel() {
userpanel.appendChild(fold);
if (!userpanel_expand || !current_user.login) return;
let back_to_index = document.createElement("div");
back_to_index.className = "tag";
back_to_index.textContent = "回到主页";
back_to_index.addEventListener("click", () => {
window.location.href = "/";
})
userpanel.appendChild(back_to_index);
let name_tag = document.createElement("div");
name_tag.className = "tag no-hover";
name_tag.textContent = current_user.user;