From 7c36f93436bb96b2a9dd5efb06d14b70b1213e13 Mon Sep 17 00:00:00 2001 From: Polonkai Gergely Date: Mon, 23 Jul 2012 16:14:52 +0200 Subject: [PATCH] Created a login box --- app/Resources/views/main_template.html.twig | 26 +++++++++++++++++++++ web/css/kekrozsak_front.css | 22 +++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app/Resources/views/main_template.html.twig b/app/Resources/views/main_template.html.twig index 6c81703..560b604 100644 --- a/app/Resources/views/main_template.html.twig +++ b/app/Resources/views/main_template.html.twig @@ -39,6 +39,19 @@
Profil szerkesztése
+{% else %} +
+ Bejelentkezés +
+
+
+ Felhasználónév:
+ Jelszó:
+ +
+
+
+
{% endif %} {% block bottomscripts %}{% endblock %} diff --git a/web/css/kekrozsak_front.css b/web/css/kekrozsak_front.css index f493756..4f35bc0 100644 --- a/web/css/kekrozsak_front.css +++ b/web/css/kekrozsak_front.css @@ -33,6 +33,11 @@ body { padding: 5px; } +#top-line #login-gomb { + float: left; + padding: 5px; +} + #top-line #profil-gomb { float: left; padding: 5px; @@ -69,6 +74,23 @@ body { right: 5px; } +#login-box { + position: fixed; + left: 5px; + top: 32px; + width: 300px; + height: 100px; + background-color: #c4d3ff; + border: 2px solid #152967; + color: #152967; + display: none; +} + +#login-belso { + position: relative; + padding: 5px; +} + #bottom-line { position: fixed; left: 0;