index.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. <html>
  2. <head>
  3. <title>{{title}}</title>
  4. <link rel="stylesheet" href="{{url_for('static', filename='primer.css')}}">
  5. <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
  6. <link rel="stylesheet" href="{{url_for('static', filename='font-awesome/css/font-awesome.min.css')}}">
  7. <script type="text/x-mathjax-config">
  8. MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
  9. </script>
  10. <script type="text/javascript" async
  11. src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_CHTML">
  12. </script>
  13. <link rel="shortcut icon" href="{{url_for('static', filename='images/on.ico')}}">
  14. <meta name="viewport" content="width=device-width, initial-scale=1">
  15. </head>
  16. <body>
  17. <br>
  18. <div class="one-fifth column">
  19. <div id="top">
  20. <a href="/" id="logo">{{logo}}</a>
  21. <div>
  22. <a href="/recentchanges" id="RecentChanges"><i class="fa fa-refresh" aria-hidden="true"></i><span id="is_mobile">최근 변경</span></a>
  23. <a href="/recentdiscuss" id="RecentChanges"><i class="fa fa-comment" aria-hidden="true"></i><span id="is_mobile">최근 토론</span></a>
  24. <a href="/random" id="log"><i class="fa fa-random" aria-hidden="true"></i></a>
  25. <a href="/user" id="log"><i class="fa fa-user" aria-hidden="true"></i></a>
  26. <a href="/other" id="log"><i class="fa fa-cogs" aria-hidden="true"></i></a>
  27. </div>
  28. <form method="POST" action="/search" id="search">
  29. <div class="input-group">
  30. <input class="form-control" name="search" type="text">
  31. <span class="input-group-button"><button class="btn"><i class="fa fa-search" aria-hidden="true"></i></button></span>
  32. </div>
  33. </form>
  34. </div>
  35. </div>
  36. <div class="scroll-buttons">
  37. <a class="scroll-toc" href="#toc"><i class="fa fa-list-alt" aria-hidden="true"></i></a>
  38. <a class="scroll-button" href="#top" id="left"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
  39. <a class="scroll-bottom" href="#powered" id="right"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
  40. </div>
  41. <div id="all_contect">
  42. <div id="left_bar">
  43. <a href="#">맨 위로</a>
  44. <br>
  45. <br>
  46. {% autoescape false %}
  47. {{left}}
  48. {% endautoescape %}
  49. </div>
  50. <div class="four-fifths column">
  51. {% if tn == 1 %}
  52. <div id="tool">
  53. <nav class="menu">
  54. <a class="menu-item selected" href="#" onclick="return false">문서</a>
  55. <a class="menu-item" href="/edit/{{page}}">수정</a>
  56. <a class="menu-item" id="{{topic}}" href="/topic/{{page}}">토론</a>
  57. <a class="menu-item" href="/delete/{{page}}">삭제</a>
  58. <a class="menu-item" href="/move/{{page}}">이동</a>
  59. <a class="menu-item" href="/raw/{{page}}">Raw</a>
  60. <a class="menu-item" href="/history/{{page}}/n/1">역사</a>
  61. <a class="menu-item" href="/backlink/{{page}}/n/1">역링크</a>
  62. <a class="menu-item" style="{{style}}" href="/w/{{uppage}}">상위</a>
  63. </nav>
  64. </div>
  65. <h1 class="title">{{title}} <sub>{{acl}}</sub></h1>
  66. {% if redirect %}
  67. {% autoescape false %}
  68. <li style="margin-top: -20px;">{{redirect}}</li>
  69. <br>
  70. {% endautoescape %}
  71. {% endif %}
  72. <div>
  73. {% autoescape false %}
  74. {{data}}
  75. {% endautoescape %}
  76. </div>
  77. {% elif tn == 2 %}
  78. {% if preview == 1 %}
  79. <div id="tool">
  80. <nav class="menu">
  81. <a class="menu-item selected" href="#">미리보기</a>
  82. <a class="menu-item" href="/w/{{page}}">문서</a>
  83. </nav>
  84. </div>
  85. {% else %}
  86. <div id="tool">
  87. <nav class="menu">
  88. <a class="menu-item selected" href="#">수정</a>
  89. <a class="menu-item" href="/w/{{page}}">문서</a>
  90. </nav>
  91. </div>
  92. {% endif %}
  93. {% if preview == 1 %}
  94. <h1 class="title">{{title}} <sub>(미리보기)</sub></h1>
  95. {% else %}
  96. <h1 class="title">{{title}} <sub>(수정)</sub></h1>
  97. {% endif %}
  98. {% if notice %}
  99. <br>
  100. <span>{{notice}}</span>
  101. <br>
  102. <br>
  103. {% endif %}
  104. {% if section == 1 %}
  105. <form id="usrform" name="f1" method="POST" action="/edit/{{page}}/section/{{number}}">
  106. <textarea rows="30" cols="100" name="content" form="usrform">{{data}}</textarea>
  107. {% if preview == 1 %}
  108. <textarea style="display:none;" rows="30" cols="100" name="otent" form="usrform">{{odata}}</textarea>
  109. {% else %}
  110. <textarea style="display:none;" rows="30" cols="100" name="otent" form="usrform">{{data}}</textarea>
  111. {% endif %}
  112. <input name="send" style="margin-top:10px;width:100%" type="text">
  113. <br>
  114. <br>
  115. <div class="form-actions">
  116. <button class="btn btn-primary" type="submit" onclick="f1.action='/edit/{{page}}/section/{{number}}';">저장</button>
  117. <button class="btn" type="submit" onclick="f1.action='/preview/{{page}}/section/{{number}}';">미리보기</button>
  118. </div>
  119. </form>
  120. {% else %}
  121. <form id="usrform" name="f1" method="POST" action="/edit/{{page}}">
  122. <textarea rows="30" cols="100" name="content" form="usrform">{{data}}</textarea>
  123. <input name="send" style="margin-top:10px;width:100%" type="text">
  124. <br>
  125. <br>
  126. <div class="form-actions">
  127. <button class="btn btn-primary" type="submit" onclick="f1.action='/edit/{{page}}';">저장</button>
  128. <button class="btn" type="submit" onclick="f1.action='/preview/{{page}}';">미리보기</button>
  129. </div>
  130. </form>
  131. {% endif %}
  132. {% if preview == 1 %}
  133. {% autoescape false %}
  134. {{enddata}}
  135. {% endautoescape %}
  136. {% endif %}
  137. {% elif tn == 3 %}
  138. <h1 class="title">{{title}}</h1>
  139. <table style="width: 100%;">
  140. <tbody>
  141. <tr>
  142. <td style="text-align: center;width:33.33%;">문서명</td>
  143. <td style="text-align: center;width:33.33%;">기여자</td>
  144. <td style="text-align: center;width:33.33%;">시간</td>
  145. </tr>
  146. </tbody>
  147. </table>
  148. {% autoescape false %}
  149. {{rows}}
  150. {% endautoescape %}
  151. {% elif tn == 4 %}
  152. <h1 class="title">{{title}}</h1>
  153. {% autoescape false %}
  154. {{rows}}
  155. {% endautoescape %}
  156. {% elif tn == 5 %}
  157. <div id="tool">
  158. <nav class="menu">
  159. <a class="menu-item selected" href="#">역사</a>
  160. <a class="menu-item" href="/w/{{page}}">문서</a>
  161. </nav>
  162. </div>
  163. <h1 class="title">{{title}} <sub>(역사)</sub></h1>
  164. <form class="usrform" method='POST' action='/history/{{page}}/n/1'>
  165. <select name="a">
  166. {% autoescape false %}
  167. {{select}}
  168. {% endautoescape %}
  169. </select>
  170. <select name="b">
  171. {% autoescape false %}
  172. {{select}}
  173. {% endautoescape %}
  174. </select>
  175. <button class="btn btn-primary" type='submit'>리비전 비교</button>
  176. <br>
  177. <br>
  178. <table style="width: 100%;">
  179. <tbody>
  180. <tr>
  181. <td style="text-align: center;width:33.33%;">판</td>
  182. <td style="text-align: center;width:33.33%;">기여자</td>
  183. <td style="text-align: center;width:33.33%;">시간</td>
  184. </tr>
  185. </tbody>
  186. </table>
  187. {% autoescape false %}
  188. {{rows}}
  189. {% endautoescape %}
  190. {% elif tn == 6 %}
  191. <div id="tool">
  192. <nav class="menu">
  193. <a class="menu-item selected" href="#" onclick="return false">옛문서</a>
  194. <a class="menu-item" href="javascript:history.back(-1);">뒤로가기</a>
  195. </nav>
  196. </div>
  197. <h1 class="title">{{title}} <sub>(옛문서)</sub></h1>
  198. <div>
  199. {% autoescape false %}
  200. {{data}}
  201. {% endautoescape %}
  202. </div>
  203. {% elif tn == 7 %}
  204. <div id="tool">
  205. <nav class="menu">
  206. <a class="menu-item selected" href="#" onclick="return false">raw</a>
  207. <a class="menu-item" href="/w/{{page}}">문서</a>
  208. </nav>
  209. </div>
  210. <h1 class="title">{{title}} <sub>(raw)</sub></h1>
  211. <div>
  212. {% autoescape false %}
  213. {{data}}
  214. {% endautoescape %}
  215. </div>
  216. {% elif tn == 8 %}
  217. <h1 class="title">{{title}} <sub>(삭제)</sub></h1>
  218. <div id="tool">
  219. <nav class="menu">
  220. <a class="menu-item selected" href="#" onclick="return false">삭제</a>
  221. <a class="menu-item" href="/w/{{page}}">문서</a>
  222. </nav>
  223. </div>
  224. <form id="usrform" method="POST" action="/delete/{{page}}">
  225. {{plus}}
  226. <br>
  227. <br>
  228. <button class="btn btn-primary" type="submit">삭제</button>
  229. </form>
  230. {% elif tn == 9 %}
  231. <h1 class="title">{{title}} <sub>(이동)</sub></h1>
  232. <div id="tool">
  233. <nav class="menu">
  234. <a class="menu-item selected" href="#" onclick="return false">이동</a>
  235. <a class="menu-item" href="/w/{{page}}">문서</a>
  236. </nav>
  237. </div>
  238. <form id="usrform" method="POST" action="/move/{{page}}">
  239. {{plus}}
  240. <br>
  241. <br>
  242. <input class="form-control input-sm" value="{{title}}" name="title" type="text">
  243. <br>
  244. <br>
  245. <button class="btn btn-primary" type="submit">이동</button>
  246. </form>
  247. {% elif tn == 10 %}
  248. <h1 class="title">{{title}} <sub>(토론 목록)</sub></h1>
  249. {% if list == 1 %}
  250. <div id="tool">
  251. <nav class="menu">
  252. <a class="menu-item selected" href="#" onclick="return false">토론 목록</a>
  253. <a class="menu-item" href="/w/{{page}}">문서</a>
  254. </nav>
  255. </div>
  256. {% else %}
  257. <div id="tool">
  258. <nav class="menu">
  259. <a class="menu-item selected" href="#" onclick="return false">닫힌 토론 목록</a>
  260. <a class="menu-item" href="/topic/{{page}}">토론 목록</a>
  261. </nav>
  262. </div>
  263. {% endif %}
  264. <form id="usrform" method="POST" action="/topic/{{page}}">
  265. {% autoescape false %}
  266. {{plus}}
  267. {% endautoescape %}
  268. {% if list == 1 %}
  269. <br>
  270. <a href="/topic/{{page}}/close">(닫힌 토론 보기)</a>
  271. <br>
  272. <br>
  273. <input class="form-control" name="topic" style="width: 100%">
  274. <br>
  275. <br>
  276. <button class="btn btn-primary" type="submit">새토론</button>
  277. {% endif %}
  278. </form>
  279. {% elif tn == 11 %}
  280. <h1 class="title">{{title}} <sub>(토론)</sub></h1>
  281. <div id="tool">
  282. <nav class="menu">
  283. <a class="menu-item selected" href="#" onclick="return false">토론</a>
  284. <a class="menu-item" href="/topic/{{page}}">토론 목록</a>
  285. </nav>
  286. </div>
  287. <h2>{{sub}}</h2>
  288. <br>
  289. {% autoescape false %}
  290. {{rows}}
  291. {% endautoescape %}
  292. {% if ban == 1 %}
  293. {% else %}
  294. <a href="javascript:window.location.reload(true);">(갱신)</a>
  295. <form id="usrform" method="POST" action="/topic/{{page}}/sub/{{suburl}}">
  296. <br>
  297. <textarea rows="10" cols="100" name="content" form="usrform"></textarea>
  298. <br>
  299. <br>
  300. <button class="btn btn-primary" type="submit">전송</button>
  301. </form>
  302. {% endif %}
  303. {% elif tn == 12 %}
  304. <h1 class="title">{{title}}</h1>
  305. <table style="width: 100%;">
  306. <tbody>
  307. <tr>
  308. <td style="text-align: center;width:50%;">토론명</td>
  309. <td style="text-align: center;width:50%;">시간</td>
  310. </tr>
  311. </tbody>
  312. </table>
  313. {% autoescape false %}
  314. {{rows}}
  315. {% endautoescape %}
  316. {% elif tn == 13 %}
  317. <h1 class="title">{{title}} <sub>(되돌리기)</sub></h1>
  318. <div id="tool">
  319. <nav class="menu">
  320. <a class="menu-item selected" href="#" onclick="return false">되돌리기</a>
  321. <a class="menu-item" href="javascript:history.back(-1);">뒤로가기</a>
  322. </nav>
  323. </div>
  324. <form id="usrform" method="POST" action="/revert/{{page}}/r/{{r}}">
  325. {{plus}}
  326. <br>
  327. <br>
  328. <button class="btn btn-primary" type="submit">되돌리기</button>
  329. </form>
  330. {% elif tn == 14 %}
  331. <h1 class="title">{{title}}</h1>
  332. <div>
  333. <h2 style="margin-top: -5px;">0.1 (알파)</h2>
  334. <li>문서 보기와 편집</li>
  335. <li>기타 문서</li>
  336. <li>랜덤 구현</li>
  337. <h2>0.2 ~ 0.9 (베타)</h2>
  338. <li>그 외 엄청나게 많은 기능 구현 (기존 <a class="out_link" href="https://github.com/2DU/OWNET">Ownet</a> 기능에서 로그인 필요한 기능 빼고 구현)</li>
  339. <h2>1.0</h2>
  340. <li>로그인 구현</li>
  341. <h2>1.1</h2>
  342. <li>차단 구현</li>
  343. <li>토론 닫기, 정지</li>
  344. <li>블라인드 구현</li>
  345. <li>ACL 기능 구현</li>
  346. <li>어드민 부여 구현</li>
  347. <h2>1.2</h2>
  348. <li>미리보기 구현</li>
  349. <li>대역 차단 구현</li>
  350. <li>diff 구현</li>
  351. <li>파일 업로드 개선</li>
  352. <li>파일 업로드 구현</li>
  353. <li>기본적인 다중 검사 기능</li>
  354. <h2>1.3</h2>
  355. <li>토론 목록 보강</li>
  356. <li>토론에 문법 지원</li>
  357. <li>비 효율적으로 돌아가던거 수정</li>
  358. <li>하위 문서 지원</li>
  359. <li>관리자 기능의 접근성 향상</li>
  360. <li>대규모도 편하게 접근되게</li>
  361. <h2>1.4</h2>
  362. <li>사용자 문서</li>
  363. <li>사문 접근성</li>
  364. <li>검색 기능 수정</li>
  365. <li>상위 문서 바로가기</li>
  366. <li>유저 기록 보기</li>
  367. <h2>1.5 (정식)</h2>
  368. <li>디자인 변경</li>
  369. <li>관리자 기능 접근성</li>
  370. <li>파일 문서 생성</li>
  371. <li>유저 가입 목록</li>
  372. <li>최근 차단을 유저 차단 기록으로</li>
  373. <h2>1.6 (진행중)</h2>
  374. <li>역링크 기능 완성 (완료)</li>
  375. <li>분류 완성 (완료)</li>
  376. <li>팝업 각주</li>
  377. <li>문단 편집 (완료)</li>
  378. <li>비밀번호 변경 (완료)</li>
  379. <li>몇몇 알고리즘 변경과 토론 있으면 불 나오게 (완료)</li>
  380. <h2>1.7</h2>
  381. <li>토론에 AJAX 적용</li>
  382. <li>리캡차 추가</li>
  383. <li>섬네일 기능</li>
  384. <li>업로드 보강</li>
  385. <h2>계속</h2>
  386. <li>버그 수정</li>
  387. <li>파서 제작 (Last 1.6.2)</li>
  388. <br>
  389. <h2>파이나무 라이선스</h2>
  390. <li>BSD 3-Clause License</li>
  391. <h2>외부 파일 라이선스</h2>
  392. <li>인용문 아이콘 <a class="out_link" href="http://www.flaticon.com/free-icon/quote-left_25672">Dave Gandy</a> CC 3.0 BY</li>
  393. <li>일부 파일 <a class="out_link" href="https://twitter.com/Basix1120">Basix</a></li>
  394. <br>
  395. <h2>기타</h2>
  396. <li>버전 1.6.7 - 정식</li>
  397. <br>
  398. <h2>개발 이념</h2>
  399. <li>나(<a class="out_link" href="https://github.com/2DU">2DU</a>) 쓰기 편한 엔진을 만들자</li>
  400. </div>
  401. {% elif tn == 15 %}
  402. <h1 class="title">{{title}}</h1>
  403. {% if title == '회원가입' %}
  404. <form id="usrform" method="POST" action="/register">
  405. {% elif title == '비밀번호 변경' %}
  406. <form id="usrform" method="POST" action="/change">
  407. {% else %}
  408. <form id="usrform" method="POST" action="/login">
  409. {% endif %}
  410. <span>아이디</span>
  411. <br>
  412. <br>
  413. <input name="id" type="text">
  414. <br>
  415. <br>
  416. <span>{% if title == '비밀번호 변경' %}현재{% endif %}비밀번호</span>
  417. <br>
  418. <br>
  419. <input name="pw" type="password">
  420. <br>
  421. <br>
  422. {% if title == '비밀번호 변경' %}
  423. <span>바꿀 비밀번호</span>
  424. <br>
  425. <br>
  426. <input name="pw2" type="password">
  427. <br>
  428. <br>
  429. {% endif %}
  430. <button class="btn btn-primary" type="submit">{{enter}}</button>
  431. </form>
  432. {% elif tn == 16 %}
  433. <h1 class="title">{{title}} <sub>(차단)</sub></h1>
  434. <form id="usrform" method="POST" action="/ban/{{page}}">
  435. {% if now == '차단' or now == '대역 차단' %}
  436. <input class="form-control" name="end" style="width: 100%">
  437. <br>
  438. <br>
  439. <span>아무것도 안 적으면 무기한 차단 입니다.</span>
  440. <br>
  441. <br>
  442. <span>차단 일 지정시 형식은 YYYY-MM-DD로 기록 해야합니다. (예시: 2017-01-20, 2017-10-15)</span>
  443. <br>
  444. <br>
  445. <span>지금 시각은 {{today}} 입니다.</span>
  446. <br>
  447. <br>
  448. <input class="form-control" name="why" style="width: 100%">
  449. <br>
  450. <br>
  451. <span>사유를 쓰는 곳 입니다.</span>
  452. {% if allif == 1 %}
  453. <br>
  454. <br>
  455. <input type="checkbox" name="band">
  456. <span>대역 차단</span>
  457. </input>
  458. {% endif %}
  459. <br>
  460. <br>
  461. {% endif %}
  462. <button class="btn btn-primary" type="submit">{{now}}</button>
  463. </form>
  464. {% elif tn == 17 %}
  465. <h1 class="title">{{title}}</h1>
  466. <div>
  467. <a class="out_link" style="margin-top: -5px;" href="https://namu.wiki/w/%EB%82%98%EB%AC%B4%EC%9C%84%ED%82%A4:%ED%8E%B8%EC%A7%91%20%EB%8F%84%EC%9B%80%EB%A7%90">참조</a>
  468. <h2>기초 문법</h2>
  469. <li>~~취소선~~ --취소선--</li>
  470. <li>'''강조'''</li>
  471. <li>''기울이기''</li>
  472. <li>__언더 바__</li>
  473. <li>^^윗 첨자^^</li>
  474. <li>,,아랫 첨자,,</li>
  475. <h2>문단 문법</h2>
  476. <li>[목차]</li>
  477. <li>= 1단계 문단 =</li>
  478. <li>== 2단계 문단 ==</li>
  479. <li>=== 3단계 문단 ===</li>
  480. <li>==== 4단계 문단 ====</li>
  481. <li>===== 5단계 문단 =====</li>
  482. <li>====== 6단계 문단 ======</li>
  483. <h2>링크 문법</h2>
  484. <li>[[내부 링크]]</li>
  485. <li>[[내부 링크|보이는 내용]]</li>
  486. <li>[[외부 링크]]</li>
  487. <li>[[외부 링크|보이는 내용]]</li>
  488. <h2>유튜브 문법</h2>
  489. <li>[youtube(코드)]</li>
  490. <li>[youtube(코드, width=가로, height=세로)]</li>
  491. <li>[youtube(코드, height=세로, width=가로)]</li>
  492. <h2>각주 문법</h2>
  493. <li>[* 내용]</li>
  494. <li>[*이름 내용]</li>
  495. <li>[각주]</li>
  496. <h2>넘겨주기 문법</h2>
  497. <li>#redirect 문서명</li>
  498. <li>#넘겨주기 문서명</li>
  499. </div>
  500. {% elif tn == 18 %}
  501. <h1 class="title">{{title}} <sub>(권한 부여)</sub></h1>
  502. <form id="usrform" method="POST" action="/admin/{{page}}">
  503. {% if now == '권한 부여' %}
  504. <select name="select">
  505. <option value="admin" selected="selected">관리자</option>
  506. <option value="ownet">소유자</option>
  507. </select>
  508. <br>
  509. <br>
  510. {% endif %}
  511. <button class="btn btn-primary" type="submit">{{now}}</button>
  512. </form>
  513. {% elif tn == 19 %}
  514. <h1 class="title">{{title}} <sub>(ACL)</sub></h1>
  515. <p>{{now}}</p>
  516. <form id="usrform" method="POST" action="/acl/{{page}}">
  517. <select name="select">
  518. <option value="admin" selected="selected">관리자만</option>
  519. <option value="user">유저 이상</option>
  520. <option value="normal">일반</option>
  521. </select>
  522. <br>
  523. <br>
  524. <button class="btn btn-primary" type="submit">ACL 변경</button>
  525. </form>
  526. {% elif tn == 20 %}
  527. <h1 class="title">{{title}}</h1>
  528. <table style="width: 100%;">
  529. <tbody>
  530. <tr>
  531. <td style="text-align: center;width:20%;">차단자</td>
  532. <td style="text-align: center;width:20%;">관리자</td>
  533. <td style="text-align: center;width:20%;">언제까지</td>
  534. <td style="text-align: center;width:20%;">왜</td>
  535. <td style="text-align: center;width:20%;">시간</td>
  536. </tr>
  537. </tbody>
  538. </table>
  539. {% autoescape false %}
  540. {{rows}}
  541. {% endautoescape %}
  542. {% elif tn == 21 %}
  543. <h1 class="title">{{title}}</h1>
  544. <div>
  545. <form action="" method=post enctype=multipart/form-data>
  546. <input type=file name=file>
  547. <input type=submit value=Upload>
  548. </form>
  549. </div>
  550. <span>{{number}}MB 이하 파일만 업로드 가능하고 파일 명에 ./\*<>|:? 들은 불가능 하며 확장자는 jpg, png, gif, jpeg만 가능 합니다.</span>
  551. {% elif tn == 22 %}
  552. <h1 class="title">{{title}}</h1>
  553. <table style="width: 100%;">
  554. <tbody>
  555. <tr>
  556. <td style="text-align: center;width:33.33%;">유저</td>
  557. <td style="text-align: center;width:33.33%;">아이피</td>
  558. <td style="text-align: center;width:33.33%;">언제</td>
  559. </tr>
  560. </tbody>
  561. </table>
  562. {% autoescape false %}
  563. {{rows}}
  564. {% endautoescape %}
  565. {% else %}
  566. <div id="tool">
  567. <nav class="menu">
  568. <a class="menu-item selected" href="#" onclick="return false">{{title}}</a>
  569. <a class="menu-item" href="javascript:history.back(-1);">뒤로가기</a>
  570. </nav>
  571. </div>
  572. <h1 class="title">{{title}} {% if plus %}<sub>{{plus}}</sub>{% endif %}</h1>
  573. <div>
  574. {% autoescape false %}
  575. {{data}}
  576. {% endautoescape %}
  577. </div>
  578. {% endif %}
  579. <hr id="last">
  580. <p>{% autoescape false %}{{license}}{% endautoescape %}</p>
  581. <div id="powered">
  582. <a href="https://github.com/2DU/PYnamu"><img src="{{url_for('static', filename='images/on2.png')}}" width="100px"></a>
  583. </div>
  584. </div>
  585. </div>
  586. </body>
  587. </html>