-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
106 lines (92 loc) · 3.59 KB
/
index.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>الدخول الموحد | المجلس الأعلى للقضاء</title>
<!-- Shortcut Icon -->
<link rel="shortcut icon" href="images/favicon.png">
<meta name="description" content="المجلس الأعلى للقضاء">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link href="css/font-awesome.min.css" rel="stylesheet">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style-ar.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
<script src="https://www.google.com/recaptcha/api.js?render=_reCAPTCHA_site_key"></script>
</head>
<body>
<div class="blurred-box">
<div class="user-login-box">
<span class="user-icon"></span>
<div class="sys-name">نظـــام الجلســـــات</div>
<form class="form-signin" id="form1">
<div class="form-group">
<input id="Email" type="text" class="form-control" name="Email" placeholder="اسم المستخدم" required />
</div>
<div class="form-group">
<input id="password" class="form-control" name="password" placeholder="كلمة المرور" required/>
</div>
<div class="captcha"><div class="handle">تم التأكيد بنجاح</div>فضلا قم بالسحب لتأكيد تسجيل الدخول</div>
<!-- ReCaptcha Google
<div class="form-group">
<div class="g-recaptcha" data-sitekey="6Ldx3L0UAAAAABPdtuyunm9l7omblkErwo1-vUPE" data-callback="verifyRecaptchaCallback" data-expired-callback="expiredRecaptchaCallback"></div>
<input class="form-control d-none" data-recaptcha="true" required data-error="أكمل التحقق">
<div class="help-block with-errors"></div>
</div>-->
<button id="Submit" class="btn btn-lg btn-primary btn-block" type="Submit">تسجيل الدخول</button>
</form>
</div>
</div>
</body>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/cap.js"></script>
<script src="js/jquery.validate.js"></script>
<script src="js/bootstrap.js"></script>
<script>
$( document ).ready(function() {
console.log( "ready!" );
jQuery.validator.setDefaults({
debug: true,
success: "valid"
});
$('#form1').validate({
rules:{
Email:
{
required:true,
email:true
},
password:
{
required:true,
minlength:3,
maxlength:10
},
password_again:{
equalTo:"#password"
}
},
highlight: function(element) {
$(element).closest('.form-group').addClass('has-error');
},
unhighlight: function(element) {
$(element).closest('.form-group').removeClass('has-error');
},
errorElement: 'span',
errorClass: 'help-block',
errorPlacement: function(error, element) {
if(element.parent('.form-control').length) {
error.insertAfter(element.parent());
} else {
error.insertAfter(element);
}
}
})
});
</script>
</html>