Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. <link rel="import" href="../paper-input/paper-input-decorator.html">
  2. <link rel="import" href="../core-input/core-input.html">
  3. <link rel="import" href="../paper-button/paper-button.html">
  4.  
  5. <polymer-element name="login-form">
  6.  
  7. <template>
  8. <style>
  9. :host {
  10. width: 100%;
  11. height: 100%;
  12. box-sizing: border-box;
  13. }
  14. section#section-login-form {
  15. padding: 16px;
  16. }
  17. paper-input-decorator {
  18. width: 100%;
  19. }
  20. </style>
  21. <section id="section-login-form" vertical layout start-justified end>
  22. <paper-input-decorator label="Username" floatinglabel error="This not empty" id="paper_input_name" layout vertical>
  23. <input id="input-username" placeholder="Username" name="log" is="core-input" type="text" required>
  24. </paper-input-decorator>
  25. <paper-input-decorator label="Password" floatinglabel error="This not empty" id="paper_input_pass" layout vertical>
  26. <input id="input-username" placeholder="Password" name="pwd" is="core-input" type="text" required>
  27. </paper-input-decorator>
  28. <paper-button id="paper_button">Log In</paper-button>
  29. </section>
  30. </template>
  31.  
  32. <script>
  33.  
  34. Polymer({
  35.  
  36. });
  37.  
  38. </script>
  39.  
  40. </polymer-element>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement