Răsfoiți Sursa

정말 오랫동안 존재했던 버그 수정

Surplus_Up (2DU) 6 ani în urmă
părinte
comite
c73abaaef3
4 a modificat fișierele cu 6 adăugiri și 5 ștergeri
  1. 1 1
      route/tool/func.py
  2. 1 1
      route/topic.py
  3. 1 1
      version.json
  4. 3 2
      views/main_css/css/main.css

+ 1 - 1
route/tool/func.py

@@ -499,7 +499,7 @@ def other2(data):
         data += ['']
 
     req_list = ''
-    main_css_ver = 31
+    main_css_ver = 32
 
     if not 'main_css_load' in flask.session or not 'main_css_ver' in flask.session or flask.session['main_css_ver'] != main_css_ver:
         for i_data in os.listdir(os.path.join("views", "main_css", "css")):

+ 1 - 1
route/topic.py

@@ -110,7 +110,7 @@ def topic_2(conn, topic_num):
             <a href="/thread/''' + topic_num + '/tool">(' + load_lang('topic_tool') + ''')</a>
             <hr class=\"main_hr\">
             <form style="''' + display + '''" method="post">
-                <textarea rows="10" id="content" placeholder="''' + load_lang('content') + '''" name="content"></textarea>
+                <textarea id="topic_content" placeholder="''' + load_lang('content') + '''" name="content"></textarea>
                 <hr class=\"main_hr\">
                 ''' + captcha_get() + (ip_warring() if display == '' else '') + '''
                 <input style="display: none;" name="topic" value="''' + name + '''">

+ 1 - 1
version.json

@@ -1,6 +1,6 @@
 {
     "master" : {
-        "r_ver" : "v3.1.8-master-21",
+        "r_ver" : "v3.1.8-master-22",
         "c_ver" : "3182000",
         "s_ver" : "8"
     }, "stable" : {

+ 3 - 2
views/main_css/css/main.css

@@ -36,7 +36,7 @@ hr.main_hr { border: none; margin-top: 8px; margin-bottom: 8px; }
 #include_link { display: none; }
 .foot_plus { background: white; border: 5px solid gainsboro; padding: 5px; width: 300px; height: 300px; position: fixed; top: calc(50% - 150px); right: calc(50% - 150px); display: none; z-index: 100; }
 #toc_title { font-size: 18px; }
-blockquote { background-image: url(/views/acme/img/quote.png); background-position: calc(100% - 10px) 10px; background-repeat: no-repeat; background-size: 25px; }
+blockquote { background-image: url(/views/main_css/file/quote.png); background-position: calc(100% - 10px) 10px; background-repeat: no-repeat; background-size: 25px; }
 #admin_log_search { width: 100px; }
 @media (max-width: 768px) { table { min-width: 100%; } .table_safe { min-width: 100%; }}
 @media (max-width: 400px) { .foot_plus { width: 80%; right: calc(100% - 92%); }}
@@ -50,4 +50,5 @@ div#topic_scroll { max-height: 500px; overflow: scroll; -ms-overflow-style: none
 div#topic_scroll::-webkit-scrollbar { display: none; }
 .hidden_link { filter: blur(3px); }
 .hidden_link:hover { filter: none; }
-#content { height: 500px; }
+#content { height: 500px; }
+#topic_content { height: 200; }