Browse Source

removed annoying newlines. Finally!

root 2 years ago
parent
commit
246f709994
12 changed files with 77 additions and 151 deletions
  1. 3 6
      about/index.html
  2. 10 20
      chem/index.html
  3. 6 11
      chess/index.html
  4. 2 5
      crypty-2/index.html
  5. 8 18
      crypty/index.html
  6. 14 28
      fun/index.html
  7. 10 20
      index.html
  8. 3 7
      log/index.html
  9. 2 2
      mail/index.html
  10. 4 3
      minecraft/index.html
  11. 5 11
      paint/index.html
  12. 10 20
      score/index.html

+ 3 - 6
about/index.html

@@ -30,18 +30,15 @@
 </head>
 
 <body>
-    <button class="btn btn-info" onclick="history.back()"><span
-            class="glyphicon glyphicon-home"></span>&nbsp;返回</button>
+    <button class="btn btn-info" onclick="history.back()"><span class="glyphicon glyphicon-home"></span>&nbsp;返回</button>
 
     <div class="page-header">
         <h2>关于此网站<small></small></h2>
     </div>
     <div class="col-md-6">
-        <p>原先我只是在<a href="/blog" target="_blank">这</a>写博客,记录信息学知识点,后来把实现的几个小功能(扒来的 js
-            小游戏、随机壁纸、搬运来的成绩整理)拉起来拼凑了个页面。我这人版权意识很薄弱,经常从别人手里偷代码,哪天他们会起诉我的。不过从偷的代码里面,我慢慢也学会了一些东西。
+        <p>原先我只是在<a href="/blog" target="_blank">这</a>写博客,记录信息学知识点,后来把实现的几个小功能(扒来的 js 小游戏、随机壁纸、搬运来的成绩整理)拉起来拼凑了个页面。我这人版权意识很薄弱,经常从别人手里偷代码,哪天他们会起诉我的。不过从偷的代码里面,我慢慢也学会了一些东西。
         </p>
-        <p>随着 web 技术的增进,我研究清楚了心意答的接口,用 WebSocket 实现了实时对战五子棋,又做了个可上传的在线画板(虽然没人画),建立了化学数据库,建立了邮件服务器(schtonn.top),用内网穿透打通了
-            Minecraft。</p>
+        <p>随着 web 技术的增进,我研究清楚了心意答的接口,用 WebSocket 实现了实时对战五子棋,又做了个可上传的在线画板(虽然没人画),建立了化学数据库,建立了邮件服务器(schtonn.top),用内网穿透打通了 Minecraft。</p>
         <p>具体可以看看<a href="/log" target="_blank">网站日志</a>。</p>
         <div style="text-align:right">
             <img src="stamp.png" style="width: 100px;">

+ 10 - 20
chem/index.html

@@ -75,8 +75,7 @@
         <div class="col-lg-8 col-md-10 col-xs-12">
             <div class="input-group">
                 <span class="input-group-btn">
-                    <button type="button" class="btn btn-default" onclick="balUp()" id="balShare" title="导入配平结果"> <span
-                            class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
+                    <button type="button" class="btn btn-default" onclick="balUp()" id="balShare" title="导入配平结果"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
                 </span>
                 <input id="balInput" type="text" class="form-control" oninput="input()" autocomplete="off">
                 <span class="input-group-btn">
@@ -89,8 +88,7 @@
                         <li class="dropdown-header">功能</li>
                         <li><a href="#" onclick="setBal()">配平</a></li>
                         <li><a href="#" onclick="setWeigh()">相对质量</a></li>
-                        <li><a href="#" onclick="setWeigh2()" data-toggle="tooltip" data-placement="left"
-                                title="四位有效数字">相对质量*</a></li>
+                        <li><a href="#" onclick="setWeigh2()" data-toggle="tooltip" data-placement="left" title="四位有效数字">相对质量*</a></li>
                         <li class="divider"></li>
                         <li><a href="/chemist" data-toggle="tooltip" data-placement="left" title="将打开新页面">配平接口</a>
                         </li>
@@ -103,15 +101,12 @@
             <hr>
             <div class="input-group">
                 <span class="input-group-btn">
-                    <button type="button" class="btn btn-default" onclick="qryUp()" id="qryShare" title="导入配平结果"> <span
-                            class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
-                    <button type="button" class="btn btn-default" data-toggle="button" onclick="qryToggleMatch()"
-                        id="qryMatch">匹配分子</button>
+                    <button type="button" class="btn btn-default" onclick="qryUp()" id="qryShare" title="导入配平结果"> <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span></button>
+                    <button type="button" class="btn btn-default" data-toggle="button" onclick="qryToggleMatch()" id="qryMatch">匹配分子</button>
                 </span>
                 <input id="qryInput" type="text" class="form-control qryInput" autocomplete="off" oninput="input2()">
                 <span class="input-group-addon qryInputHidable" style="display:none">=</span>
-                <input id="qryInput2" type="text" class="form-control qryInput qryInputHidable" style="display:none"
-                    autocomplete="off" oninput="input2()">
+                <input id="qryInput2" type="text" class="form-control qryInput qryInputHidable" style="display:none" autocomplete="off" oninput="input2()">
                 <span class="input-group-btn">
                     <button type="button" class="btn btn-default" onclick="query()" id="qryBtn">查询方程式</button>
                     <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
@@ -121,8 +116,7 @@
                     <ul class="dropdown-menu" role="menu">
                         <li class="dropdown-header">功能</li>
                         <li><a href="#1" onclick="setQryEq()">查询方程式</a></li>
-                        <li><a href="#1" onclick="setQryEq2()" data-toggle="tooltip" data-placement="left"
-                                title="限制等号左右">查询方程式*</a></li>
+                        <li><a href="#1" onclick="setQryEq2()" data-toggle="tooltip" data-placement="left" title="限制等号左右">查询方程式*</a></li>
                         <!-- <li><a href="#4" onclick="setQryMo()">查询分子</a></li> -->
                         <li class="divider"></li>
                         <li><a href="#5" onclick="setAddEq()">上传方程式</a></li>
@@ -136,16 +130,13 @@
             </div>
             <div class="input-group addInput">
                 <span id="addId"><span class="input-group-addon">id</span>
-                    <input type="text" class="form-control" id="addIdText" oninput="inputId()" autocomplete="off"
-                        placeholder="1">
+                    <input type="text" class="form-control" id="addIdText" oninput="inputId()" autocomplete="off" placeholder="1">
                 </span>
                 <span><span class="input-group-addon">反应条件</span>
-                    <input id="addCondition" type="text" class="form-control" autocomplete="off"
-                        placeholder="加热;高温;点燃;通电;光照;MnO2">
+                    <input id="addCondition" type="text" class="form-control" autocomplete="off" placeholder="加热;高温;点燃;通电;光照;MnO2">
                 </span>
                 <span><span class="input-group-addon">描述</span>
-                    <textarea id="addDescription" type="text" class="form-control" autocomplete="off"
-                        style="resize:vertical"></textarea>
+                    <textarea id="addDescription" type="text" class="form-control" autocomplete="off" style="resize:vertical"></textarea>
                 </span>
                 <span class="input-group-addon">:)</span>
             </div>
@@ -156,8 +147,7 @@
             </div>
         </div>
         <div class="col-lg-2 col-md-12 col-xs-12">
-            <button class="btn btn-default" onclick="$('.help').toggle(300);$('.helpicon').toggleClass('glyphicon-arrow-down')"><i
-                    class="glyphicon glyphicon-question-sign helpicon"></i></button>
+            <button class="btn btn-default" onclick="$('.help').toggle(300);$('.helpicon').toggleClass('glyphicon-arrow-down')"><i class="glyphicon glyphicon-question-sign helpicon"></i></button>
         </div>
     </div>
     <div class="row help" style="display:none;">

+ 6 - 11
chess/index.html

@@ -11,7 +11,7 @@
     <link rel="preconnect" href="https://fonts.gstatic.com">
     <link href="https://fonts.loli.net/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700
 &family=Noto+Serif+SC:wght@300;400;500;600;700&display=swap" rel="stylesheet">
-    
+
     <style>
         * {
             padding: 0;
@@ -212,18 +212,13 @@
     <div id="five">
         <div class="controls">
             <a class="btn btn-info" href="/"><i class="glyphicon glyphicon-home" aria-hidden="true"></i>&nbsp;返回</a>
-            <button class="btn btn-primary" id="begin"><i class=" glyphicon glyphicon-ban-circle"
-                    aria-hidden="true"></i>&nbsp;开始游戏</button>
+            <button class="btn btn-primary" id="begin"><i class=" glyphicon glyphicon-ban-circle" aria-hidden="true"></i>&nbsp;开始游戏</button>
             <div class="btn-group">
-                <button class="btn btn-primary" id="agin"><i class=" glyphicon glyphicon-repeat"
-                        aria-hidden="true"></i>&nbsp;重新游戏</button>
-                <button class="btn btn-warning" id="regret"><i class=" glyphicon glyphicon-backward"
-                        aria-hidden="true"></i>&nbsp;悔棋</button>
-                <button class="btn btn-info" id="check"><i class=" glyphicon glyphicon-exclamation-sign"
-                        aria-hidden="true"></i>&nbsp;下哪了</button>
+                <button class="btn btn-primary" id="agin"><i class=" glyphicon glyphicon-repeat" aria-hidden="true"></i>&nbsp;重新游戏</button>
+                <button class="btn btn-warning" id="regret"><i class=" glyphicon glyphicon-backward" aria-hidden="true"></i>&nbsp;悔棋</button>
+                <button class="btn btn-info" id="check"><i class=" glyphicon glyphicon-exclamation-sign" aria-hidden="true"></i>&nbsp;下哪了</button>
             </div>
-            <a class="btn btn-default noshadow" onclick="$('.help').toggle()" href="#help"><i
-                    class="glyphicon glyphicon-question-sign"></i></a>
+            <a class="btn btn-default noshadow" onclick="$('.help').toggle()" href="#help"><i class="glyphicon glyphicon-question-sign"></i></a>
             <div class="led mylight"></div>
             <div class="led light"></div>
             <button class="btn btn-danger word message1">快</button>

+ 2 - 5
crypty-2/index.html

@@ -49,16 +49,13 @@
 		<div class="row">
 			<div class="col-lg-6 col-md-6 col-xs-12">
 				明文:
-				<textarea class="col-xs-12" rows="10" name="message" id="dec" class="text_source"
-					onclick="this.select();" style="resize:vertical"
-					oninput="$('#enc').val(aesEncrypt($(this).val()))"></textarea>
+				<textarea class="col-xs-12" rows="10" name="message" id="dec" class="text_source" onclick="this.select();" style="resize:vertical" oninput="$('#enc').val(aesEncrypt($(this).val()))"></textarea>
 			</div>
 		</div>
 		<div class="row">
 			<div class="col-lg-6 col-md-6 col-xs-12">
 				<div>密文:</div>
-				<textarea rows="10" class="col-xs-12" name="cipher" id="enc" style="resize:vertical"
-					oninput="$('#dec').val(aesDecrypt($(this).val()))"></textarea>
+				<textarea rows="10" class="col-xs-12" name="cipher" id="enc" style="resize:vertical" oninput="$('#dec').val(aesDecrypt($(this).val()))"></textarea>
 			</div>
 		</div>
 	</div>

+ 8 - 18
crypty/index.html

@@ -40,28 +40,19 @@
 			<div class="col-lg-6 col-md-6 col-xs-12">
 				<div class="input-group" style="margin:5px">
 					<span class="input-group-addon">加密算法</span>
-					<span class="input-group-addon sel" value="aes"><input type="radio" name="Etype" value="aes"
-							checked="checked" />AES</span>
-					<span class="input-group-addon sel" value="des"><input type="radio" name="Etype"
-							value="des" />DES</span>
-					<span class="input-group-addon sel" value="rc4"><input type="radio" name="Etype"
-							value="rc4" />RC4</span>
-					<span class="input-group-addon sel" value="rabbit"><input type="radio" name="Etype"
-							value="rabbit" />Rabbit</span>
-					<span class="input-group-addon sel" value="tripledes"><input type="radio" name="Etype"
-							value="tripledes" />TripleDes</span>
+					<span class="input-group-addon sel" value="aes"><input type="radio" name="Etype" value="aes" checked="checked" />AES</span>
+					<span class="input-group-addon sel" value="des"><input type="radio" name="Etype" value="des" />DES</span>
+					<span class="input-group-addon sel" value="rc4"><input type="radio" name="Etype" value="rc4" />RC4</span>
+					<span class="input-group-addon sel" value="rabbit"><input type="radio" name="Etype" value="rabbit" />Rabbit</span>
+					<span class="input-group-addon sel" value="tripledes"><input type="radio" name="Etype" value="tripledes" />TripleDes</span>
 				</div>
 				<div class="input-group" style="margin:5px">
 					<span class="input-group-addon">密码</span>
 					<input type="text" class="form-control" id="pwd" />
 					</p>
 					<span class="input-group-btn">
-						<button class="btn btn-default" onclick="encrypt();"
-							style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;"><span
-								class="glyphicon glyphicon-arrow-down" aria-hidden="true"></span>&nbsp;加密</button>
-						<button class="btn btn-default" onclick="decrypt();"
-							style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;"><span
-								class="glyphicon glyphicon-arrow-up" aria-hidden="true"></span>&nbsp;解密</button>
+						<button class="btn btn-default" onclick="encrypt();" style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;"><span class="glyphicon glyphicon-arrow-down" aria-hidden="true"></span>&nbsp;加密</button>
+						<button class="btn btn-default" onclick="decrypt();" style="text-shadow: rgb(185, 185, 185) 3px 2px 4px;"><span class="glyphicon glyphicon-arrow-up" aria-hidden="true"></span>&nbsp;解密</button>
 					</span>
 				</div>
 			</div>
@@ -70,8 +61,7 @@
 		<div class="row">
 			<div class="col-lg-6 col-md-6 col-xs-12">
 				<div>密文:</div>
-				<textarea rows="10" class="col-xs-12" name="cipher" id="encrypt_result"
-					onclick="this.select();"></textarea>
+				<textarea rows="10" class="col-xs-12" name="cipher" id="encrypt_result" onclick="this.select();"></textarea>
 			</div>
 		</div>
 		<script>

+ 14 - 28
fun/index.html

@@ -156,39 +156,26 @@
     <div>
         <a class="btn btn-warning" href="core/">Core</a>
         <div class="btn-group">
-            <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">sans&nbsp;<span
-                    class="caret"></span></button>
+            <button type="button" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">sans&nbsp;<span class="caret"></span></button>
             <ul class="dropdown-menu">
                 <li><a href="sans/">sans</a></li>
                 <li><a href="sans-cheat/"><span class="glyphicon glyphicon-wrench"></span>&nbsp;&nbsp;sans</a></li>
             </ul>
         </div>
-        <a class="btn btn-info" id="random" href="random/"><span
-                class="glyphicon glyphicon-random"></span>&nbsp;&nbsp;random</a>
-        <a class="btn btn-success" id="paint" href="/paint/"><span
-                class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;绘画板</a>
-        <a class="btn btn-success" id="chess" href="/chess/"><span
-                class="glyphicon glyphicon-record"></span>&nbsp;&nbsp;五子棋</a>
-        <a class="btn btn-info" id="gravity" href="gravity/"><span
-                class="glyphicon glyphicon-magnet"></span>&nbsp;&nbsp;引力</a>
-        <a class="btn btn-warning" id="raytrack" href="raytrace/"><span
-                class="glyphicon glyphicon-certificate"></span>&nbsp;&nbsp;1k光追</a>
-        <a class="btn btn-info" id="article" href="article/"><span
-                class="glyphicon glyphicon-book"></span>&nbsp;&nbsp;一些好玩的文章</a>
-        <a class="btn btn-info" id="music" href="music/"><span class="glyphicon glyphicon-music"
-                ></span>&nbsp;&nbsp;音乐</a>
-        <a class="btn btn-info" id="test" href="test/"><span
-                class="glyphicon glyphicon-transfer"></span>&nbsp;&nbsp;Websocket 测试</a>
-        <a class="btn btn-info" id="chat" href="chat/"><span
-                class="glyphicon glyphicon-comment"></span>&nbsp;&nbsp;ChatGPT 测试</a>
-        <a class="btn btn-success" id="gravity" href="https://太帅了.cn" title="中国人不懂浪漫,这么好的域名让我注册了"><span
-                class="glyphicon glyphicon-link"></span>&nbsp;&nbsp;太帅了.cn</a>
+        <a class="btn btn-info" id="random" href="random/"><span class="glyphicon glyphicon-random"></span>&nbsp;&nbsp;random</a>
+        <a class="btn btn-success" id="paint" href="/paint/"><span class="glyphicon glyphicon-pencil"></span>&nbsp;&nbsp;绘画板</a>
+        <a class="btn btn-success" id="chess" href="/chess/"><span class="glyphicon glyphicon-record"></span>&nbsp;&nbsp;五子棋</a>
+        <a class="btn btn-info" id="gravity" href="gravity/"><span class="glyphicon glyphicon-magnet"></span>&nbsp;&nbsp;引力</a>
+        <a class="btn btn-warning" id="raytrack" href="raytrace/"><span class="glyphicon glyphicon-certificate"></span>&nbsp;&nbsp;1k光追</a>
+        <a class="btn btn-info" id="article" href="article/"><span class="glyphicon glyphicon-book"></span>&nbsp;&nbsp;一些好玩的文章</a>
+        <a class="btn btn-info" id="music" href="music/"><span class="glyphicon glyphicon-music"></span>&nbsp;&nbsp;音乐</a>
+        <a class="btn btn-info" id="test" href="test/"><span class="glyphicon glyphicon-transfer"></span>&nbsp;&nbsp;Websocket 测试</a>
+        <a class="btn btn-info" id="chat" href="chat/"><span class="glyphicon glyphicon-comment"></span>&nbsp;&nbsp;ChatGPT 测试</a>
+        <a class="btn btn-success" id="gravity" href="https://太帅了.cn" title="中国人不懂浪漫,这么好的域名让我注册了"><span class="glyphicon glyphicon-link"></span>&nbsp;&nbsp;太帅了.cn</a>
         <a class="btn btn-success" href="/minecraft">Minecraft</a>
-        <a class="btn btn-info" id="raytrack" href="solar/"><span
-                class="glyphicon glyphicon-globe"></span>&nbsp;&nbsp;真实比例太阳系</a>
+        <a class="btn btn-info" id="raytrack" href="solar/"><span class="glyphicon glyphicon-globe"></span>&nbsp;&nbsp;真实比例太阳系</a>
         <div style="text-align:right">
-            <span class="btn btn-xs btn-warning nohover">纯搬运</span> - <span
-                class="btn btn-xs btn-info nohover">小工程</span> -
+            <span class="btn btn-xs btn-warning nohover">纯搬运</span> - <span class="btn btn-xs btn-info nohover">小工程</span> -
             <span class="btn btn-xs btn-success nohover">大工程</span>
         </div>
     </div>
@@ -217,8 +204,7 @@
 
         <circle cx="50" cy="50" r="42" fill="#EA3F3F" filter="url(#shadow-large)"> </circle>
 
-        <g class="clock--face" font-size="8px" transform="translate(50 50)" text-anchor="middle"
-            dominant-baseline="middle"></g>
+        <g class="clock--face" font-size="8px" transform="translate(50 50)" text-anchor="middle" dominant-baseline="middle"></g>
         <circle mask="url(#mask)" cx="50" cy="50" r="50" fill="#303335"></circle>
         <circle cx="50" cy="50" r="4" filter="url(#shadow-small)" fill="#303335"></circle>
         <g class="hands" transform="translate(50 50)">

+ 10 - 20
index.html

@@ -183,8 +183,7 @@
 </head>
 
 <body itemscope itemtype="http://schema.org/WebPage" style="height:100vh">
-    <div class="alert alert-warning" style="display:none">注意:正在将网站迁移至<a
-            href="http://43.143.233.184/">http://43.143.233.184/</a>,此页面内容可能已经过时。
+    <div class="alert alert-warning" style="display:none">注意:正在将网站迁移至<a href="http://43.143.233.184/">http://43.143.233.184/</a>,此页面内容可能已经过时。
     </div>
     <div class="full col-md-12">
         <div class="page-header">
@@ -204,15 +203,11 @@
             <hr>
             <h3>> 娱乐</h3>
             <div>
-                <a class="btn btn-info" href="https://太帅了.cn" data-toggle="tooltip" data-placement="top"
-                    title="中国人不懂浪漫,这么好的域名让我注册了">太帅了.cn</a>
+                <a class="btn btn-info" href="https://太帅了.cn" data-toggle="tooltip" data-placement="top" title="中国人不懂浪漫,这么好的域名让我注册了">太帅了.cn</a>
                 <a class="btn btn-info" href="minecraft">Minecraft</a>
-                <a class="btn btn-info" id="paint" href="/paint/"><span class="glyphicon glyphicon-pencil"
-                        aria-hidden="true"></span>&nbsp;&nbsp;绘画板</a>
-                <a class="btn btn-info" id="chess" href="/chess/"><span class="glyphicon glyphicon-record"
-                        aria-hidden="true"></span>&nbsp;&nbsp;五子棋</a>
-                <a class="btn btn-primary" href="/fun/"><span class="glyphicon glyphicon-chevron-right"
-                        aria-hidden="true"></span>&nbsp;&nbsp;更多</a>
+                <a class="btn btn-info" id="paint" href="/paint/"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>&nbsp;&nbsp;绘画板</a>
+                <a class="btn btn-info" id="chess" href="/chess/"><span class="glyphicon glyphicon-record" aria-hidden="true"></span>&nbsp;&nbsp;五子棋</a>
+                <a class="btn btn-primary" href="/fun/"><span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>&nbsp;&nbsp;更多</a>
             </div>
         </div>
 
@@ -220,10 +215,8 @@
             <hr>
             <h3>> 小工具</h3>
             <div>
-                <a class="btn btn-danger" id="score" href="/score/"><span class="glyphicon glyphicon-stats"
-                        aria-hidden="true"></span>&nbsp;&nbsp;成绩整理</a>
-                <a class="btn btn-warning" id="chem" href="/chem/"><span class="glyphicon glyphicon-fire"
-                        aria-hidden="true"></span>&nbsp;化学</a>
+                <a class="btn btn-danger" id="score" href="/score/"><span class="glyphicon glyphicon-stats" aria-hidden="true"></span>&nbsp;&nbsp;成绩整理</a>
+                <a class="btn btn-warning" id="chem" href="/chem/"><span class="glyphicon glyphicon-fire" aria-hidden="true"></span>&nbsp;化学</a>
                 <div class="btn-group">
                     <button type="button" class="btn btn-info dropdown-toggle" data-toggle="dropdown">Crypty&nbsp;
                         <span class="caret"></span></button>
@@ -232,16 +225,13 @@
                         <li><a href="/crypty-2/">Hardcoded AES</a></li>
                     </ul>
                 </div>
-                <a class="btn btn-info" id="log" href="/log/"><span class="glyphicon glyphicon-list"
-                        aria-hidden="true"></span>&nbsp;日志</a>
-                <a class="btn btn-info" id="mail" href="http://43.143.233.184:90"><span
-                        class="glyphicon glyphicon-envelope" aria-hidden="true"></span>&nbsp;邮箱</a>
+                <a class="btn btn-info" id="log" href="/log/"><span class="glyphicon glyphicon-list" aria-hidden="true"></span>&nbsp;日志</a>
+                <a class="btn btn-info" id="mail" href="http://43.143.233.184:90"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>&nbsp;邮箱</a>
             </div>
         </div>
 
         <div class="col-md-2">
-            <hr><button class="btn btn-danger btn-dang"><span class="glyphicon glyphicon-heart"
-                    aria-hidden="true"></span></button>
+            <hr><button class="btn btn-danger btn-dang"><span class="glyphicon glyphicon-heart" aria-hidden="true"></span></button>
         </div>
         <div class="col-md-8 secret">
             secret message: iee

+ 3 - 7
log/index.html

@@ -158,20 +158,16 @@
     <a class="btn btn-info" href="/"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a>
     <div class="page-header">
         <h1>网站日志
-            <button class="btn btn-default noshadow" onclick="$('.add').toggle();$(this).children().toggleClass('glyphicon-arrow-down')"><span
-                    class="glyphicon glyphicon-plus"></span></button>
+            <button class="btn btn-default noshadow" onclick="$('.add').toggle();$(this).children().toggleClass('glyphicon-arrow-down')"><span class="glyphicon glyphicon-plus"></span></button>
         </h1>
     </div>
     <div class="add" style="display: none;">
         <h3 id='new'>d</h3>
         <div class="input-group">
             <input id="smallInput" type="text" class="form-control" autocomplete="off" placeholder="title">
-            <textarea id="chatInput" type="text" class="form-control" autocomplete="off" style="resize:vertical"
-                placeholder="content"></textarea>
+            <textarea id="chatInput" type="text" class="form-control" autocomplete="off" style="resize:vertical" placeholder="content"></textarea>
             <span class="input-group-btn">
-                <button type="button" class="btn btn-default noshadow"
-                    onclick="upload($('#chatInput').val(),$('#smallInput').val())" id="chatBtn"><span
-                        class="uploadIndicator glyphicon glyphicon-cloud-upload"></span></button>
+                <button type="button" class="btn btn-default noshadow" onclick="upload($('#chatInput').val(),$('#smallInput').val())" id="chatBtn"><span class="uploadIndicator glyphicon glyphicon-cloud-upload"></span></button>
             </span>
         </div>
         <hr>

+ 2 - 2
mail/index.html

@@ -12,8 +12,7 @@
 
 <body>
     <a class="btn btn-info" href="/"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回主页</a>
-    <a class="btn btn-info" href="http://43.143.233.184:90"><span class="glyphicon glyphicon-envelope"
-            aria-hidden="true"></span>&nbsp;返回邮箱</a>
+    <a class="btn btn-info" href="http://43.143.233.184:90"><span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>&nbsp;返回邮箱</a>
     <div class="page-header">
         <h1>邮箱</h1>
     </div>
@@ -23,4 +22,5 @@
     <p>你要问这个邮箱有啥用,那我觉得可能就是没广告,没有冗余功能,不容易像主流邮箱一样大规模泄露,而且也不会被群发广告的扫描到。</p>
     <p>你也可以注册一个 ***@schtonn.top 邮箱来收发邮件,但自动化的注册功能我还没有实现,目前的办法很滑稽:你告诉我用户名密码,我手动加密,然后写入到数据库里。</p>
     <p>当然,可以用 <a href="mailto:1@schtonn.top">1@schtonn.top</a> 来联系我。</p>
+    <pre>doveadm pw -s SHA512-CRYPT</pre>
 </body>

+ 4 - 3
minecraft/index.html

@@ -17,7 +17,8 @@
         .pad {
             padding-bottom: 500px;
         }
-        h2{
+
+        h2 {
             margin-top: 30px;
             margin-bottom: -3px;
         }
@@ -92,9 +93,9 @@
             for (let i = 0; i < img.length; i++) {
                 let str = ''
                 if (img[i].split(',')[1]) str += `<h2>${img[i].split(',')[1]}</h2>`
-                else str+= `<h2>&nbsp;</h2>`
+                else str += `<h2>&nbsp;</h2>`
                 if (img[i].split(',')[2]) str += `${img[i].split(',')[2]}`
-                else str+='&nbsp;'
+                else str += '&nbsp;'
                 $('.images').append(`<div class="col-md-4 col-lg-3">${str}<img class="img-responsive" src="img/${img[i].split(',')[0]}" onclick="fun(this)"></div>`)
             }
             $('.images').append('<div class="pad"></div>')

+ 5 - 11
paint/index.html

@@ -210,8 +210,7 @@
     <div id="main" style="text-align:center">
         <div id="draw"></div>
         <div id="tools">
-            <button class="btn" id="toggle" style="background:rgba(215, 215, 215,0.7)"><span
-                    class="glyphicon glyphicon-eye-open" aria-hidden="true"></span></button>
+            <button class="btn" id="toggle" style="background:rgba(215, 215, 215,0.7)"><span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span></button>
             <div id="now-color"></div>
             <div class="box canToggle" id="box-r">
                 <i class="hd blurred"></i>
@@ -232,16 +231,11 @@
         </div>
     </div>
     <div id="controls">
-        <button class="btn btn-default noshadow" id="help"
-            onclick="alert('说明:左键绘制,右键擦除。\n键盘AD键或屏幕下方按键可浏览历史版本,鼠标悬停于版本上可查看时间。\n点击上传后,同一设备一天内的编辑将会保存在一个版本中,并对所有人可见。')"><span
-                class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></button>
-        <button class="btn btn-info" id="zoom"><span class="glyphicon glyphicon-zoom-in"
-                aria-hidden="true"></span>&nbsp;缩放</button>
+        <button class="btn btn-default noshadow" id="help" onclick="alert('说明:左键绘制,右键擦除。\n键盘AD键或屏幕下方按键可浏览历史版本,鼠标悬停于版本上可查看时间。\n点击上传后,同一设备一天内的编辑将会保存在一个版本中,并对所有人可见。')"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></button>
+        <button class="btn btn-info" id="zoom"><span class="glyphicon glyphicon-zoom-in" aria-hidden="true"></span>&nbsp;缩放</button>
         <div class="btn-group">
-            <button class="btn btn-primary" id="upload"><span class="glyphicon glyphicon-cloud-upload"
-                    aria-hidden="true"></span>&nbsp;上传</button>
-            <button class="btn btn-primary" id="reset"><span class="glyphicon glyphicon-cloud-download"
-                    aria-hidden="true"></span>&nbsp;同步</button>
+            <button class="btn btn-primary" id="upload"><span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span>&nbsp;上传</button>
+            <button class="btn btn-primary" id="reset"><span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>&nbsp;同步</button>
         </div>
         <div class="btn-group">
             <a id="lbtn" tabindex="0" class="btn btn-default noshadow" onclick="prevVer()">

+ 10 - 20
score/index.html

@@ -133,10 +133,8 @@
 </head>
 
 <body>
-    <a class="btn btn-info" href="https://43.143.233.184/"><span class="glyphicon glyphicon-home"
-            aria-hidden="true"></span>&nbsp;返回</a>
-    <a tabindex="0" class="btn btn-warning hidable toggleHide"
-        onclick="$('.hidable').show(1000);$('.toggleHide').toggle(1000)" style="display:none;">
+    <a class="btn btn-info" href="https://43.143.233.184/"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a>
+    <a tabindex="0" class="btn btn-warning hidable toggleHide" onclick="$('.hidable').show(1000);$('.toggleHide').toggle(1000)" style="display:none;">
         <span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
     </a>
     <div class="hidable fetch">
@@ -172,38 +170,32 @@
     </div>
     <div class="fetch" style="display:none">(高质量接口)</div>
     <div class="input-group fetch" style="display:none">
-        <span class="input-group-addon">考试编号<a data-toggle="tooltip" data-placement="bottom"
-                title="心意答点击考试标题后,切换考试的列表里可见" aria-hidden="true">*</a></span>
+        <span class="input-group-addon">考试编号<a data-toggle="tooltip" data-placement="bottom" title="心意答点击考试标题后,切换考试的列表里可见" aria-hidden="true">*</a></span>
         <input id="Id" type="text" class="form-control" autocomplete="off">
     </div>
     <div class="input-group fetch" style="display:none">
-        <span class="input-group-addon">姓名<a href="/js/e.json" onclick="setWeigh2()" data-toggle="tooltip"
-                data-placement="bottom" title="仅限2025届高考部">*</a>或数字校园号</span>
+        <span class="input-group-addon">姓名<a href="/js/e.json" onclick="setWeigh2()" data-toggle="tooltip" data-placement="bottom" title="仅限2025届高考部">*</a>或数字校园号</span>
         <input id="Input" type="text" class="form-control" autocomplete="off" placeholder="20222001 或 小明">
         <span class="input-group-btn">
-            <button type="button" class="btn btn-success" onclick="fetchMe($('#Input').val())" id="fetchBtn"><span
-                    class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> FETCH</button>
+            <button type="button" class="btn btn-success" onclick="fetchMe($('#Input').val())" id="fetchBtn"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> FETCH</button>
         </span>
     </div>
     <div style="text-align: center;" class="hidable">
         <div class="btn-group">
             <a id="upbtn" tabindex="0" class="btn btn-info" onclick="document.getElementById('fileInput').click();">
-                <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input
-                    style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
+                <span id="upicon" class="glyphicon glyphicon-open" aria-hidden="true"></span> <b>打开文件</b><input style="display: none;" id="fileInput" type="file" onchange="getFiles(event)">
             </a>
             <a id="upbtn" tabindex="0" class="btn btn-danger" onclick="check()">
                 <b>?!</b>
             </a>
             <!-- If you must... -->
         </div>
-        <a tabindex="0" class="btn btn-warning toggleHide fetch"
-            onclick="$('.hidable').hide(1000);$('.toggleHide').toggle(1000)">
+        <a tabindex="0" class="btn btn-warning toggleHide fetch" onclick="$('.hidable').hide(1000);$('.toggleHide').toggle(1000)">
             <span class="glyphicon glyphicon-eye-open" aria-hidden="true"></span>
         </a>
     </div>
 
-    <div id="controls" class="disabled" style="text-align: center;" onmouseenter="$('img').css('opacity','0.1')"
-        onmouseleave="$('img').css('opacity','1')">
+    <div id="controls" class="disabled" style="text-align: center;" onmouseenter="$('img').css('opacity','0.1')" onmouseleave="$('img').css('opacity','1')">
         <div id="name"></div>
         <div class="btn-group">
             <a id="lbtn" tabindex="0" class="btn btn-default disabled" onclick="prevFile();">
@@ -228,8 +220,7 @@
         <div class="tab-content well well-sm">
             <div class="tab-pane fade in active" id="chart">
                 <br>
-                <button id="resizeBtn" class="btn btn-default" onclick="resizeChart()"
-                    style="display: none;">图表没显示?暴力重置一下</button>
+                <button id="resizeBtn" class="btn btn-default" onclick="resizeChart()" style="display: none;">图表没显示?暴力重置一下</button>
                 <div id="comp" class="chart"></div>
                 <h4>班内一览表</h4>
                 <div id="score1" class="chart"></div>
@@ -245,8 +236,7 @@
                 <div id="fileOutput"></div>
                 <div style="text-align:center">
                     <a id="downbtn" tabindex="0" class="btn btn-default" onclick="down()">
-                        <span id="upicon" class="glyphicon glyphicon-save" aria-hidden="true"></span> <b>导出源文件</b><input
-                            style="display: none;">
+                        <span id="upicon" class="glyphicon glyphicon-save" aria-hidden="true"></span> <b>导出源文件</b><input style="display: none;">
                     </a>
                     <a id="downbtn" tabindex="0" class="btn btn-default" onclick="$('.active.in').wordExport('data')">
                         <span id="upicon" class="glyphicon glyphicon-save" aria-hidden="true"></span> <b>导出