Incorporate feedback from the Initial commit review
Change-Id: I1dae74e216f5d08da2eda73245577be3dc31ec34
This commit is contained in:
parent
9bd22e2c77
commit
640d342f9d
|
@ -181,7 +181,7 @@ class ContainerController(rest.RestController):
|
||||||
|
|
||||||
@wsme_pecan.wsexpose(Container, wtypes.text)
|
@wsme_pecan.wsexpose(Container, wtypes.text)
|
||||||
def get_one(self, container_id):
|
def get_one(self, container_id):
|
||||||
# TODO(dims): Returns all the containers
|
# TODO(dims): Returns specified container
|
||||||
pecan.response.status = 200
|
pecan.response.status = 200
|
||||||
return
|
return
|
||||||
|
|
||||||
|
@ -193,6 +193,6 @@ class ContainerController(rest.RestController):
|
||||||
|
|
||||||
@wsme_pecan.wsexpose(None, status_code=204)
|
@wsme_pecan.wsexpose(None, status_code=204)
|
||||||
def delete(self):
|
def delete(self):
|
||||||
# TODO(dims): DELETE the containers
|
# TODO(dims): DELETE this container
|
||||||
pecan.response.status = 204
|
pecan.response.status = 204
|
||||||
return
|
return
|
||||||
|
|
|
@ -7,28 +7,11 @@
|
||||||
|
|
||||||
## now define the body of the template
|
## now define the body of the template
|
||||||
<header>
|
<header>
|
||||||
<h1><img src="/images/logo.png" /></h1>
|
<h1></h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
|
|
||||||
<p>This is a sample Pecan project.</p>
|
<p>This is the OpenStack Containers project named Magnum</p>
|
||||||
|
|
||||||
<p>
|
|
||||||
Instructions for getting started can be found online at <a
|
|
||||||
href="http://pecanpy.org" target="window">pecanpy.org</a>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
...or you can search the documentation here:
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<form method="POST" action="/">
|
|
||||||
<fieldset>
|
|
||||||
<input name="q" />
|
|
||||||
<input type="submit" value="Search" />
|
|
||||||
</fieldset>
|
|
||||||
<small>Enter search terms or a module, class or function name.</small>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
<%def name="title()">
|
<%def name="title()">
|
||||||
Default Title
|
Magnum
|
||||||
</%def>
|
</%def>
|
||||||
|
|
||||||
<%def name="style()">
|
<%def name="style()">
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue