Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>Login ionic form</title>
  4. <link rel="stylesheet" type="text/css" href="http://code.ionicframework.com/1.0.0- beta.9/css/ionic.css">
  5. <meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
  6. </head>
  7. <body>
  8. <div class="bar bar-header bar-stable">
  9. <h1 class="title">Welcome!</h1>
  10. </div>
  11. <div class="content has-header padding">
  12. <div class="list list-inset">
  13. <label class="item item-input">
  14. <input type="text" placeholder="Username">
  15. </label>
  16. <label class="item item-input">
  17. <input type="password" placeholder="Password">
  18. </label>
  19. </div>
  20. <button class="button button-block button-positive">
  21. Log In
  22. </button>
  23. <div class="row" align="center">
  24. <div class="col col-50"><button class="button button-light">Forgot Pass? </button></div>
  25. <div class="col col-50"><button class="button button-light">&nbsp;&nbsp;&nbsp;&nbsp;Sign UP&nbsp;&nbsp;&nbsp;&nbsp;</button></div>
  26. </div>
  27. </div>
  28. </body>
  29. </html>
  30.  
  31. !!!
  32. %html
  33. %head
  34. %title Login ionic form
  35. %link{href: "http://code.ionicframework.com/1.0.0-beta.9/css/ionic.css", rel: "stylesheet", type: "text/css"}/
  36. %meta{content: "width=device-width, user-scalable=no, minimal-ui", name: "viewport"}/
  37. %body
  38. .bar.bar-header.bar-stable
  39. %h1.title Welcome!
  40. .content.has-header.padding
  41. .list.list-inset
  42. %label.item.item-input
  43. %input{placeholder: "Username", type: "text"}/
  44. %label.item.item-input
  45. %input{placeholder: "Password", type: "password"}/
  46. %button.button.button-block.button-positive
  47. Log In
  48. .row{align: "center"}
  49. .col.col-50
  50. %button.button.button-light Forgot Pass?
  51. .col.col-50
  52. %button.button.button-light     Sign UP    
  53.  
  54. %w[sinatra haml].each{|gem| require gem}
  55.  
  56. get '/' do
  57. haml :index
  58. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement