-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f837da6
Showing
22 changed files
with
2,133 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
create table Mess_Details( | ||
Mess_Id integer PRIMARY KEY, | ||
Mess_Name varchar(30), | ||
Allocated integer, | ||
Capacity integer | ||
); | ||
|
||
create table Mess_Manager( | ||
Manager_Id varchar(9) PRIMARY KEY, | ||
Manager_Name varchar(40), | ||
Mess_Id integer, | ||
foreign key (Mess_Id) references Mess_Details(Mess_Id) on update cascade on delete cascade | ||
); | ||
|
||
create table Student( | ||
Student_Name varchar(50) NOT NULL, | ||
Roll_No varchar(9) PRIMARY KEY, | ||
email varchar(50) NOT NULL, | ||
Mess_Id integer, | ||
Hostel_Id integer, | ||
Ref_Id varchar(20), | ||
foreign key (Hostel_Id) references Hostel_Details(Hostel_Id) on update cascade on delete cascade, | ||
foreign key (Mess_Id) references Mess_Details(Mess_Id) on update cascade on delete cascade | ||
); | ||
|
||
CREATE TABLE Hostel_Warden ( | ||
Warden_Id varchar(9) PRIMARY KEY, | ||
Warden_Name varchar(50), | ||
Hostel_Id integer, | ||
foreign key (Hostel_Id) references Hostel_Details(Hostel_Id) on update cascade on delete cascade | ||
); | ||
|
||
CREATE TABLE Hostel_Details( | ||
Hostel_Id integer NOT NULL PRIMARY KEY, | ||
Hostel_Name varchar(30) NOT NULL | ||
); | ||
|
||
CREATE TABLE Login_Creds( | ||
LC_Name varchar(30) NOT NULL, | ||
Username varchar(20) NOT NULL PRIMARY KEY, | ||
Passcode varchar(30) NOT NULL UNIQUE | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
h1 { | ||
border: 2px #eee solid; | ||
color: brown; | ||
text-align: center; | ||
padding: 10px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,247 @@ | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
background: url(../img/mess.jpg) no-repeat 0px -60px; | ||
min-height: 100vh; | ||
background-size: cover; | ||
font-family: 'Raleway', sans-serif; | ||
} | ||
|
||
img { | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
width: 10%; | ||
transform: translate(0%, 40%); | ||
} | ||
|
||
h1 { | ||
margin: 0; | ||
color: #ffffff; | ||
text-align: center; | ||
font-size: 50px; | ||
font-weight: 500; | ||
letter-spacing: 2px; | ||
padding: 50px 0; | ||
right: 50%; | ||
bottom: 50%; | ||
transform: translate(50%, 50%); | ||
position: absolute; | ||
|
||
} | ||
|
||
h2 { | ||
margin: 0; | ||
color: #fc3955; | ||
font-size: 25px; | ||
font-weight: 400; | ||
text-align: center; | ||
letter-spacing: 1px; | ||
padding-bottom: 30px; | ||
} | ||
|
||
p.w3l-register-p { | ||
color: #eee; | ||
font-size: 13px; | ||
text-align: center; | ||
margin-top: 2em; | ||
} | ||
|
||
.w3l-login-form { | ||
background: rgba(0, 0, 0, 0.6117647058823529); | ||
max-width: 500px; | ||
margin: 0 auto; | ||
padding: 3em; | ||
border-radius: 10px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.group { | ||
display: flex; | ||
padding: 15px 5px; | ||
background-color: #ffffff; | ||
} | ||
|
||
.group i { | ||
color: #fc3955; | ||
font-size: 20px; | ||
padding: 0 10px; | ||
} | ||
|
||
.w3l-form-group { | ||
margin: 20px 0; | ||
} | ||
|
||
.w3l-form-group label { | ||
display: block; | ||
text-transform: uppercase; | ||
font-size: 13px; | ||
color: #d2d2d2; | ||
letter-spacing: 2px; | ||
margin-bottom: 10px; | ||
font-style: italic; | ||
} | ||
|
||
input[type="text"], | ||
input[type="password"] { | ||
width: 100%; | ||
border: none; | ||
box-sizing: border-box; | ||
background: transparent; | ||
color: #000; | ||
} | ||
|
||
input[type="text"]:focus, | ||
input[type="password"]:focus { | ||
outline: none; | ||
} | ||
|
||
button { | ||
background: #fc3955; | ||
color: #ffffff; | ||
font-size: 13px; | ||
text-transform: uppercase; | ||
letter-spacing: 1px; | ||
border: none; | ||
padding: 12px 60px; | ||
cursor: pointer; | ||
width: 100%; | ||
border-radius: 6px; | ||
} | ||
|
||
button:hover { | ||
background-color: #00BCD4; | ||
transition-duration: 5s; | ||
} | ||
|
||
.forgot { | ||
display: flex; | ||
justify-content: space-between; | ||
margin: 20px 0; | ||
} | ||
|
||
a { | ||
color: #eee; | ||
font-size: 14px; | ||
text-decoration: none; | ||
} | ||
|
||
.forgot p { | ||
color: #ffffff; | ||
text-align: center; | ||
margin: 0px; | ||
font-size: 13px; | ||
} | ||
|
||
.register { | ||
color: #00BCD4; | ||
text-decoration: none; | ||
} | ||
|
||
/*--footer--*/ | ||
|
||
p.copyright-agileinfo { | ||
font-size: 15px; | ||
letter-spacing: 2px; | ||
color: #fff; | ||
font-weight: 300; | ||
} | ||
|
||
footer p a { | ||
display: inline-block; | ||
color: #fff; | ||
text-decoration: underline; | ||
} | ||
|
||
footer p a:hover { | ||
color: #fff; | ||
text-decoration: none; | ||
-webkit-transition: 0.5s all; | ||
-o-transition: 0.5s all; | ||
-moz-transition: 0.5s all; | ||
-ms-transition: 0.5s all; | ||
transition: 0.5s all; | ||
} | ||
|
||
footer { | ||
padding: 4em 0; | ||
text-align: center; | ||
} | ||
|
||
/*--//footer--*/ | ||
|
||
/*-- /responsive design --*/ | ||
|
||
@media(max-width:768px) { | ||
h1 { | ||
font-size: 47px; | ||
} | ||
} | ||
|
||
@media(max-width:667px) { | ||
h1 { | ||
font-size: 45px; | ||
} | ||
} | ||
|
||
@media(max-width:640px) { | ||
p.copyright-agileinfo { | ||
letter-spacing: 1px; | ||
} | ||
|
||
h1 { | ||
font-size: 43px; | ||
} | ||
} | ||
|
||
@media(max-width:568px) { | ||
h1 { | ||
font-size: 40px; | ||
} | ||
|
||
p.copyright-agileinfo { | ||
font-size: 14px; | ||
} | ||
} | ||
|
||
@media(max-width:480px) { | ||
.w3l-login-form { | ||
margin: 0 3vw; | ||
} | ||
|
||
h1 { | ||
font-size: 38px; | ||
} | ||
|
||
p.copyright-agileinfo { | ||
line-height: 1.8em; | ||
} | ||
} | ||
|
||
@media(max-width:414px) { | ||
h1 { | ||
font-size: 34px; | ||
} | ||
} | ||
|
||
@media(max-width:384px) { | ||
h1 { | ||
font-size: 30px; | ||
} | ||
} | ||
|
||
@media(max-width:320px) { | ||
h1 { | ||
font-size: 25px; | ||
} | ||
|
||
.forgot p { | ||
text-align: left; | ||
} | ||
|
||
.forgot { | ||
display: block; | ||
} | ||
} | ||
|
||
/*-- /responsive design --*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.divider:after, | ||
.divider:before { | ||
content: ""; | ||
flex: 1; | ||
height: 1px; | ||
background: #eee; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.form-white.input-group>.form-control:focus { | ||
border-color: #fff; | ||
box-shadow: inset 0 0 0 1px #fff; | ||
} | ||
|
||
.navbar-dark .navbar-nav .nav-link { | ||
color: #fff; | ||
} | ||
|
||
.navbar-dark .navbar-nav .nav-link:hover, | ||
.navbar-dark .navbar-nav .nav-link:focus { | ||
color: rgba(255, 255, 255, 0.75); | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.