-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
126 lines (114 loc) · 3.56 KB
/
index.php
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properties -->
<title>Login Example - Semantic</title>
<link rel="stylesheet" type="text/css" href="components/reset.css">
<link rel="stylesheet" type="text/css" href="components/site.css">
<link rel="stylesheet" type="text/css" href="components/container.css">
<link rel="stylesheet" type="text/css" href="components/grid.css">
<link rel="stylesheet" type="text/css" href="components/header.css">
<link rel="stylesheet" type="text/css" href="components/image.css">
<link rel="stylesheet" type="text/css" href="components/menu.css">
<link rel="stylesheet" type="text/css" href="components/divider.css">
<link rel="stylesheet" type="text/css" href="components/segment.css">
<link rel="stylesheet" type="text/css" href="components/form.css">
<link rel="stylesheet" type="text/css" href="components/input.css">
<link rel="stylesheet" type="text/css" href="components/button.css">
<link rel="stylesheet" type="text/css" href="components/list.css">
<link rel="stylesheet" type="text/css" href="components/message.css">
<link rel="stylesheet" type="text/css" href="components/icon.css">
<script src="components/jquery.min.js"></script>
<script src="components/form.js"></script>
<script src="components/transition.js"></script>
<style type="text/css">
body {
background-color: #DADADA;
}
body > .grid {
height: 100%;
}
.image {
margin-top: -100px;
}
.column {
max-width: 450px;
}
</style>
<script>
$(document)
.ready(function() {
$('.ui.form')
.form({
fields: {
email: {
identifier : 'email',
rules: [
{
type : 'empty',
prompt : 'Please enter your e-mail'
},
{
type : 'email',
prompt : 'Please enter a valid e-mail'
}
]
},
password: {
identifier : 'password',
rules: [
{
type : 'empty',
prompt : 'Please enter your password'
},
{
type : 'length[6]',
prompt : 'Your password must be at least 6 characters'
}
]
}
}
})
;
})
;
</script>
</head>
<body>
<div class="ui middle aligned center aligned grid">
<div class="column">
<h2 class="ui teal image header">
<!--<img src="#" class="image">-->
<div class="content">
Sistema Ribeiro
</div>
</h2>
<form class="ui large form">
<div class="ui stacked segment">
<div class="field">
<div class="ui left icon input">
<i class="user icon"></i>
<input type="text" name="email" placeholder="E-mail">
</div>
</div>
<div class="field">
<div class="ui left icon input">
<i class="lock icon"></i>
<input type="password" name="password" placeholder="Senha">
</div>
</div>
<div class="ui fluid large teal submit button">Login</div>
</div>
<div class="ui error message"></div>
</form>
<div class="ui message">
<a href="#">Cadastre-se</a>
</div>
</div>
</div>
</body>
</html>