Added new files
This commit is contained in:
commit
18a0d48c8c
31 changed files with 1956 additions and 0 deletions
83
modules/welcome/templates/index.html
Normal file
83
modules/welcome/templates/index.html
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Paramecio WebFramework</title>
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
||||
<style type="text/css">
|
||||
|
||||
h1, h2, h3 {
|
||||
|
||||
|
||||
/*border: solid #cdcdcd 1px;*/
|
||||
padding:5px 10px 5px 10px;
|
||||
margin:0px;
|
||||
background: #b80505;
|
||||
color: #fbfbfb;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
|
||||
background: #fbfbfb;
|
||||
margin-left:15px;
|
||||
margin-right:15px;
|
||||
font-size:14px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
|
||||
}
|
||||
|
||||
#container {
|
||||
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
padding:10px 20px 10px 20px;
|
||||
margin:0px;
|
||||
|
||||
}
|
||||
|
||||
.body {
|
||||
|
||||
padding:10px 20px 10px 20px;
|
||||
border: solid #c4c4c4 1px;
|
||||
margin:0px;
|
||||
background: #fff;
|
||||
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
||||
text-align:right;
|
||||
padding:3px 6px 3px 6px;
|
||||
font-size:8pt;
|
||||
|
||||
}
|
||||
|
||||
.code {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<h1>${title}</h1>
|
||||
|
||||
<div class="body">
|
||||
<%block name="content">
|
||||
<p><strong>This is an id from an url</strong>: ${id}</p>
|
||||
<p><strong>This is an query from an url with name value</strong>: ${value}</p>
|
||||
</%block>
|
||||
</div>
|
||||
|
||||
<div class="footer">Paramecio, a system created for create webapps</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
4
modules/welcome/templates/welcome.html
Normal file
4
modules/welcome/templates/welcome.html
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
<%inherit file="index.html"/>
|
||||
<%block name="content">
|
||||
This is Paramecio, a simple web framework based in Bottle, Mako and Python 3.
|
||||
</%block>
|
||||
Loading…
Add table
Add a link
Reference in a new issue