Browse Source

enhance tutor

schtonn 2 years ago
parent
commit
f1f768f307
3 changed files with 44 additions and 22 deletions
  1. 5 6
      index.html
  2. 3 3
      score/index.html
  3. 36 13
      score/tutor/index.html

+ 5 - 6
index.html

@@ -26,7 +26,7 @@
 
 </head>
 
-<body itemscope itemtype="http://schema.org/WebPage" >
+<body itemscope itemtype="http://schema.org/WebPage" style="height:100vh">
     <script src="js/cursorEffects.js"></script>
     <script type="text/javascript">
         new cursoreffects.bubbleCursor({ emoji: "🤐" });
@@ -41,8 +41,7 @@
                 <span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span>&nbsp;View on github</a>
             <a class="btn btn-warning" href="https://schtonn.gitee.io/"
                 style="text-shadow: rgb(155,55,55) 3px 2px 4px;"><span class="glyphicon glyphicon-thumbs-down"
-                    aria-hidden="true"></span>&nbsp;<del>View on
-                    gitee</del>(outdated)</a>
+                    aria-hidden="true"></span>&nbsp;<del>View on gitee</del>(outdated)</a>
         </p>
         <p><a class="btn btn-primary" href="https://github.com/schtonn/schtonn.github.io"
                 style="text-shadow: black 3px 2px 4px;"><span class="glyphicon glyphicon-folder-open"
@@ -51,15 +50,15 @@
                 style="text-shadow: rgb(155,55,55) 3px 2px 4px;"><span class="glyphicon glyphicon-folder-close"
                     aria-hidden="true"></span>&nbsp;<del>Repo on gitee</del> (outdated)</a>
         </p>
-        <h3>> 娱乐</h3>
+        <h3>> 娱乐</h3>
         <p>
             <a class="btn btn-info" href="/core/" style="text-shadow: rgb(133,133,130) 1px 2px 3px;">Core</a>
             <a class="btn btn-info" href="/sans/" style="text-shadow: rgb(133,133,130) 1px 2px 3px;">sans</a>
             <a class="btn btn-info" href="/sans-cheat/" style="text-shadow: rgb(133,133,130) 1px 2px 3px;"><span
                     class="glyphicon glyphicon-wrench" aria-hidden="true"></span>&nbsp;&nbsp;sans</a>
             <a class="btn btn-info" href="/random/" style="text-shadow: rgb(133,133,130) 1px 2px 3px;">random</a>
-                </p>
-        <h3>> 小工具</h3>
+        </p>
+        <h3>> 小工具</h3>
         <p>
             <a class="btn btn-danger" href="/score/" style="text-shadow: rgb(133,133,130) 1px 2px 3px;"><span
                     class="glyphicon glyphicon-stats" aria-hidden="true"></span>&nbsp;&nbsp;成绩整理</a>

+ 3 - 3
score/index.html

@@ -21,8 +21,8 @@
             var upIcon = document.getElementById('upicon');
             message.innerHTML = file.name + " - " + file.size + " 字节 - " + file.type + " - 正在读取...";
             upBtn.classList.remove('btn-danger');
-            upBtn.classList.remove('btn-default');
-            upBtn.classList.add('btn-default');
+            upBtn.classList.remove('btn-info');
+            upBtn.classList.add('btn-info');
             upIcon.classList.remove('glyphicon-exclamation-sign');
             upIcon.classList.remove('glyphicon-open');
             upIcon.classList.add('glyphicon-open');
@@ -174,7 +174,7 @@
                     for (i = 0; i < charts.length; i++)charts[i].style.display = 'none';
                     upBtn.classList.remove('btn-danger');
                     upBtn.classList.add('btn-danger');
-                    upBtn.classList.remove('btn-default');
+                    upBtn.classList.remove('btn-info');
                     upIcon.classList.remove('glyphicon-open');
                     upIcon.classList.remove('glyphicon-exclamation-sign');
                     upIcon.classList.add('glyphicon-exclamation-sign');

+ 36 - 13
score/tutor/index.html

@@ -1,20 +1,43 @@
 <head>
-<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
-integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
-<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
+    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
+        integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
+    <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">
-<link rel="stylesheet" href="../../css/style.css">
-<style>
-    img{
-        border: 3px dotted grey;
-        width:48%;
-    }
-</style>
+    <link rel="stylesheet" href="../../css/style.css">
+    <style>
+        img {
+            border: 3px dotted grey;
+            width: 48%;
+        }
+    </style>
 </head>
+
 <body>
-    <a class="btn btn-info" href=".." style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
-        class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a><br>
+    <a class="btn btn-info" href="/" style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
+            class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a><br>
+    <div>
+        <h1>
+            实验中学成绩整理
+        </h1>
+        <p style="font-size:16px">基于心意答查分页面提供的数据整理汇总考试成绩</p>
+        <h2>如何获取数据</h2>
+        <p>尽量使用 Google Chrome 浏览器,不保证其他浏览器操作相同。</p>
+        <p>1. 进入心意答查分页面;</p>
+        <p>2. 按下 F12 打开控制台,若无反应,尝试 Fn+F12;</p>
+        <p>3. 控制台顶栏分页中找到“<b>网络</b>”或“<b>Network</b>”(可能需要从下拉框里面找);</p>
+        <p>4. 刷新页面(用 F5 刷新),此时应看到控制台中出现一批文件,点击其中的“<b>getStudentReportMEVO</b>”;</p>
+        <p>5. 在新出现的小页面的顶栏分页中找到“<b>预览</b>”或“<b>Preview</b>”;</p>
+        <p>6. 此时应看到“{data: {,...”等数据,一定在数据第一行右键(或在其最后一行下方空白处右键),随后“<b>复制物体</b>”或“<b>Copy Object</b>”;</p>
+        <p>7. 新建文本文档(格式为 txt,不可用 Word 文档),将所复制的内容粘贴并保存,于下方按钮打开。</p>
+        <p style="font-size: 12px;font-style: italic;">
+            注:图表整理均在本地进行,你的数据不会上传到网络。<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;你获取的数据在心意答上未经加密并可直接访问,本质上对学生都是公开的,但恶意使用这些数据造成的后果自负。
+        </p>
+    </div>
+    <div style="text-align: center;">
+        <a class="btn btn-warning" href=".." style="text-shadow: rgb(85, 85, 85) 3px 2px 4px;"><span
+                class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;返回</a><br>
+    </div>
     <img src="1.png">
     <img src="2.png">
     <img src="3.png">