Android audio : better audio handling
[nit.git] / contrib / opportunity / src / templates / boilerplate.nit
index cb2b11c..609f56c 100644 (file)
@@ -59,8 +59,6 @@ class OpportunityHeader
                }
                .answer:hover {
                        cursor:pointer;
-                       background-color:#0d8921;
-                       color:white;
                }
                .opportunity-action:hoverĀ {
                        cursor:pointer;
@@ -71,11 +69,11 @@ class OpportunityHeader
 <nav class="menu" role="navigation">
        <div class="container">
                <div class="navbar-header">
-                       <a class="navbar-brand" href="/" >Opportunity</a>
+                       <a class="navbar-brand" href="./" >Opportunity</a>
                </div>
        </div>
 </nav>
-<div class="container-fluid">
+<div class="container">
 """
        end
 
@@ -88,7 +86,6 @@ class OpportunityFooter
        redef fun rendering do
                add """
 </div>
-</body>
 <div class="footer">
        <div class="well well-sm">
                <p class="text-muted text-center">
@@ -99,6 +96,7 @@ class OpportunityFooter
                </p>
        </div>
 </div>
+</body>
 </html>
 """
        end
@@ -109,10 +107,13 @@ end
 class OpportunityPage
        super Template
 
+       # The HTML code of the header and of the banner.
        var header = new OpportunityHeader
 
+       # The HTML code of the body.
        var body: Streamable = "" is writable
 
+       # The HTML code of the footer.
        var footer = new OpportunityFooter
 
        redef fun rendering do