-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsing-in.html
91 lines (86 loc) · 3.94 KB
/
sing-in.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sign-in</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="dist/css/root.min.css">
<!-- <link rel="stylesheet" href="css/theme.css">-->
<link rel="stylesheet" href="https://static.sodonsolution.org/fonts/fontawesome-free-5/css/all.min.css">
<link rel="stylesheet" href="https://static.sodonsolution.org/fonts/roboto/fonts.css">
<link rel="stylesheet" href="https://static.sodonsolution.org/fonts/roboto-condensed/fonts.css">
<link rel="stylesheet" href="https://static.sodonsolution.org/fonts/fontawesome-free-5/css/all.min.css">
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script><script src="./script.js"></script>
<script src="dist/js/root.min.js"></script>
</head>
<body>
<header></header>
<body>
<div class="container">
<div class="login-page">
<div class="form">
<div class="login-page__title">
<span>Нэвтрэх хуудас</span>
</div>
<div class="login-page__desc justify-content-center">
<span>Та нэвтрэнэ үү</span>
</div>
<form class="register-form">
<input type="text" placeholder="Нэр"/>
<input type="password" placeholder="Пассворд"/>
<input type="text" placeholder="Имэйл хаяг"/>
<button>Бүртгүүлэх</button>
<p class="message">Бүртгэлтэй бол? <a href="#">Нэвтэрж орох</a></p>
</form>
<form class="login-form">
<input type="text" placeholder="Нэвтрэх нэр"/>
<input type="password" placeholder="Пассворд"/>
<button>Нэвтрэх</button>
<p class="message">Бүртгэлгүй бол? <a href="#">Шинээр хаяг үүсгэх</a></p>
</form>
</div>
</div>
</div>
</body>
<footer></footer>
<script>
/** @code Sidebar text */
fetch('include/web-header.html').then(data=>{return data.text()}).then(data=>{document.querySelector("header").innerHTML = data})
/** @code Sidebar text */
fetch('include/sidebar-text.html').then(data=>{return data.text()}).then(data=>{document.getElementById("sidebarText").innerHTML = data})
/** @code Sidebar text */
fetch('include/footer.html').then(data=>{return data.text()}).then(data=>{document.querySelector("footer").innerHTML = data})
function seeMore(el) {
let p = el.parentElement.querySelector("p")
if (el.classList.contains("active")){
el.classList.remove("active");
p.style.maxHeight = '260px';
} else {
el.classList.add("active")
p.style.maxHeight = el.parentElement.querySelector("p").scrollHeight+'px'
}
}
</script><footer></footer>
<script>
/** @code Sidebar text */
fetch('include/web-header.html').then(data=>{return data.text()}).then(data=>{document.querySelector("header").innerHTML = data})
/** @code Sidebar text */
fetch('include/footer.html').then(data=>{return data.text()}).then(data=>{document.querySelector("footer").innerHTML = data})
function seeMore(el) {
let p = el.parentElement.querySelector("p")
if (el.classList.contains("active")){
el.classList.remove("active");
p.style.maxHeight = '260px';
} else {
el.classList.add("active")
p.style.maxHeight = el.parentElement.querySelector("p").scrollHeight+'px'
}
}
</script>
</body>
</html>
<script>
$('.message a').click(function(){
$('form').animate({height: "toggle", opacity: "toggle"}, "slow");
});
</script>