@@ -1,15 +1,11 @@
#imageContainer {
width: 100%;
background-image: url('/images/tennis.jpg');
background-position: center;
background-repeat: no-repeat;
height: 350px;
box-shadow: -1px 5px 8px 0px rgba(0,0,0,0.50);
#over{
display: inline-block;
position: relative;
top: 25%;
left: 13%;
font-size: 2em;
}
#createMatchButton {
@@ -29,152 +25,152 @@
width: 100%;
}
}
#upComing {
width: 80%;
margin: 2% 10%;
select {
font-size: 18px;
margin: 1em .5em .5em;
border: none;
padding: 8px 10px;
border-radius: 5px;
background-color: #e3e3e3;
}
#sportImage {
display: inline-block;
width: 23%;
margin: 1% 2%;
position: relative;
top: 2em;
img{
width: 100%;
}
}
a {
text-decoration: none;
color: black;
}
a:hover {
text-decoration: underline;
}
ul {
width: 100%;
padding: 0;
height: 18em;
background-color: white;
float: left;
}
li:nth-last-child(1){
margin-bottom:35px;
}
li {
list-style-type: none;
padding-bottom: 5px;
width: 20%;
}
h2 {
display: inline-block;
float: left;
margin-bottom: 0
}
.description {
display: inline-block;
font-size: 1em;
line-height: 1.7em;
width: 40%;
margin: 1% 2%;
position: relative;
bottom: 7em;
}
#skillProgress {
position: relative;
right: 15%;
bottom: 5em;
display: inline-block;
.skill{
width: 100%;
}
}
.players {
display: inline-block;
width: 40%;
margin-left: 5%;
position: relative;
left: 25%;
bottom: 5.5em;
text-decoration: none;
img {
border-radius: 100%;
width: 20%;
}
.name{
position: relative;
right: 17%;
top: 1em;
}
.empty{
opacity: 0.3;
border: 2px dashed black;
position: relative;
top: .3em;
}
}
#areaSearch {
display: inline-block;
}
#areaInput {
line-height: normal;
position: relative;
left: 15%;
bottom: 2.2em;
}
#submitArea {
position: relative;
bottom: 2.2em;
left: 18%;
}
#area {
position: relative;
bottom: 2.2em;
left: 20%;
}
#matchSubmit {
padding: .5em 1em;
background-color: #1e8880;
font-size: 1.2em;
border: none;
border-radius: 20px;
box-shadow: 1px 5px 8px 0px rgba(0, 0, 0, 0.5);
outline: none;
width: 4%;
display: inline-block;
margin: 3%;
position: relative;
left: 40%;
bottom: 10em;
a {
color: white;
}
}
#matchSubmit:active {
box-shadow: none;
}
.creatorName {
color: #00bfff;
}
.creatorName:hover {
text-decoration: underline;
}
.skill {
width: 300px;
}
#parkAnchor {
color: grey;
}
#next {
margin-bottom: 1em;
}
#prev {
margin-left: .5em;
}
}
// #upComing {
// width: 80%;
// margin: 2% 10%;
// select {
// font-size: 18px;
// margin: 1em .5em .5em;
// border: none;
// padding: 8px 10px;
// border-radius: 5px;
// background-color: #e3e3e3;
// }
// #sportImage {
// display: inline-block;
// width: 23%;
// margin: 1% 2%;
// position: relative;
// top: 2em;
// img{
// width: 100%;
// }
// }
// a {
// text-decoration: none;
// color: black;
// }
// a:hover {
// text-decoration: underline;
// }
// ul {
// width: 100%;
// padding: 0;
// height: 18em;
// background-color: white;
// float: left;
// }
// li:nth-last-child(1){
// margin-bottom:35px;
// }
// li {
// list-style-type: none;
// padding-bottom: 5px;
// width: 20%;
// }
// h2 {
// display: inline-block;
// float: left;
// margin-bottom: 0
// }
// .description {
// display: inline-block;
// font-size: 1em;
// line-height: 1.7em;
// width: 40%;
// margin: 1% 2%;
// position: relative;
// bottom: 7em;
// }
// #skillProgress {
// position: relative;
// right: 15%;
// bottom: 5em;
// display: inline-block;
// .skill{
// width: 100%;
// }
// }
// .players {
// display: inline-block;
// width: 40%;
// margin-left: 5%;
// position: relative;
// left: 25%;
// bottom: 5.5em;
// text-decoration: none;
// img {
// border-radius: 100%;
// width: 20%;
// }
// .name{
// position: relative;
// right: 17%;
// top: 1em;
// }
// .empty{
// opacity: 0.3;
// border: 2px dashed black;
// position: relative;
// top: .3em;
// }
// }
// #areaSearch {
// display: inline-block;
// }
// #areaInput {
// line-height: normal;
// position: relative;
// left: 15%;
// bottom: 2.2em;
// }
// #submitArea {
// position: relative;
// bottom: 2.2em;
// left: 18%;
// }
// #area {
// position: relative;
// bottom: 2.2em;
// left: 20%;
// }
// #matchSubmit {
// padding: .5em 1em;
// background-color: #1e8880;
// font-size: 1.2em;
// border: none;
// border-radius: 20px;
// box-shadow: 1px 5px 8px 0px rgba(0, 0, 0, 0.5);
// outline: none;
// width: 4%;
// display: inline-block;
// margin: 3%;
// position: relative;
// left: 40%;
// bottom: 10em;
// a {
// color: white;
// }
// }
// #matchSubmit:active {
// box-shadow: none;
// }
// .creatorName {
// color: #00bfff;
// }
// .creatorName:hover {
// text-decoration: underline;
// }
// .skill {
// width: 300px;
// }
// #parkAnchor {
// color: grey;
// }
// #next {
// margin-bottom: 1em;
// }
// #prev {
// margin-left: .5em;
// }
//}
BIN +446 KB (530%) images/tennis.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -8,7 +8,7 @@
<body>
<link href='https://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="./css/bootstrap/css/bootstrap.css">
<div class="row">
<div class="row" id="headerRow">
<div class="col-md-1">
<a class="logo" href="/"><img class="logo" src="../images/skill_match_trophy.png"></a>
</div>
@@ -24,17 +24,17 @@ <h1 id="title">Skill Match</h1>
</form>
</div>
</div>
<!-- <div id="container"></div>
<div id="footer">
<ul>
<li><a class="footerNav" href="/"> Home </a></li>
<li><a class="footerNav" href="/parks"> Parks </a></li>
<li><a class="footerNav" href="/createMatch"> Create Match </a></li>
<li><a class="footerNav" href="/signup"> Sign Up </a></li>
<li><a class="footerNav" href="/About Us"> About Us </a></li>
</ul>
</div> -->
<script type="text/javascript" src="/js/bundle.js"></script>
<div id="container"></div>
<div class="row">
<div class="col-md-12" id="footerRow">
<a class="footerNav" href="/"> Home </a>
<a class="footerNav" href="/parks"> Parks </a>
<a class="footerNav" href="/createMatch"> Create Match </a>
<a class="footerNav" href="/signup"> Sign Up </a>
<a class="footerNav" href="/About Us"> About Us </a>
</div>
</div>
<script type="text/javascript" src="/js/bundle.js"></script>
</body>

</html>
@@ -9939,7 +9939,7 @@


// module
exports.push([module.id, "body {\n background-color: #324053;\n font-family: 'Ubuntu', sans-serif;\n}\n#header {\n height: 6.5em;\n width: 100%;\n}\n#title {\n display: inline-block;\n color: white;\n position: absolute;\n top: .5em;\n }\n#logo {\n display: inline-block;\n width: 8%;\n margin-left: 2%;\n margin-top: 1%;\n }\n#logo img{\n height: 80px;\n width: 80px;\n }\n #nav{\n float: right;\n position: absolute;\n list-style: none;\n right: 7%;\n top: 1em;\n display: inline-block;\n }\n #nav a {\n font-size: 30px;\n color: white;\n text-decoration: none;\n }\n #nav a:hover {\n text-decoration: underline;\n }\n #nav #logout {\n font-size: 12px;\n margin-left: 5px;\n }\n#container {\n background-color: #f5f2ec;\n}\n#nav #signUp {\n font-size: 17px;\n float: right;\n position: relative;\n left: 18%;\n bottom: 1.5em;\n color: white;\n}\n\n#signUp:hover {\n text-decoration: underline;\n}\n\n#logout:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n\ninput {\n font-size: 15px;\n margin: 1em .5em .5em;\n border: none;\n width: 150px;\n padding: 8px 10px;\n border-radius: 5px;\n}\nbutton {\n margin-top: 1.5em;\n padding: 8px;\n background-color:#f5f2ec;\n border: none;\n border-radius: 10px;\n box-shadow: 1px 5px 8px 0px rgba(0,0,0,0.50);\n outline: none;\n}\nbutton:active {\n box-shadow: none;\n}\n.footerNav {\n font-size: 10px;\n color: white;\n text-decoration: none;\n margin-right: .5em;\n margin-left: .5em;\n}\n.footerNav ul {\n margin-bottom: 3em;\n\n}\n#footer li{\n display: inline-block;\n}\n#footer ul {\n padding-left: 75%;\n}\n#footer p {\n color: white;\n font-size: 8px;\n}", ""]);
exports.push([module.id, "* {\n font-family: 'Ubuntu', sans-serif;\n}\n.row {\n background-color: #324053;\n}\n.logo {\n width: 100%;\n margin: 20%;\n}\n#loginForm {\n padding: 0 7%;\n margin-top: 2.3em;\n margin-left: 1.2em;\n}\n#title {\n color: white;\n font-size: 2.5em;\n margin: 33px 0 0 15px;\n}\n#signUp {\n font-size: 17px;\n color: white;\n}\n#logout:hover {\n text-decoration: underline;\n cursor: pointer;\n}\ninput {\n font-size: 15px;\n margin: 1em .5em .5em;\n border: none;\n width: 150px;\n padding: 8px 10px;\n border-radius: 5px;\n}\nbutton {\n margin-top: 1.5em;\n padding: 8px;\n background-color:#f5f2ec;\n border: none;\n border-radius: 10px;\n box-shadow: 1px 5px 8px 0px rgba(0,0,0,0.50);\n outline: none;\n}\nbutton:active {\n box-shadow: none;\n}\n@media(max-width: 1450px){\n .logo {\n width: 100%;\n margin: 15%;\n}\n#loginForm {\n padding: 0 7%;\n margin-top: 2.5em;\n margin-left: 5.3em;\n}\n#title {\n color: white;\n font-size: 2em;\n margin: 45px 0 0 15px;\n}\n#signUp {\n font-size: 17px;\n color: white;\n}\n}\n\n@media(max-width: 400px){\n .logo {\n width: 50%;\n}\n#loginForm {\n padding: 0 7%;\n margin-top: 2.5em;\n margin-left: 5.3em;\n}\n#title {\n color: white;\n font-size: 2em;\n margin: 45px 0 0 15px;\n}\n#signUp {\n font-size: 17px;\n color: white;\n}\n}\n", ""]);

// exports

@@ -11061,8 +11061,8 @@
Cookie.set('token', token);
Cookie.set('uid', user_id);
Cookie.set('userName', user);
$('#nav').html(homeBtn);
$('#nav').append('<a id="logout"> Logout </a>');
$('#loginForm').html(homeBtn);
$('#loginForm').append('<a id="logout"> Logout </a>');
homeBtn.setAttribute('href', '/home/'+username);
if (document.URL == 'http://localhost:8080/') {
router.navigate('/home/' + username , {trigger:true})
@@ -5,7 +5,7 @@
<button id="createMatchButton" type="submit">Create Match</button>
</div>
</div>
<div id="upComing">
<!-- <div id="upComing">
<div id="filter">
<select id="sport">
<option>Filter Sport</option>
@@ -53,4 +53,4 @@ <h2>Open Matches</h2> {{#data}} {{#is_open}}
<div id="pagination">
<button id="prev">Prev</button>
<button id="next">Next</button>
</div>
</div> -->