Parcourir la source

Rearrange the page layout (one column).

master
flabbergast il y a 7 ans
Parent
révision
866b2194a9
3 fichiers modifiés avec 19 ajouts et 11 suppressions
  1. +4
    -0
      public/css/style.styl
  2. +2
    -2
      views/index.jade
  3. +13
    -9
      views/layout.jade

+ 4
- 0
public/css/style.styl Voir le fichier

@@ -33,3 +33,7 @@ footer
.footer p
margin-bottom 0
color #999

#main-body
max-width 460px
text-align center

+ 2
- 2
views/index.jade Voir le fichier

@@ -10,7 +10,7 @@ block left-column
h5 Communicate over serial
//form.form-inline
.input-append
input#serialtalk-text.span7(type="text", placeholder="LLAP message")
input#serialtalk-text(type="text", placeholder="LLAP message")
button#serialtalk-btn.btn Send
p Last response: 
span#serialtalk-resp nothing yet
@@ -25,7 +25,7 @@ block main-column

block right-column
#logs.well
h5 Log
h5 Logs
div#logs-content

block footer


+ 13
- 9
views/layout.jade Voir le fichier

@@ -9,17 +9,21 @@ html
meta(name="apple-touch-fullscreen", content="yes")
meta(name="apple-mobile-web-app-capable", content="yes")
meta(name="apple-mobile-web-app-status-bar-style", content="black")
meta(name="viewport", content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0")
//meta(name="viewport", content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0")
meta(name="viewport", content="initial-scale=1.0, width=device-width")
body
block top
.container-fluid
.row-fluid
#left-column.span3
block left-column
#main-column.span6
block main-column
#right-column.span3
block right-column
.container#main-body
block main-column
block left-column
block right-column
//- .row-fluid
//- #left-column.span3
//- block left-column
//- #main-column.span6
//- block main-column
//- #right-column.span3
//- block right-column
footer.footer
block footer
script(src='/vendor/jquery-1.9.0.min.js')

Chargement…
Annuler
Enregistrer