Permalink
Browse files

some HTML and CSS update

  • Loading branch information...
1 parent 9d4cc14 commit c562f3d64040041ac1db10c5e3d606021fb07b28 @Aqua-Ye Aqua-Ye committed Aug 29, 2012
Showing with 12 additions and 12 deletions.
  1. +1 −1 resources/css/style.css
  2. +11 −11 src/view.opa
View
@@ -44,6 +44,6 @@
margin-top: 6px;
}
-footer {
+#footer {
background:#eee;
}
View
@@ -1,16 +1,16 @@
module View {
function page_template(content) {
- <>
- <div class="navbar navbar-inverse navbar-fixed-top">
- <div class=navbar-inner>
- <div class=container>
- <div id=#logo />
- </div>
+ <div class="navbar navbar-inverse navbar-fixed-top">
+ <div class=navbar-inner>
+ <div class=container>
+ <div id=#logo />
</div>
</div>
+ </div>
+ <div id=#main>
{content}
- </>
+ </div>
}
function user_update(message msg) {
@@ -32,16 +32,16 @@ module View {
function chat_html(author) {
<div id=#conversation class=container-fluid
onready={function(_) { Model.register_message_callback(user_update)}} />
- <footer class="navbar navbar-fixed-bottom">
+ <div id=#footer class="navbar navbar-fixed-bottom">
<div class=container>
<div class=input-append>
<input id=#entry class=input-xxlarge type=text
onnewline={function(_) { broadcast(author) }}>
<button class="btn btn-primary" type=button
onclick={function(_) { broadcast(author) }}>Post</>
- </>
- </>
- </>
+ </div>
+ </div>
+ </div>
}
function default_page() {

0 comments on commit c562f3d

Please sign in to comment.