PluginProbe
School Management System – WPSchoolPress / 2.2.43
School Management System – WPSchoolPress v2.2.43
2.2.48 2.2.47 2.2.46 2.2.45 2.2.44 2.2.43 2.2.42 2.2.41 2.2.40 2.2.39 2.2.38 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 All 103 releases
wpschoolpress / includes / wpsp-login.php

wpsp-login.php in School Management System – WPSchoolPress 2.2.43, at includes/wpsp-login.php

128 lines 3.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <style>
2 @import url(https://fonts.googleapis.com/css?family=Roboto:300);
3
4 .login-page {
5 width: 360px;
6 padding: 5% 0 0;
7 margin: auto;
8 }
9
10 .form {
11 position: relative;
12 z-index: 1;
13 background: #FFFFFF;
14 max-width: 360px;
15 margin: 0 auto 10px;
16 padding: 25px 35px 35px 35px;
17 }
18
19 .form input {
20 font-family: "Roboto", sans-serif;
21 outline: 0;
22 background: #f2f2f2;
23 width: 100%;
24 border: 0;
25 margin: 0 0 15px;
26 padding: 12px;
27 box-sizing: border-box;
28 font-size: 14px;
29 }
30
31 .form button {
32 font-family: "Roboto", sans-serif;
33 text-transform: uppercase;
34 outline: 0;
35 background: #3c8dbc;
36 width: 100%;
37 border: 0;
38 padding: 15px;
39 color: #FFFFFF;
40 font-size: 14px;
41 cursor: pointer;
42 }
43
44 .form button:hover,
45 .form button:active,
46 .form button:focus {
47 background: #337ab7;
48 }
49
50 .form .message {
51 margin: 15px 0 0;
52 color: #b3b3b3;
53 font-size: 12px;
54 }
55
56 .form .message a {
57 color: #b3b3b3;
58 text-decoration: none;
59 }
60
61 .reference {
62 font-family: "Roboto", sans-serif;
63 text-align: center;
64 color: #b3b3b3;
65 font-size: 12px;
66 }
67
68 .reference a {
69 color: #b3b3b3;
70 text-decoration: none;
71 }
72
73 body {
74 background: #ecf0f5;
75 /* fallback for old browsers */
76 }
77
78 .logo {
79 -webkit-background-size: 84px;
80 background-size: 84px;
81 background-position: center top;
82 background-repeat: no-repeat;
83 color: #444;
84 height: 84px;
85 font-size: 20px;
86 line-height: 1.3em;
87 margin: 0 auto 15px;
88 padding: 0;
89 text-decoration: none;
90 width: 84px;
91 outline: 0;
92 display: block;
93 }
94
95 .form label {
96 text-align: left !important;
97 font-weight: normal;
98 color: #72777c;
99 }
100
101 .left {
102 text-align: left;
103 }
104
105 .right {
106 text-align: right;
107 }
108 </style>
109 <?php if ( !defined( 'ABSPATH' ) ) exit;
110 global $current_user, $wpdb, $wpsp_settings_data,$post,$current_user_name;
111 $url = plugins_url( 'img/wpschoolpresslogo.jpg', dirname(__FILE__) );
112 $imglogo = isset( $wpsp_settings_data['sch_logo'] ) ? sanitize_text_field($wpsp_settings_data['sch_logo']) : sanitize_text_field($url);
113 ?>
114 <div class="login-page">
115 <div class="logo"><img src="<?php echo esc_url($imglogo) ;?>" height="84" width="84"></div>
116 <div class="form">
117 <form class="login-form" action="<?php echo esc_url(site_url())?>/wp-login.php" method="post">
118 <label><?php esc_html_e( 'Username or Email', 'wpschoolpress' );?></label>
119 <input type=" text" placeholder="username" name="log" id="user_login">
120 <label><?php esc_html_e( 'Password', 'wpschoolpress' ); ?></label>
121 <input type="password" placeholder="password" name="pwd" id="user_pass">
122 <button><?php esc_html_e( 'login', 'wpschoolpress'); ?></button>
123 <p class="message left"><a href="<?php echo esc_url(site_url()); ?>/wp-login.php?action=lostpassword"><?php esc_html_e( 'Forgot password?', 'wpschoolpress'); ?></a></p>
124 <p class="message right"><a href="<?php echo esc_url(site_url()); ?>/wp-login.php?action=register"><?php esc_html_e( "Register", "wpschoolpress" );?></a></p>
125 </form>
126 </div>
127 <p class="reference"><?php esc_html_e( 'Powered by', 'wpschoolpress'); ?><a href="http://wpschoolpress.com" title="school management system" target="_blank"><?php echo esc_html("WPSchoolPress","wpschoolpress");?></a></p>
128 </div>