Skip to content
This repository was archived by the owner on Feb 23, 2023. It is now read-only.

Commit 8a5fbcc

Browse files
author
Nathan Shaaban
committed
init commit
0 parents  commit 8a5fbcc

File tree

93 files changed

+4116
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+4116
-0
lines changed

html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
public_html/

public_html/.htaccess

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
RewriteEngine On
2+
RewriteCond %{HTTPS} off
3+
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
4+
5+
6+
# DO NOT REMOVE THIS LINE AND THE LINES BELLOW SSL_REDIRECT:assignmentsmanager.com
7+
RewriteEngine on
8+
RewriteCond %{HTTPS} off
9+
RewriteCond %{HTTP_HOST} (www\.)?assignmentsmanager.com
10+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
11+
# DO NOT REMOVE THIS LINE AND THE LINES BELLOW SSL_REDIRECT:assignmentsmanager.com

public_html/css/MaterialIcons.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/* fallback */
2+
@font-face {
3+
font-family: 'Material Icons';
4+
font-style: normal;
5+
font-weight: 400;
6+
src: url("icons.woff2") format('woff2');
7+
}
8+
9+
.material-icons {
10+
font-family: 'Material Icons';
11+
font-weight: normal;
12+
font-style: normal;
13+
font-size: 24px;
14+
line-height: 1;
15+
letter-spacing: normal;
16+
text-transform: none;
17+
display: inline-block;
18+
white-space: nowrap;
19+
word-wrap: normal;
20+
direction: ltr;
21+
-moz-font-feature-settings: 'liga';
22+
-moz-osx-font-smoothing: grayscale;
23+
}

public_html/css/calendar.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
iframe.calendar{
2+
width:500px !important;
3+
height: 490px !important;
4+
padding:8px;
5+
}
6+
.mdl-menu li.mdl-menu__item .calendar{
7+
width:516px !important;
8+
height: 516px !important;
9+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#questions .mdl-grid{
2+
padding: 0px;
3+
}
4+
#questions .mdl-grid .mdl-cell{
5+
margin: 0px;
6+
}
7+
#questions .mdl-card__supporting-text #main-form.mdl-grid{
8+
padding: 8px;
9+
}
10+
#questions .mdl-card__supporting-text{
11+
padding-bottom:0px;
12+
}
13+
#questions .mdl-card__supporting-text #extra-form > .mdl-cell:last-of-type{
14+
padding-bottom:16px !important;
15+
}

public_html/css/icons.woff2

47.7 KB
Binary file not shown.

public_html/css/jumbotron.css

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
.jumbotronCap {
2+
width: calc(100% - 32px);
3+
text-align: center;
4+
bottom: 0;
5+
padding-left: 32px;
6+
}
7+
.jumbotronCapText {
8+
max-width: 800px;
9+
margin-left: 25%;
10+
padding: 24px;
11+
text-align: left;
12+
color: #fff;
13+
}
14+
.jumbotronCapText p {
15+
padding-top: 8px;
16+
color: #fff;
17+
}
18+
.jumbotronCapText a i {
19+
vertical-align: middle;
20+
}
21+
.jumbotronCapText a.mdl-button{
22+
position: relative;
23+
left: -16px;
24+
}
25+
@media (max-width: 839px) {
26+
.jumbotronCapText {
27+
margin-left: 0;
28+
padding: 16px;
29+
}
30+
}
31+
.jumbotron:first-of-type .mdl-grid{
32+
margin-top: 0px;
33+
}
34+
.jumbotron{
35+
background-image: url('https://placeholdit.imgix.net/~text?txtsize=33&txt=350%C3%97150&w=700&h=150');
36+
background-position: center;
37+
background-size: cover;
38+
background-repeat: no-repeat;
39+
background-color: #f1f1f1;
40+
width: 100%;
41+
height: auto;
42+
padding-bottom: 10px;
43+
position: relative;
44+
}
45+
.jumbotron .mdl-grid{
46+
height: 100%;
47+
align-content: flex-end;
48+
text-align: center;
49+
width: 85%;
50+
margin: 5px auto;
51+
}
52+
.jumbotron .mdl-grid h1.darkBackground{
53+
background-color: rgba(158,158,158,.75);
54+
width: 500px;
55+
margin: 5px auto;
56+
}
57+
.jumbotron .mdl-grid h1{
58+
color: #fafafa;
59+
position: relative;
60+
z-index: 1;
61+
}
62+
.jumbotron .mdl-grid [class*="mdl-cell--"]{
63+
align-self:flex-end;
64+
}
65+
@media only screen and (min-width: 250px){
66+
.jumbotron{
67+
height: 400px;
68+
}
69+
.main-contained {
70+
width: 95%;
71+
}
72+
}
73+
@media only screen and (min-width: 500px){
74+
.jumbotron{
75+
height: 475px;
76+
}
77+
.main-contained {
78+
width: 90%;
79+
}
80+
}
81+
@media only screen and (min-width: 1000px){
82+
.jumbotron{
83+
height: 550px;
84+
}
85+
.main-contained {
86+
width: 85%;
87+
}
88+
}
89+
/*
90+
example
91+
<div class="jumbotron" style="background-image: url('/img/Home-Jumb1.jpg')"></div>
92+
<div class="jumbotronCap" style="background-color: #263238">
93+
<div class="jumbotronCapText">
94+
<div class="mdl-typography--display-2 mdl-typography--font-thin">Title</div>
95+
<p class="mdl-typography--headline mdl-typography--font-thin">
96+
Description
97+
</p>
98+
<a href="BlogPage.php" class="mdl-button mdl-js-button mdl-button--accent mdl-js-ripple-effect" data-upgraded=",MaterialButton,MaterialRipple">
99+
Read More&nbsp;<i class="material-icons">chevron_right</i>
100+
<span class="mdl-button__ripple-container"><span class="mdl-ripple"></span></span></a>
101+
</div>
102+
</div>
103+
*/

public_html/css/main.css

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
.mdl-layout__drawer-button i.material-icons{
2+
padding:10px;
3+
}
4+
.page-content{
5+
min-height: calc(100% - 100px);
6+
}
7+
div.mdl-card{
8+
width:100%;
9+
}
10+
.mdl-layout__header .mdl-logo{
11+
height:75%;
12+
width:auto;
13+
margin: 8px;
14+
}
15+
.mdl-layout__header a.mdl-layout-title{
16+
color:inherit;
17+
text-decoration: inherit;
18+
}
19+
.mdl-layout__drawer{
20+
width:300px;
21+
transform: translateX(-300px);
22+
}
23+
.mdl-textfield{
24+
width:100%;
25+
}
26+
.recursive-input{
27+
width:calc(100% - 32px);
28+
}
29+
.mdl-menu__container{
30+
width: 100% !important;
31+
}
32+
.mdl-card__supporting-text{
33+
padding-top: 0px;
34+
}
35+
.disabled{
36+
color: rgba(0,0,0,.26) !important;
37+
cursor: default;
38+
background-color: transparent !important;
39+
}
40+
.mdl-radio{
41+
height: inherit;
42+
}
43+
.mdl-card__supporting-text{
44+
width: auto !important;
45+
}
46+
.mdl-progress{
47+
width: 100%;
48+
}
49+
.mdl-card{
50+
min-height: 0px !important;
51+
}
52+
.mdl-data-table th{
53+
max-width: 100%;
54+
white-space: normal;
55+
}
56+
.mdl-checkbox{
57+
height: auto;
58+
}
59+
.mdl-data-table td,.mdl-data-table th{
60+
text-align: left;
61+
}
62+
table .mdl-checkbox{
63+
height: 24px;
64+
}
65+
.mdl-card__menu-wide{
66+
width: 100%;
67+
top: 8px;
68+
position: absolute;
69+
}
70+
.mdl-card__menu-wide > :first-child {
71+
left:8px;
72+
position: absolute;
73+
}
74+
.mdl-card__menu-wide > :nth-child(2) {
75+
left:74px;
76+
position: absolute;
77+
}
78+
.mdl-card__menu-wide > :last-child {
79+
right:8px;
80+
position: absolute;
81+
}
82+
.mdl-card__supporting-text h5{
83+
margin:0px;
84+
}
85+
.MJXc-display{
86+
display: inline !important;
87+
margin: 0px !important;
88+
}
89+
.mdl-card__title-text *{
90+
display:contents;
91+
}
92+
.mdl-card__title-text .mdl-chip *{
93+
display:inline-block;
94+
}
95+
.mdl-card__title-text .mdl-chip{
96+
display:block;
97+
}
98+
.mdl-card__title-text strong{
99+
padding: 0px 4px;
100+
font-weight: 900;
101+
}

public_html/css/material.min.css

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public_html/demo.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
if(isset($_GET["reset"])){
3+
session_unset();
4+
session_destroy();
5+
session_write_close();
6+
setcookie(session_name(),'',0,'/');
7+
session_regenerate_id(true);
8+
} else {
9+
if(isset($_COOKIE["demo"])&&$_COOKIE["demo"]){
10+
setcookie ("demo","");
11+
} else {
12+
setcookie ("demo","true");
13+
}
14+
}
15+
?>
16+
<meta http-equiv="refresh" content="0; url=../">

0 commit comments

Comments
 (0)