- login page beautified
This commit is contained in:
parent
52de05e121
commit
a2c6ddabb3
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"rakibtg/sleekdb": "2.15",
|
"rakibtg/sleekdb": "2.15",
|
||||||
"ext-http": "*",
|
|
||||||
"ext-json": "*"
|
"ext-json": "*"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,8 +3,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>SpreadQuiz</title>
|
<title>SpreadQuiz</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=login.php" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?="asd" ?>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
12
login.php
12
login.php
@ -15,10 +15,16 @@ if (get_autologin_state()) {
|
|||||||
<title>SpreadQuiz :: Bejelentkezés</title>
|
<title>SpreadQuiz :: Bejelentkezés</title>
|
||||||
<script src="js/req.js"></script>
|
<script src="js/req.js"></script>
|
||||||
<script src="js/spreadquiz.js"></script>
|
<script src="js/spreadquiz.js"></script>
|
||||||
|
<link rel="stylesheet" href="style/spreadquiz.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body style="display: flex;left: 0;top: 0;right: 0;bottom: 0;position: fixed;align-items: center;justify-content: center;background-color: whitesmoke">
|
||||||
<input type="text" placeholder="Felhasználónév" id="nickname">
|
<section id="login_sec">
|
||||||
<input type="password" placeholder="Jelszó" id="password">
|
<section id="login_caption_sec">Bejelentkezés</section>
|
||||||
|
<section style="padding: 1em">
|
||||||
|
<input type="text" placeholder="Felhasználónév" id="nickname"><br>
|
||||||
|
<input type="password" placeholder="Jelszó" id="password"><br>
|
||||||
<input type="button" value="Belépés" onclick="login()">
|
<input type="button" value="Belépés" onclick="login()">
|
||||||
|
</section>
|
||||||
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -23,6 +23,29 @@ body {
|
|||||||
|
|
||||||
/* ----------------- */
|
/* ----------------- */
|
||||||
|
|
||||||
|
section#login_sec {
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #f8fbfb;
|
||||||
|
border: 2pt solid #176767;
|
||||||
|
box-shadow: 5px 5px #d3e5e5;
|
||||||
|
}
|
||||||
|
|
||||||
|
section#login_caption_sec {
|
||||||
|
padding: 1em;
|
||||||
|
background-color: #176767;
|
||||||
|
color: whitesmoke;
|
||||||
|
font-size: 1.5em;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
section#login_sec input {
|
||||||
|
font-size: 1.3em;
|
||||||
|
margin-bottom: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
section#screen_panel {
|
section#screen_panel {
|
||||||
display: block;
|
display: block;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user