| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- <html>
- <head>
- <title>{{title}}</title>
- <link rel="stylesheet" href="{{url_for('static', filename='primer.css')}}">
- <link rel="stylesheet" href="{{url_for('static', filename='style.css')}}">
- <link rel="stylesheet" href="{{url_for('static', filename='font-awesome/css/font-awesome.min.css')}}">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css">
- <script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.js"></script>
- <link rel="shortcut icon" href="{{url_for('static', filename='images/on.ico')}}">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- </head>
- <body>
- <br>
- <div class="one-fifth column">
- <div id="top">
- <a href="/" id="logo">{{logo}}</a>
- <div>
- <a href="/recentchanges" id="RecentChanges"><i class="fa fa-refresh" aria-hidden="true"></i><span id="is_mobile">최근 변경</span></a>
- <a href="/recentdiscuss" id="RecentChanges"><i class="fa fa-comment" aria-hidden="true"></i><span id="is_mobile">최근 토론</span></a>
- <a href="/random" id="log"><i class="fa fa-random" aria-hidden="true"></i></a>
- <a href="/user" id="log"><i class="fa fa-user" aria-hidden="true"></i></a>
- <a href="/other" id="log"><i class="fa fa-cogs" aria-hidden="true"></i></a>
- </div>
- <form method="POST" action="/search" id="search">
- <div class="input-group">
- <input class="form-control" name="search" type="text">
- <span class="input-group-button"><button class="btn"><i class="fa fa-long-arrow-left" aria-hidden="true"></i></button></span>
- </div>
- </form>
- </div>
- </div>
- <div class="scroll-buttons">
- <a class="scroll-toc" href="#toc"><i class="fa fa-list-alt" aria-hidden="true"></i></a>
- <a class="scroll-button" href="#top" id="left"><i class="fa fa-arrow-up" aria-hidden="true"></i></a>
- <a class="scroll-bottom" href="#powered" id="right"><i class="fa fa-arrow-down" aria-hidden="true"></i></a>
- </div>
- <div id="left_bar">
- <a href="#">맨 위로</a>
- <br>
- <br>
- {% autoescape false %}
- {{left}}
- {% endautoescape %}
- </div>
- <div class="four-fifths column">
- {% if tn == 1 %}
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">문서</a>
- <a class="menu-item" href="/edit/{{page}}">수정</a>
- <a class="menu-item" href="/topic/{{page}}">토론</a>
- <a class="menu-item" href="/delete/{{page}}">삭제</a>
- <a class="menu-item" href="/move/{{page}}">이동</a>
- <a class="menu-item" href="/raw/{{page}}">raw</a>
- <a class="menu-item" href="/history/{{page}}">역사</a>
- <a class="menu-item" href="/xref/{{page}}">역링크</a>
- </nav>
- </div>
- <h1 class="titlee">{{title}}</h1>
- <h2 class="titlee"><span style="margin-left:5px"></span></h2>
- <div>
- {% autoescape false %}
- {{data}}
- {% endautoescape %}
- </div>
- {% elif tn == 2 %}
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#">수정</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(수정)</h2>
- <form id="usrform" name="f1" method="POST" action="/edit/{{page}}">
- <textarea rows="30" cols="100" name="content" form="usrform">{{data}}</textarea>
- <input name="send" style="margin-top:10px;width:100%" type="text">
- <br>
- <br>
- <div class="form-actions">
- <button class="btn btn-primary" type="submit" onclick="f1.action='/edit/{{page}}';">저장</button>
- <button class="btn" type="submit" onclick="f1.action='/preview/{{page}}';">미리보기</button>
- </div>
- </form>
- {% elif tn == 3 %}
- <h1 class="title">{{title}}</h1>
- <table style="width: 100%;">
- <tbody>
- <tr>
- <td style="text-align: center;width:33.33%;">문서명</td>
- <td style="text-align: center;width:33.33%;">기여자</td>
- <td style="text-align: center;width:33.33%;">시간</td>
- </tr>
- </tbody>
- </table>
- {% autoescape false %}
- {{rows}}
- {% endautoescape %}
- {% elif tn == 4 %}
- <h1 class="title">{{title}}</h1>
- {% autoescape false %}
- {{rows}}
- {% endautoescape %}
- {% elif tn == 5 %}
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#">역사</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <h1 class="title">{{title}}</h1>
- <table style="width: 100%;">
- <tbody>
- <tr>
- <td style="text-align: center;width:33.33%;">판</td>
- <td style="text-align: center;width:33.33%;">기여자</td>
- <td style="text-align: center;width:33.33%;">시간</td>
- </tr>
- </tbody>
- </table>
- {% autoescape false %}
- {{rows}}
- {% endautoescape %}
- {% elif tn == 6 %}
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">옛문서</a>
- <a class="menu-item" href="/history/{{page}}">목록</a>
- </nav>
- </div>
- <h1 class="titlee">{{title}}</h1>
- <h2 class="titlee"><span style="margin-left:5px"></span>(old)</h2>
- <div>
- {% autoescape false %}
- {{data}}
- {% endautoescape %}
- </div>
- {% elif tn == 7 %}
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">raw</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(raw)</h2>
- <div>
- {% autoescape false %}
- {{data}}
- {% endautoescape %}
- </div>
- {% elif tn == 8 %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(삭제)</h2>
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">삭제</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <form id="usrform" method="POST" action="/delete/{{page}}">
- {{plus}}
- <br>
- <br>
- <button class="btn btn-primary" type="submit">삭제</button>
- </form>
- {% elif tn == 9 %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(이동)</h2>
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">이동</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <form id="usrform" method="POST" action="/move/{{page}}">
- {{plus}}
- <br>
- <br>
- <input class="form-control input-sm" value="{{title}}" name="title" type="text">
- <br>
- <br>
- <button class="btn btn-primary" type="submit">이동</button>
- </form>
- {% elif tn == 10 %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(토론 목록)</h2>
- <form id="usrform" method="POST" action="/topic/{{page}}">
- {% autoescape false %}
- {{plus}}
- {% endautoescape %}
- <br>
- <input class="form-control" name="topic" style="width: 100%">
- <br>
- <br>
- <button class="btn btn-primary" type="submit">새토론</button>
- </form>
- {% elif tn == 11 %}
- <h1 class="titlee">{{title}}</h1>
- <h2 class="titlee"><span style="margin-left:5px"></span>(토론)</h2>
- <h2>{{sub}}</h2>
- <br>
- {% autoescape false %}
- {{rows}}
- {% endautoescape %}
- <form id="usrform" method="POST" action="/topic/{{page}}/sub/{{suburl}}">
- <br>
- <textarea rows="10" cols="100" name="content" form="usrform"></textarea>
- <br>
- <br>
- <button class="btn btn-primary" type="submit">전송</button>
- </form>
- {% elif tn == 12 %}
- <h1 class="title">{{title}}</h1>
- <table style="width: 100%;">
- <tbody>
- <tr>
- <td style="text-align: center;width:33.33%;">토론명</td>
- <td style="text-align: center;width:33.33%;">토론자</td>
- <td style="text-align: center;width:33.33%;">시간</td>
- </tr>
- </tbody>
- </table>
- {% autoescape false %}
- {{rows}}
- {% endautoescape %}
- {% elif tn == 13 %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span>(되돌리기)</h2>
- <div id="tool">
- <nav class="menu">
- <a class="menu-item selected" href="#" onclick="return false">되돌리기</a>
- <a class="menu-item" href="/w/{{page}}">문서</a>
- </nav>
- </div>
- <form id="usrform" method="POST" action="/revert/{{page}}/r/{{r}}">
- {{plus}}
- <br>
- <br>
- <button class="btn btn-primary" type="submit">되돌리기</button>
- </form>
- {% elif tn == 14 %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span></h2>
- <div>
- <h2 style="margin-top: -5px;">0.1 (알파)</h2>
- <li>문서 보기와 편집</li>
- <li>기타 문서</li>
- <li>랜덤 구현</li>
- <h2>0.2 ~ 0.9 (베타)</h2>
- <li>그 외 엄청나게 많은 기능 구현 (기존 Ownet 기능에서 로그인 필요한 기능 빼고 구현)</li>
- <h2>1.0</h2>
- <li>로그인 구현 (예정)</li>
- </div>
- {% else %}
- <h1 class="title">{{title}}</h1>
- <h2 class="title"><span style="margin-left:5px"></span></h2>
- <div>
- {% autoescape false %}
- {{data}}
- {% endautoescape %}
- </div>
- {% endif %}
- <hr id="last">
- <p>{{license}}</p>
- <div id="powered">
- <a href="https://github.com/2DU/Ownet"><img src="{{url_for('static', filename='images/on2.png')}}" width="100px"></a>
- </div>
- </div>
- </body>
- </html>
|