spuder

bootstrapper

Aug 3rd, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. html
  2.   head
  3.     title=title
  4.     link(href='//netdna.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css', rel='stylesheet')
  5.   body
  6.     //- nav.navbar.navbar-default.navbar-static-top
  7.     div.container
  8.       div.jumbotron
  9.         div.foo
  10.           each value, key in somedata
  11.             if key == 'id'
  12.               h1 #{value}
  13.             else
  14.               form(action='http://127.0.0.1:8081/process_get', method='GET')
  15.               label.col-sm-2.control-label(for='formGroupInputLarge') #{key}:
  16.               |
  17.               .col-sm-10
  18.                 input#formGroupInputLarge.form-control(type='text', name='#{key}', value='#{value}')
  19.         //- div.bar(style='margin-top:75px')
  20.         div.bar(style='margin-top:75px')
  21.  
  22.           //- p Changes will be pushed immedaiatly
  23.           //- button(type='submit') Submit
  24.           button.btn.btn-default.btn-lg(type='button')
  25.             span.glyphicon.glyphicon-refresh(ariea-hidden='true')
  26.               | Refresh
  27.           button.btn.btn-primary.btn-lg(type='submit')
  28.             span
  29.               | Submit
  30.  
  31.  
  32.       .alert.alert-success.alert-dismissible.fade.in(role='alert')
  33.         a.close(href='#', data-dismiss='alert', aria-label='Close') ×
  34.         |  
  35.         strong Success!
  36.         |  Indicates a successful or positive action.
Advertisement
Add Comment
Please, Sign In to add comment