Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jborak/charityspotter
Browse files Browse the repository at this point in the history
  • Loading branch information
codeledger committed Nov 8, 2015
2 parents a78ff77 + 5cc5709 commit 0a4fd37
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 14 deletions.
19 changes: 10 additions & 9 deletions appengine/frontend/collector.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@
} else {
console.log("Authenticated successfully with payload:", authData);
$("#user").html('<img src="' + authData.facebook.profileImageURL + '">');
}
$( ".logging" ).replaceWith( "<a>Logout</a>" );}
});
}

</script>




<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down Expand Up @@ -71,7 +67,7 @@
</head>

<body id="page-top">
<div id="user"></div>

<nav id="mainNav" class="navbar navbar-primary navbar-fixed-top">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
Expand Down Expand Up @@ -110,14 +106,19 @@
<h1>Collector</h1>
</div>

<ul>
<ul> <div class= "logging">
<a href="#" id="fblogin" class="btn btn-collector btn-lg" style="margin: 50px"><i class="#"></i> <span class="network-name">Login</span></a>

</div>
</ul>
<div class="row">
<div class="col-lg-4 col-lg-offset-4 text-center">

</div>
</div>
</div>

<!-- <div class="container" style="margin: 100px"><a href="#" id="fblogin">FB Login</a></div>-->

<center><div id="user" style="padding: 20px"></div></center>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
Expand Down
15 changes: 14 additions & 1 deletion appengine/frontend/css/new-collection.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ h6 {
font-weight: 400;
}

#explore-header {
color: #eb3812;
font-size: 2.4em;
text-align: left;
}

.new-col-header {
padding-top: 50px; /* If you're making other pages, make sure there is 50px of padding to make sure the navbar doesn't overlap content! */
padding-bottom: 10px;
Expand All @@ -45,7 +51,7 @@ h6 {
margin-top: 5px;
margin-left: auto;
margin-right: auto;
height: 60px;
height: 225px;
text-align: center;
border-radius: 2px;
}
Expand All @@ -62,4 +68,11 @@ form a {
font-size: 1.1em;
}

#name-bar {
width: 500px;
margin-left: 2em;
margin-right: 1em;
}



Binary file added appengine/frontend/demo/unknown.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added appengine/frontend/demo/unknown.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 27 additions & 4 deletions appengine/frontend/new-collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ <h1>Collections</h1>
<div class="row">
<div class="col-lg-8 col-lg-offset-2 text-center">
<hr class="light">
<br/><br/>
<br/>
<p id='explore-header'>Create a new collection event</p>
<br/>
</div>
</div>
</div>
Expand All @@ -91,17 +93,38 @@ <h1>Collections</h1>
<div class='search-container'>
<form class="navbar-form navbar-left" role="search">
<div class="form-group">
<a>Search for tags, objects or even specific IDs:</a>
<input type="text" class="form-control" id="search-bar" placeholder="Search">
<a>Collection Event ID:</a>
<input type="text" class="form-control" id="name-bar" placeholder="My-collection">
</br>
</div>
<button type="submit" class="btn btn-default" onclick="javascript:searchItems(event);"><span class="glyphicon glyphicon-search"></span></button>
<div class="form-group">
</br>
<a>Collection location:</a>
<input type="text" class="form-control" placeholder="Tatooine">
<a> Storage units:</a>
<input type="text" class="form-control" placeholder="Alderaan">
</br>
</div>
</br>
<div class="form-group">
</br>
<a>Invite other collectors:</a>
<input type="text" class="form-control" placeholder="Mace Windu">
</br>
</div>
</br>
</br>

<button type="submit" class="btn btn-default" onclick="javascript:searchItems(event);">Create form <span class="glyphicon glyphicon-plus"></span></button>
</form>
</div>
</div>



<div class="container">
</br>
</br>
<div class="row">
<div class="col-lg-4"></div>
<div class="col-lg-4">
Expand Down

0 comments on commit 0a4fd37

Please sign in to comment.