Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Login ionic form</title>
- <link rel="stylesheet" type="text/css" href="http://code.ionicframework.com/1.0.0- beta.9/css/ionic.css">
- <meta name="viewport" content="width=device-width, user-scalable=no, minimal-ui">
- </head>
- <body>
- <div class="bar bar-header bar-stable">
- <h1 class="title">Welcome!</h1>
- </div>
- <div class="content has-header padding">
- <div class="list list-inset">
- <label class="item item-input">
- <input type="text" placeholder="Username">
- </label>
- <label class="item item-input">
- <input type="password" placeholder="Password">
- </label>
- </div>
- <button class="button button-block button-positive">
- Log In
- </button>
- <div class="row" align="center">
- <div class="col col-50"><button class="button button-light">Forgot Pass? </button></div>
- <div class="col col-50"><button class="button button-light"> Sign UP </button></div>
- </div>
- </div>
- </body>
- </html>
- !!!
- %html
- %head
- %title Login ionic form
- %link{href: "http://code.ionicframework.com/1.0.0-beta.9/css/ionic.css", rel: "stylesheet", type: "text/css"}/
- %meta{content: "width=device-width, user-scalable=no, minimal-ui", name: "viewport"}/
- %body
- .bar.bar-header.bar-stable
- %h1.title Welcome!
- .content.has-header.padding
- .list.list-inset
- %label.item.item-input
- %input{placeholder: "Username", type: "text"}/
- %label.item.item-input
- %input{placeholder: "Password", type: "password"}/
- %button.button.button-block.button-positive
- Log In
- .row{align: "center"}
- .col.col-50
- %button.button.button-light Forgot Pass?
- .col.col-50
- %button.button.button-light Sign UP
- %w[sinatra haml].each{|gem| require gem}
- get '/' do
- haml :index
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement