Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e3de8ea
favorites worksgit add .
Nov 11, 2016
a0852be
separated edit and add user
Nov 12, 2016
d4e0051
changed javascript for search by name
Nov 12, 2016
e2602b9
Commiting some changes
michaelchen523 Nov 14, 2016
bd8ae2a
Merged with dbCreation
michaelchen523 Nov 14, 2016
12b582e
Saving for merge
michaelchen523 Nov 14, 2016
67951d9
Merge branch 'dbCreation' of https://github.com/michaelchen523/allian…
michaelchen523 Nov 14, 2016
3ef0bf7
Committing
michaelchen523 Nov 15, 2016
44cf058
Changes made
michaelchen523 Nov 15, 2016
811a23b
maps works
Nov 15, 2016
d8b9eaf
phone numbers working
Nov 15, 2016
d686237
edited minor thing
Nov 15, 2016
871d8ad
started editing user
michaelchen523 Nov 15, 2016
6161f5f
Merge branch 'changingstuff' of https://github.com/michaelchen523/all…
michaelchen523 Nov 15, 2016
b0a1955
Finished edit user
michaelchen523 Nov 15, 2016
e1245a3
started edit/add resource stuff
Nov 15, 2016
aa6d4cf
Merge branch 'changingstuff' of https://github.com/michaelchen523/all…
Nov 15, 2016
a8a1af9
minor changes have to figure out getting values from checkbox
Nov 15, 2016
30b9233
Update user works
michaelchen523 Nov 15, 2016
f8e761a
Merge branch 'changingstuff' of https://github.com/michaelchen523/all…
michaelchen523 Nov 15, 2016
daf8a7f
Resources to My resources
michaelchen523 Nov 15, 2016
1fbb012
basic checking functionality
Nov 15, 2016
0caa7ac
added all categories to the checkbox functionality
Nov 15, 2016
e638b65
website stuff, still working on all the category fields
Nov 15, 2016
ac0b00d
still have to do like 3 more categories
Nov 15, 2016
f65de52
all the front-end resource stuff works...
Nov 15, 2016
0c45912
added tags to stuff
Nov 15, 2016
a05d282
colorscheme...
Nov 16, 2016
2baf91f
commits and stuff
Nov 16, 2016
73dab64
views
Nov 16, 2016
76db086
Deleted category nav and welcome
michaelchen523 Nov 16, 2016
19967f6
Merge branch 'changingstuff' of https://github.com/michaelchen523/all…
michaelchen523 Nov 16, 2016
41177ba
color stuff
Nov 16, 2016
3aaa92d
Merge branch 'changingstuff' of https://github.com/michaelchen523/all…
Nov 16, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion AllianceDb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ CREATE TABLE Mental_Health (
);


DROP TABLE IF EXISTS Metal_Type;
DROP TABLE IF EXISTS Mental_Type;

CREATE TABLE Mental_Type (
Mental_Type ENUM('Counseling', 'Case Management', 'Substance Abuse', 'Psych Evals',
Expand Down
Binary file modified app/.DS_Store
Binary file not shown.
Binary file modified app/static/.DS_Store
Binary file not shown.
21 changes: 18 additions & 3 deletions app/static/css/index.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
/* Created by Michael Chen */
h3 {
body {
background-color: #111;
}

.jumbotron {
background-color: #111 ! important;
}

h1, h3, h4, li {
text-align: center;
color: #FFC9C5 ! important;
}

#map {
height: 400px;
width: 100%;
}

.pink {
color: #FFC9C5 ! important;
}

.login-div {
text-align: center;
display: block;
Expand All @@ -22,7 +35,7 @@ h3 {
.blk {
border-style: solid;
border-width:5px;
border-color: #EEEEEE;
border-color: #111;
}

.category {
Expand All @@ -31,7 +44,7 @@ h3 {
height: 300px;
border-style: solid;
border-width: 5px;
border-color: #EEEEEE;
border-color: #111;

}

Expand Down Expand Up @@ -81,6 +94,8 @@ h3 {





float: none;
margin-left: auto;
margin-right: auto;
Expand Down
Binary file added app/static/images/atlanta.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 app/static/images/emptystar.png
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 app/static/images/star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
108 changes: 108 additions & 0 deletions app/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,116 @@

$(document).ready(function() {
$(".dropdown-toggle").dropdown();
$(".specific").hide();
$(".Childcare").hide();
$(".Education").hide();
$(".Employment").hide();
$(".Housing").hide();
$(".Job_Readiness").hide();
$(".Legal").hide();
$(".Life_Skills").hide();
$(".Medical").hide();
$(".Mental_Health").hide();
$(".Mentors").hide();
$(".Networks").hide();
$(".Supplies").hide();
$(".Transportation").hide();
$(".Vehicle").hide();
$(".For_Children").hide();
$("input").attr("style", "background-color: #CCC;")
$("textarea").attr("style", "background-color: #CCC")
$("label").addClass("pink");
$("#edit-resource").on('click', '#addphone',function() {
var newDiv = $(".resourcePhone")[0].outerHTML;
$(".phone").append(newDiv);
$(".resourcePhone:last").attr("placeholder", "(000)000-0000");
$(".resourcePhone:last").removeAttr("value");
});

$("#next").click(function() {
$(".specific").show();
$("#cancel").hide();
if($("#Childcare").is(':checked')) {
$(".Childcare").show();
} else {
$(".Childcare").hide();
}
if($("#Education").is(':checked')) {
$(".Education").show();
} else {
$(".Education").hide();
}
if($("#Employment").is(':checked')) {
$(".Employment").show();
} else {
$(".Employment").hide();
}
if($("#Housing").is(':checked')) {
$(".Housing").show();
} else {
$(".Housing").hide();
}
if($("#Job_Readiness").is(':checked')) {
$(".Job_Readiness").show();
} else {
$(".Job_Readiness").hide();
}
if($("#Legal").is(':checked')) {
$(".Legal").show();
} else {
$(".Legal").hide();
}
if($("#Life_Skills").is(':checked')) {
$(".Life_Skills").show();
} else {
$(".Life_Skills").hide();
}
if($("#Medical").is(':checked')) {
$(".Medical").show();
} else {
$(".Medical").hide();
}
if($("#Mental_Health").is(':checked')) {
$(".Mental_Health").show();
} else {
$(".Mental_Health").hide();
}
if($("#Mentors").is(':checked')) {
$(".Mentors").show();
} else {
$(".Mentors").hide();
}
if($("#Networks").is(':checked')) {
$(".Networks").show();
} else {
$(".Networks").hide();
}
if($("#Supplies").is(':checked')) {
$(".Supplies").show();
} else {
$(".Supplies").hide();
}
if($("#Transportation").is(':checked')) {
$(".Transportation").show();
} else {
$(".Transportation").hide();
}
if($("#Vehicle").is(':checked')) {
$(".Vehicle").show();
} else {
$(".Vehicle").hide();
}

})

});

function goBack() {
window.history.back();
}


// function searchname() {
// var sname = document.getElementById("Search").value;
// window.location = {{ url_for('searchName', name= sname) }};
// }
Loading