21.12.2022 Views

python_para_desenvolvedores_2ed

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

192 MVC

<td><py-eval="unicode(res[coluna])"></td>

</py-for>

</tr>

</table>

<br />

<form

action="/?op=rem&ident=<py-eval="unicode(res['id'])">"

method="post">

<input type="submit" value=" remover " />

</form>

<br />

[ <a href="/">voltar</a> ]

<py-include="footer.html">

Modelo “header.html” (cabeçalho comum a todos os modelos):

<html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<title>Zoo</title>

<style type="text/css">

<!--

body {

margin: 10;

padding: 10;

font: 80% Verdana, Lucida, sans-serif;

color: #333366;

}

h1 {

margin: 0;

padding: 0;

font: 200% Lucida, Verdana, sans-serif;

}

a {

color: #436976;

text-decoration: none;

}

a:hover {

background: #c4cded;

text-decoration: underline;

}

table {

margin: 1em 0em 1em 0em;

border-collapse: collapse;

border-left: 1px solid #858ba1;

border-bottom: 1px solid #858ba1;

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!