-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from divyanshugarg36/master
done
- Loading branch information
Showing
18 changed files
with
22,120 additions
and
0 deletions.
There are no files selected for viewing
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,121 @@ | ||
<html> | ||
<head> | ||
|
||
<title>Add User</title> | ||
<style type="text/css"> | ||
body { | ||
display: flex; | ||
min-height: 100vh; | ||
flex-direction: column; | ||
} | ||
main { | ||
flex: 1 0 auto; | ||
} | ||
body { | ||
background: #fff; | ||
} | ||
.container{ | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
display:flex; | ||
align-items: center; | ||
} | ||
</style> | ||
<link rel="stylesheet" type="text/css" href="css/materialize.min.css"> | ||
</head> | ||
<body> | ||
<!-- | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="section"></div> --> | ||
<main> | ||
<div class="container"> | ||
<div class="z-depth-3 y-depth-3 x-depth-3 grey green-text lighten-4 row" style="display: inline-block; width: 40%; padding: 0px 48px 0px 48px; border: 1px; margin-top: 10px; solid #EEE;"> | ||
<h3 style="color:#26a69a;margin-bottom:10%; ">Add User</h3> | ||
<i class="mdi-alert-error red-text"></i> | ||
<div> | ||
<div class='input-field col s12'> | ||
<input class='validate' type="text" name='sub_code' id='sub_code' required / style="padding:"> | ||
<label for='submit'>Submit</label> | ||
</div> | ||
</div> | ||
<div> | ||
<div class='input-field col s12'> | ||
<input class='validate' type="text" name='p_id' id='p_id' required /> | ||
<label for='p_id'>PaperID</label> | ||
</div> | ||
</div> | ||
<div> | ||
<div class='input-field col s12'> | ||
<input class='validate' type="text" name='max_marks' id='max_marks' required /> | ||
<label for='max_marks'>Max. Marks</label> | ||
</div> | ||
</div> | ||
<div> | ||
<div class='input-field col s12'> | ||
<input class='validate' type="number" name='sem' id='sem' required /> | ||
<label for='sem'>Semester</label> | ||
</div> | ||
</div> | ||
<div> | ||
<div class='input-field col s12'> | ||
<input class='validate' type="number" name='year' id='year' required /> | ||
<label for='year'>Year</label> | ||
</div> | ||
</div> | ||
<!-- </div> --> | ||
<div class='row' style="color:white;padding:10%;"> | ||
<button style="margin-left:50px;color:white;font-size: 1rem" type='submit' name='btn_add_ppr' class='col s7 btn btn-small white waves-effect z-depth-1 y-depth-1 teal lighten-1'>sign up</button></div> | ||
</div> | ||
</div> | ||
</main> | ||
</div> | ||
</div> | ||
<script type="text/javascript" src="js/materialize.min.js"></script> | ||
<script src="js/jquery-3.4.1.min.js"></script> | ||
</body> | ||
|
||
</html> |
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,8 @@ | ||
<?php | ||
session_start(); | ||
$conn = mysqli_connect("localhost","root","","hack"); | ||
if (mysqli_connect_errno()) | ||
{ | ||
echo "Failed to connect to MySQL: " . mysqli_connect_error(); | ||
} | ||
?> |
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,43 @@ | ||
<?php include "./config.php"; ?> | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Create Question Paper</title> | ||
<!--Import Google Icon Font--> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> | ||
<!--Import materialize.css--> | ||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/> | ||
<link rel="stylesheet" href="css/main.css"> | ||
|
||
<!--Let browser know website is optimized for mobile--> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> | ||
</head> | ||
|
||
<body> | ||
|
||
|
||
<?php include "./sidebar.php"; ?> | ||
|
||
|
||
<div class="right-side"> | ||
<h3>Create Question Paper</h3> | ||
<br> | ||
<form action=""> | ||
<label for="">Question</label> <input style="width: 60%; margin-right:45px;" type="text" name="Question_name"> | ||
<label for="">Marks</label> <input style="width:10%;" type="text" name="Marks"> <br> | ||
|
||
<button style="margin-top: 30px;" class="btn waves-effect waves-light" type="submit" name="action">Add Question | ||
<i class="material-icons right">send</i> | ||
</button> | ||
</form> | ||
<p></p> | ||
</div> | ||
|
||
<!--JavaScript at end of body for optimized loading--> | ||
<script type="text/javascript" src="js/materialize.min.js"></script> | ||
|
||
<!-- jQuery CDN --> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | ||
</body> | ||
</html> | ||
|
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,67 @@ | ||
/* Write your CSS Code Here */ | ||
|
||
|
||
body{ | ||
font-family: 'Open Sans', sans-serif; | ||
} | ||
|
||
aside { | ||
height: 1080px; | ||
background-color: #F0F0F0; | ||
width: 20%; | ||
position: fixed; | ||
/* border: solid 1px; */ | ||
} | ||
|
||
.top-div-aside img { | ||
border-radius: 50%; | ||
width: 35%; | ||
} | ||
|
||
.top-div-aside{ | ||
padding: 10px;; | ||
/* border: solid 1px; */ | ||
/* height: 150px; */ | ||
/* text-align: center; */ | ||
/* font-weight: 400; */ | ||
padding-left: 10%; | ||
} | ||
|
||
.top-div-aside p { | ||
font-size: 18px; | ||
margin: 0px 0px 0px 10px; | ||
} | ||
|
||
.right-side { | ||
/* border: solid 1px; */ | ||
margin-left: 20%; | ||
/* position: fixed; */ | ||
padding: 20px 10px 10px 30px; | ||
} | ||
|
||
.grid-container { | ||
padding: 10px 20px; | ||
border-radius: 10px; | ||
background-color: #F0F0F0; | ||
display: grid; | ||
grid-template-columns: 50% 50%; | ||
} | ||
|
||
.change-info { | ||
margin-top: 70px; | ||
} | ||
|
||
|
||
|
||
/* Login Page Styling */ | ||
|
||
.flexbox-center { | ||
display: flex; | ||
justify-content: center; | ||
background-color: #F0F0F0; | ||
margin: 10px 0px; | ||
height: 50px; | ||
/* line-height: 1% !important; */ | ||
} | ||
|
||
/* Login Page Styling */ |
Oops, something went wrong.