changed and added files (#5)

* grevious.jpg mfalcon.jpg

added backgrounds for changepassword.php and form_login.php

* modified changepassword.php and form_login.php

Added code for backgrounds and modified text for visibility to changepassword.php and form_login.php

* Update changepassword.php

Keep the <style> in the <head> and the <center> in the <body>

* Update form_login.php

Keep the <style> in the <head>

Co-authored-by: Tekaoh <45337851+Tekaoh@users.noreply.github.com>
This commit is contained in:
Bandit42
2020-07-06 06:21:07 -07:00
committed by GitHub
parent e41c456007
commit c59920651c
4 changed files with 137 additions and 5 deletions

View File

@@ -9,12 +9,78 @@
<head>
<meta name = "viewport" content = "width = device-width, initial-scale = 1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<title>Change Password</title>
<style>
div.container {
width: 90%;
border: none;
}
header, footer {
padding: 1em;
color: white;
background-color: none;
clear: left;
text-align: center;
}
nav {
float: left;
max-width: 160px;
margin: 0;
padding: 1em;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul a {
text-decoration: none;
}
article {
margin-left: 170px;
border-left: none;
padding: 1em;
overflow: hidden;
}
body {
background-color: black;
background-image: url("/images/grevious.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: orange;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<body>
<center>
<form action='post_changepassword.php' method='post' border='0'>
<table>
<tr>
<td>Username</td>
<td><b><p style="color:white;">Username</p></b></td>
<td><select name="username">
<?php
include 'includes/db_connect.php';
@@ -40,7 +106,7 @@
</select></td>
</tr>
<tr>
<td>New Password</td>
<td><b><p style="color:white;">New Password</p></b></td>
<td><input id='realpassword' type='realpassword' name='password' /></td>
</tr>
<tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr><tr></tr>
@@ -53,5 +119,6 @@
</tr>
</table>
</form>
</center>
</body>
</html>

View File

@@ -5,12 +5,77 @@ session_start();
<title>SWG:Source | Login</title>
<meta name = "viewport" content = "width = device-width">
<meta name = "viewport" content = "initial-scale = 1.0">
<style>
div.container {
width: 90%;
border: none;
}
header, footer {
padding: 1em;
color: white;
background-color: none;
clear: left;
text-align: center;
}
nav {
float: left;
max-width: 160px;
margin: 0;
padding: 1em;
}
nav ul {
list-style-type: none;
padding: 0;
}
nav ul a {
text-decoration: none;
}
article {
margin-left: 170px;
border-left: none;
padding: 1em;
overflow: hidden;
}
body {
background-color: black;
background-image: url("/images/mfalcon.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: orange;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<center><img src="images/swgsource.png" alt="" width=200/></center>
<form method="post" action="post_login.php">
<center><p>Username: <input name="username" type="text"></p>
<p>Password: <input name="password" type="password"></p>
<center><b><p style="color:white;">Username: <input name="username" type="text"></p></b>
<b><p style="color:white;">Password: <input name="password" type="password"></p></b>
<input name="submit" type="submit" value="Submit"></center>
</form>
</body>

BIN
html/images/grevious.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

BIN
html/images/mfalcon.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 621 KiB