Mercurial > kraina_muminkow
comparison frontend/mfrontend/templates/layout.html @ 29:28eb82047167
Ukończona strona klienta
author | mild@mild-laptop |
---|---|
date | Sun, 05 Jun 2011 23:09:18 +0200 |
parents | f73176cba39b |
children | 49329f65ea4f |
comparison
equal
deleted
inserted
replaced
28:d017e2ab3027 | 29:28eb82047167 |
---|---|
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>NASZA APLIKACJA!</title> | 3 <title>NASZA APLIKACJA!</title> |
4 <script type="text/javascript" src="/static/jquery.js"></script> | 4 <script type="text/javascript" src="http://localhost/static/jquery.js"></script> |
5 <script type="text/javascript" src="/static/fancybox/jquery.fancybox-1.3.4.pack.js"></script> | 5 <script type="text/javascript" src="http://localhost/static/fancybox/jquery.fancybox-1.3.4.pack.js"></script> |
6 <link rel="stylesheet" href="/static/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> | 6 <link rel="stylesheet" href="http://localhost/static/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" /> |
7 <link rel="stylesheet" type="text/css" href="/static/style.css"> | 7 <link rel="stylesheet" type="text/css" href="http://localhost/static/style.css"> |
8 </head><body> | 8 </head><body> |
9 <div id="content"> | 9 <div id="content"> |
10 <div style="display:none"> | 10 <div style="display:none"> |
11 <div id="add"> | 11 <div id="add"> |
12 {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %} | 12 {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %} |
13 <form action="/jobs/add/" method=post> | 13 <form action="/jobs/add/" method=post> |
14 <dl> | 14 <dl> |
15 <dt>Opis zadania: | 15 <dt><b>Opis zadania:</b> |
16 <dd><input type=text name=label> | 16 <dd><input type=text name=label> |
17 <dt>Hash: | 17 <dt><b>Hash:</b> |
18 <dd><input type=text name=hash> | 18 <dd><input type=text name=hash> |
19 <dt>Metoda łamania hasha: | 19 <dt><b>Metoda łamania hasha:</b> |
20 <dd><input type=radio name=method value=0>Metoda 0 | 20 <dd><input type=radio name=method value=0>Brute-force |
21 <dd><input type=radio name=method value=1>Metoda 1 | 21 <dd><input type=radio name=method value=1>Słownik |
22 <dd><input type=submit value=Dodaj> | 22 <dd><input type=submit value=Dodaj> |
23 </dl> | 23 </dl> |
24 </form> | 24 </form> |
25 </div> | 25 </div> |
26 </div> | 26 </div> |
27 <div style="display:none"> | 27 <div style="display:none"> |
28 <div id="login"> | 28 <div id="login"> |
29 <form action="{{ url_for('frontend.login') }}" method=post> | 29 <form action="{{ url_for('frontend.login') }}" method=post> |
30 <dl> | 30 <dl> |
31 <dt>Nazwa użytkownika: | 31 <dt><b>Nazwa użytkownika:</b> |
32 <dd><input type=text name=username> | 32 <dd><input type=text name=username> |
33 <dt>Hasło: | 33 <dt><b>Hasło:</b> |
34 <dd><input type=password name=password> | 34 <dd><input type=password name=password> |
35 <dd><input type=submit value=Login> | 35 <dd><input type=submit value=Login> |
36 </dl> | 36 </dl> |
37 </form> | 37 </form> |
38 </div> | 38 </div> |
39 </div> | 39 </div> |
40 <div style="display:none"> | 40 <div style="display:none"> |
41 <div id="register"> | 41 <div id="register"> |
42 <form action="{{ url_for('frontend.register') }}" method=post> | 42 <form action="{{ url_for('frontend.register') }}" method=post> |
43 <dl> | 43 <dl> |
44 <dt>Nazwa użytkownika: | 44 <dt><b>Nazwa użytkownika:</b> |
45 <dd><input type=text name=username> | 45 <dd><input type=text name=username> |
46 <dt>Hasło: | 46 <dt><b>Hasło:</b> |
47 <dd><input type=password name=password> | 47 <dd><input type=password name=password> |
48 <dd><input type=submit value=Rejestruj> | 48 <dd><input type=submit value=Rejestruj> |
49 </dl> | 49 </dl> |
50 </form> | 50 </form> |
51 </div> | 51 </div> |
52 </div> | 52 </div> |
53 <h1>Krakersik</h1> | 53 <table align="center"><tr><td><img src="http://localhost/static/pic/logo.gif" align="center"></td></tr></table> |
54 <div id="menu"> | 54 <div id="menu"> |
55 {% if not session.logged_in %} | 55 {% if not session.logged_in %} |
56 <div class="button"><a id="loginlink" href="#login">Zaloguj się</a></div> | 56 <div class="button"><a id="loginlink" href="#login">Zaloguj się</a></div> |
57 <div class="button"><a id="registerlink" href="#register">Załóż konto</a></div> | 57 <div class="button"><a id="registerlink" href="#register">Załóż konto</a></div> |
58 {% else %} | 58 {% else %} |
63 {% endif %} | 63 {% endif %} |
64 </div> | 64 </div> |
65 {% for message in get_flashed_messages() %} | 65 {% for message in get_flashed_messages() %} |
66 <div class=flash>{{ message }}</div> | 66 <div class=flash>{{ message }}</div> |
67 {% endfor %} | 67 {% endfor %} |
68 <table width="80%" align="center"><tr><td align="center" id="result"> | |
68 {% block body %} | 69 {% block body %} |
69 {% endblock %} | 70 {% endblock %} |
70 <script type="text/javascript" src="/static/general.js"></script> | 71 </td></tr></table> |
72 <script type="text/javascript" src="http://localhost/static/general.js"></script> | |
71 </div> | 73 </div> |
72 </body></head> | 74 </body></head> |