2DU 8 лет назад
Родитель
Сommit
9333db506c
3 измененных файлов с 6 добавлено и 2 удалено
  1. 1 1
      app.py
  2. 1 1
      set_mark/toc_pas.py
  3. 4 0
      views/acme/css/bootstrap-reset.css

+ 1 - 1
app.py

@@ -3093,7 +3093,7 @@ def recent_changes(name = None, num = 1, what = 'all', tool = 'record'):
                 div = '<form method="post"><select name="a">' + select + '</select> <select name="b">' + select + '</select> <button class="btn btn-primary" type="submit">비교</button></form><br>' + div
                 div = '<form method="post"><select name="a">' + select + '</select> <select name="b">' + select + '</select> <button class="btn btn-primary" type="submit">비교</button></form><br>' + div
                 title = name
                 title = name
                 sub += ' (역사)'
                 sub += ' (역사)'
-                menu = [['w/' + url_pas(name), '문서']]
+                menu = [['w/' + url_pas(name), '문서'], ['move_data/' + url_pas(name), '이동 기록']]
                 div += '<br><a href="/history/' + url_pas(name) + '/' + str(num - 1) + '">(이전)</a> <a href="/history/' + url_pas(name) + '/' + str(num + 1) + '">(이후)</a>'
                 div += '<br><a href="/history/' + url_pas(name) + '/' + str(num - 1) + '">(이전)</a> <a href="/history/' + url_pas(name) + '/' + str(num + 1) + '">(이후)</a>'
             else:
             else:
                 curs.execute("select end, why from ban where block = ?", [name])
                 curs.execute("select end, why from ban where block = ?", [name])

+ 1 - 1
set_mark/toc_pas.py

@@ -43,7 +43,7 @@ def toc_pas(data, title, num, toc_y):
             toc = re.sub("\.$", '', toc)
             toc = re.sub("\.$", '', toc)
 
 
             if(toc_c == -1):
             if(toc_c == -1):
-                margin = 'style="margin-top: 30px;"'
+                margin = ''
                 toc_c = toc.count('.')
                 toc_c = toc.count('.')
             else:
             else:
                 toc_d = toc.count('.')
                 toc_d = toc.count('.')

+ 4 - 0
views/acme/css/bootstrap-reset.css

@@ -836,4 +836,8 @@ a.not_thing:hover {
 table#toron tbody tr td {
 table#toron tbody tr td {
     padding-top: 6px;
     padding-top: 6px;
     padding-bottom: 6px;
     padding-bottom: 6px;
+}
+
+ul#redirect {
+    margin-bottom: 0;
 }
 }