fix css location

use "POST" for form values
This commit is contained in:
lars 2008-06-15 23:45:53 +00:00
parent 65b922a2aa
commit 806c07015b
4 changed files with 5 additions and 5 deletions

View file

@ -11,7 +11,7 @@
<div id="mail_pic"><img src="${tg.url('/get_current_shot')}"/></div> <div id="mail_pic"><img src="${tg.url('/get_current_shot')}"/></div>
<div id="mail_info"> <div id="mail_info">
<form action="${tg.url('/senden')}"> <form action="${tg.url('/senden')}" method="post">
<label for="mailaddress">An:</label> <label for="mailaddress">An:</label>
<input type="textfield" id="mailaddress" <input type="textfield" id="mailaddress"
name="mailaddress" value="${mailaddress}" size="30" /> name="mailaddress" value="${mailaddress}" size="30" />

View file

@ -16,7 +16,7 @@
} }
</style> </style>
<link rel="stylesheet" type="text/css" media="screen" href="../static/css/1024optimized.css" <link rel="stylesheet" type="text/css" media="screen" href="../static/css/1024optimized.css"
py:attrs="href=tg.url('/static/css/idea.css')"/> py:attrs="href=tg.url('/static/css/1024optimized.css')"/>
</head> </head>
<body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()"> <body py:match="item.tag=='{http://www.w3.org/1999/xhtml}body'" py:attrs="item.items()">

View file

@ -11,12 +11,12 @@
<div id="mail_pic"><img src="${tg.url('/get_current_shot')}"/></div> <div id="mail_pic"><img src="${tg.url('/get_current_shot')}"/></div>
<div id="mail_info"> <div id="mail_info">
<form action="${tg.url('/mailtext')}"> <form action="${tg.url('/mailtext')}" method="post">
<input type="hidden" name="mailtext" value="${mailtext}" /> <input type="hidden" name="mailtext" value="${mailtext}" />
<input type="hidden" name="already_stored" value="yes" /> <input type="hidden" name="already_stored" value="yes" />
<input type="submit" name="send" value="Erneut versenden" /> <input type="submit" name="send" value="Erneut versenden" />
</form> </form>
<form action="${tg.url('/')}"> <form action="${tg.url('/')}" method="post">
<input type="submit" name="send" value="Fertig" /> <input type="submit" name="send" value="Fertig" />
</form> </form>
</div> </div>

View file

@ -14,7 +14,7 @@
</td> </td>
<td valign="center"> <td valign="center">
<!-- TODO: einfach nur ein weiterfuehrendes Icon - kein Formular --> <!-- TODO: einfach nur ein weiterfuehrendes Icon - kein Formular -->
<form action="${tg.url('/ausloeser')}"> <form action="${tg.url('/ausloeser')}" method="post">
<input type="submit" value="Bild senden" /> <input type="submit" value="Bild senden" />
</form> </form>
</td> </td>