Advertisement
Guest User

phpstorm

a guest
Sep 8th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. register:
  2.  
  3.  
  4. <!DOCTYPE html>
  5. <html>
  6. <head>
  7. <link rel="stylesheet" type="text/css" media="screen" href="/assets/css/styles.css" />
  8. {% block css %}{% endblock %}
  9. {% block head_js %}{% endblock %}
  10. </head>
  11. <body class="blank-page sb-l-o sb-r-c onload-check">
  12. <div id="main">
  13. <section id="content_wrapper">
  14. {{ form_start(form) }}
  15.  
  16. {{ form_row(form.username) }}
  17. {{ form_row(form.password) }}
  18.  
  19. <button type="submit">REGISTER</button>
  20.  
  21. {{ form_end(form) }}
  22.  
  23. </section>
  24. </div>
  25.  
  26. {% block javascript %}{% endblock %}
  27.  
  28. </body>
  29. </html>
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36. login:
  37.  
  38. <!DOCTYPE html>
  39. <html>
  40. <head>
  41. <link rel="stylesheet" type="text/css" media="screen" href="/assets/css/styles.css" />
  42. {% block css %}{% endblock %}
  43. {% block head_js %}{% endblock %}
  44. </head>
  45. <body class="blank-page sb-l-o sb-r-c onload-check">
  46. <div id="main">
  47. <section id="content_wrapper">
  48. {% if error %}
  49. <div>{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  50. {% endif %}
  51.  
  52. <form action="{{ path('login_check') }}" method="post">
  53. <label for="username">Username:</label>
  54. <input type="text" id="username" name="_username" value="{{ last_username }}" />
  55.  
  56. <label for="password">Password:</label>
  57. <input type="password" id="password" name="_password" />
  58.  
  59. <button type="submit">login</button>
  60. </form>
  61.  
  62. <a href="{{ path('register') }}">Register</a>
  63. </section>
  64. </div>
  65.  
  66. {% block javascript %}{% endblock %}
  67.  
  68. </body>
  69. </html>
  70.  
  71.  
  72.  
  73.  
  74. css:
  75.  
  76.  
  77. body
  78. {
  79. background-color: black;
  80. }
  81.  
  82. div {
  83. height: 50px;
  84. width: 200px;
  85. background-color: white;
  86. margin: auto;
  87. text-align: center;
  88. /*vertical-align: middle;
  89. position:absolute;
  90. margin-top: -200px;
  91. top: 50%;
  92. KURWA*/
  93. }
  94.  
  95. a
  96. {
  97. text-decoration: none;
  98. color: #FFFFFF;
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement