diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index ac5cf36..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/AllianceDb.sql b/AllianceDb.sql index 478816d..1c1ba10 100644 --- a/AllianceDb.sql +++ b/AllianceDb.sql @@ -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', diff --git a/app/.DS_Store b/app/.DS_Store index ed2e79b..d077d1f 100644 Binary files a/app/.DS_Store and b/app/.DS_Store differ diff --git a/app/static/.DS_Store b/app/static/.DS_Store index e1e5bc2..fb2bf16 100644 Binary files a/app/static/.DS_Store and b/app/static/.DS_Store differ diff --git a/app/static/css/index.css b/app/static/css/index.css index 01d31ea..35d8ec8 100644 --- a/app/static/css/index.css +++ b/app/static/css/index.css @@ -1,6 +1,15 @@ /* 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 { @@ -8,6 +17,10 @@ h3 { width: 100%; } +.pink { + color: #FFC9C5 ! important; +} + .login-div { text-align: center; display: block; @@ -22,7 +35,7 @@ h3 { .blk { border-style: solid; border-width:5px; - border-color: #EEEEEE; + border-color: #111; } .category { @@ -31,7 +44,7 @@ h3 { height: 300px; border-style: solid; border-width: 5px; - border-color: #EEEEEE; + border-color: #111; } @@ -81,6 +94,8 @@ h3 { + + float: none; margin-left: auto; margin-right: auto; diff --git a/app/static/images/atlanta.JPG b/app/static/images/atlanta.JPG new file mode 100644 index 0000000..764cdd7 Binary files /dev/null and b/app/static/images/atlanta.JPG differ diff --git a/app/static/images/emptystar.png b/app/static/images/emptystar.png new file mode 100644 index 0000000..e2e47ab Binary files /dev/null and b/app/static/images/emptystar.png differ diff --git a/app/static/images/star.png b/app/static/images/star.png new file mode 100644 index 0000000..1660469 Binary files /dev/null and b/app/static/images/star.png differ diff --git a/app/static/js/index.js b/app/static/js/index.js index 4f445e7..c528222 100644 --- a/app/static/js/index.js +++ b/app/static/js/index.js @@ -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) }}; +// } diff --git a/app/templates/edit_add_resource.html b/app/templates/edit_add_resource.html index dd4b25b..aada49c 100644 --- a/app/templates/edit_add_resource.html +++ b/app/templates/edit_add_resource.html @@ -2,36 +2,43 @@ {%block content %} -