9e6c9d9abc709777f97eff648b3ee2b18765b3b3
[odoo/odoo.git] / doc / howto / howto_website / basic-page
1 # HG changeset patch
2 # Parent a76a9a0e0668f4191bdc383a0d4b3173f44b39b1
3
4 diff --git a/controllers/my_controller.py b/controllers/my_controller.py
5 --- a/controllers/my_controller.py
6 +++ b/controllers/my_controller.py
7 @@ -6,4 +6,16 @@ from openerp.addons.web.controllers impo
8  class my_controller(main.Home):
9      @http.route('/', auth='none')
10      def index(self):
11 -        return "Hello, world!"
12 +        return """<!doctype html>
13 +<html>
14 +    <head>
15 +        <title>AcademyAcademy</title>
16 +        <link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
17 +    </head>
18 +    <body class="container">
19 +        <h1>Introduction to a thing</h1>
20 +        <h2>Course description</h2>
21 +        <p>Course introduction</p>
22 +    </body>
23 +</html>
24 +"""