Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
divyanshugarg36 committed Oct 5, 2019
1 parent c9df8f3 commit 190ef7e
Show file tree
Hide file tree
Showing 7 changed files with 87 additions and 46 deletions.
1 change: 1 addition & 0 deletions addQuestion.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php include "./config.php"; ?>
<?php include "./session.php"; ?>
<!DOCTYPE html>
<html>

Expand Down
84 changes: 43 additions & 41 deletions entries.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,47 @@
<?php include "./session.php"; ?>
<!DOCTYPE html>
<html>
<head>
<title>Entries</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>

<head>
<title>Entries</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">
<!-- right-side -->
<h3>Entries</h3>
<table>
<tr>
<th>Name</th>
<th>Department</th>
<th>Email</th>
</tr>
<tr>
<td>Demo</td>
<td>Demo</td>
<td>demo</td>
</tr>

</table>

<!-- End right-side -->
<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>
<div class="right-side">
<!-- right-side -->
<h3>Entries</h3>
<table>
<tr>
<th>Name</th>
<th>Department</th>
<th>Email</th>
</tr>
<tr>
<td>Demo</td>
<td>Demo</td>
<td>demo</td>
</tr>

</table>

<!-- End right-side -->
<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>
Binary file added green2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion login.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php include 'config.php' ?>
<?php include "./config.php"; ?>
<html>

<head>
Expand Down
2 changes: 1 addition & 1 deletion logout.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
session_start();
session_destroy();
?>
header("location: index.php");
5 changes: 2 additions & 3 deletions session.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
if (!isset($_SESSION["userName"])){
header("location: login.php");
if (!isset($_SESSION["userName"])) {
header("location: startup.php");
}
?>
39 changes: 39 additions & 0 deletions startup.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>

<head>

<style>
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Raleway&display=swap');
body {
overflow: hidden;
margin: 0;
}
.flex-container {
display: flex;
}
</style>
</head>

<body style="background-image: url('green2.jpg');background-size:1380px 700px;background-repeat: no-repeat;">
<div style="justify-content:flex-end;margin:3%" class="flex-container">
<a href="login.php">
<a href="./login.php" style="background-color:#63bc9a;font-size:1rem;color:white;text-decoration: none;float:right;border: none; padding: 12px 28px; text-align: center;display: inline-block;border-radius: 4px;box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2)">
LOGIN
</a>
</a>
</div>
<div style=" justify-content: center;margin:10% 10% 0% 10%" class="flex-container">
<p style="text-align:center;color:white;font-family: arial;font-size: 400%;">QUESTION PAPER - OVER TO AIR</p>
</div>
<p style="text-align:center;color:white;font-family: 'Raleway', sans-serif;font-size: 200%;margin:-10px">A new way of conducting examinations!</p>
</body>

</html>

0 comments on commit 190ef7e

Please sign in to comment.