优化页面
This commit is contained in:
parent
9291676543
commit
59cfbb06a4
@ -32,5 +32,9 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="playering-music" class="text"></div>
|
<div id="playering-music" class="text"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>Powered by <a href="https://github.com/hanxi/xiaomusic" target="_blank">xiaomusic</a></p>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -26,5 +26,9 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<button onclick="location.href='/';">返回首页</button>
|
<button onclick="location.href='/';">返回首页</button>
|
||||||
<button id="save">保存</button>
|
<button id="save">保存</button>
|
||||||
|
|
||||||
|
<footer>
|
||||||
|
<p>Powered by <a href="https://github.com/hanxi/xiaomusic" target="_blank">xiaomusic</a></p>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
|
// 拉取版本
|
||||||
|
$.get("/getversion", function(data, status) {
|
||||||
|
console.log(data, status, data["version"]);
|
||||||
|
$("#version").text(`(${data.version})`);
|
||||||
|
});
|
||||||
|
|
||||||
// 拉取现有配置
|
// 拉取现有配置
|
||||||
$.get("/getsetting", function(data, status) {
|
$.get("/getsetting", function(data, status) {
|
||||||
console.log(data, status);
|
console.log(data, status);
|
||||||
|
@ -61,4 +61,10 @@ input,select {
|
|||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
footer {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user