diff 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
line wrap: on
line diff
--- a/frontend/mfrontend/templates/layout.html	Mon May 23 12:49:48 2011 +0200
+++ b/frontend/mfrontend/templates/layout.html	Sun Jun 05 23:09:18 2011 +0200
@@ -1,10 +1,10 @@
 <html>
 <head>
 <title>NASZA APLIKACJA!</title>
-<script type="text/javascript" src="/static/jquery.js"></script>
-<script type="text/javascript" src="/static/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
-<link rel="stylesheet" href="/static/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
-<link rel="stylesheet" type="text/css" href="/static/style.css">
+<script type="text/javascript" src="http://localhost/static/jquery.js"></script>
+<script type="text/javascript" src="http://localhost/static/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
+<link rel="stylesheet" href="http://localhost/static/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
+<link rel="stylesheet" type="text/css" href="http://localhost/static/style.css">
 </head><body>
 <div id="content">
 <div style="display:none">
@@ -12,13 +12,13 @@
   {% if error %}<p class=error><strong>Błąd:</strong> {{ error }}{% endif %}
   <form action="/jobs/add/" method=post>
     <dl>
-      <dt>Opis zadania:
+      <dt><b>Opis zadania:</b>
       <dd><input type=text name=label>
-      <dt>Hash:
+      <dt><b>Hash:</b>
       <dd><input type=text name=hash>
-      <dt>Metoda łamania hasha:
-      <dd><input type=radio name=method value=0>Metoda 0
-      <dd><input type=radio name=method value=1>Metoda 1
+      <dt><b>Metoda łamania hasha:</b>
+      <dd><input type=radio name=method value=0>Brute-force
+      <dd><input type=radio name=method value=1>Słownik
       <dd><input type=submit value=Dodaj>
     </dl>
   </form>
@@ -28,9 +28,9 @@
 	<div id="login">
   <form action="{{ url_for('frontend.login') }}" method=post>
     <dl>
-      <dt>Nazwa użytkownika:
+      <dt><b>Nazwa użytkownika:</b>
       <dd><input type=text name=username>
-      <dt>Hasło:
+      <dt><b>Hasło:</b>
       <dd><input type=password name=password>
       <dd><input type=submit value=Login>
     </dl>
@@ -41,16 +41,16 @@
 	<div id="register">
   <form action="{{ url_for('frontend.register') }}" method=post>
     <dl>
-      <dt>Nazwa użytkownika:
+      <dt><b>Nazwa użytkownika:</b>
       <dd><input type=text name=username>
-      <dt>Hasło:
+      <dt><b>Hasło:</b>
       <dd><input type=password name=password>
       <dd><input type=submit value=Rejestruj>
     </dl>
   </form>
 </div>
 </div>
-    <h1>Krakersik</h1>
+<table align="center"><tr><td><img src="http://localhost/static/pic/logo.gif" align="center"></td></tr></table>
   <div id="menu">
   {% if not session.logged_in %}
   <div class="button"><a id="loginlink" href="#login">Zaloguj się</a></div>
@@ -65,8 +65,10 @@
   {% for message in get_flashed_messages() %}
     <div class=flash>{{ message }}</div>
   {% endfor %}
+<table width="80%" align="center"><tr><td align="center" id="result">
   {% block body %}
 {% endblock %}
-<script type="text/javascript" src="/static/general.js"></script>
+</td></tr></table>
+<script type="text/javascript" src="http://localhost/static/general.js"></script>
 </div>
 </body></head>