-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update page and search page update (#128)
* added .txt extention to Database_JobTables * tried to remove commas from $typeofworkstring * edit * added files back to forlder * added alice's part * xxx * Delete Database_JobTables.txt * comma strip * Added Educator Job Table Modified Database_JobTables to include Educator Table * Updated Tooltip Descriptions Changed the ears_tipped and pregnant_cats images to have a more meaningful description. * updated login page not sure if it'll show up correctly because I couldn't get to run in on my computer... I tested it by changing it to html instead of php.. * minor change to login * merge problems.. * userprofile.css small modification * create.account ext rename * updated createaccount.php * error msg box added * Added a couple of tooltips Tooltips to forms * tooltip updates * removed everthing removed everything * add everything added everything back in * buttons for "text ok" added to forms * volunteerform * volunteerform textok * removed <<<<<HEAD * small change so add 1 to db if textok is checked * Rename Database_JobTables.txt to Database_JobTables * a * Rename Database_JobTables to Database_JobTables.txt * a a * Added button on the side Added button on the side to logout and go to catstats * Add dropdown menu Add dropdown menu with catstats and log out link * Uploading the icon Uploading icon * updateprofile.php * able to submit update to profile * auto populate city&county by zip * restrict zip to CA * Update reportform.php * Update reportform.php * fixed city problem * city fix * Update reportform.php * display form on checkbox * email tooltip * minor form updates * caregiver/feeder update * Update script.js * form update #2 * form update #3 * search.php: removed colony name & ear tipped * db: removed colony name & ear tipped * forgot to remove eartipped * form updates #4 * minor changes * found it * added "are there any kittens" * added friendly/pet * combined first & last name * found error with first/last name * basic Custom Query Builder * undo * custom query builder partially working * forgot to remove * again * custom query builder v2 * custom query builder v2 * Update search.php * Update search.php * minor search.php update * comments1 fix * reportform updates * moved css to sacferals folder * zip fix * search.php update * css fix * map fix * map fix * one more try * a * map fix2 * custom query update * report form update * clean * report form updates #2 * volunteer table update * undo * volunteer table updates * db fix added new values to wrong table lol * db fix * search.php fix * oops * oops#2 * #3 * update#4 * #5 * reportform update * reportform update * a * update * fixed not updating error * update * undo * undo * total records * updateprofile.php updated * report form update * updateprofile udpate * small update to updateprofile.php added check for empty pwd * forgot = * ahhh * fix = * reports can now be seen by triage and master * edit * Canned Queries Canned Queries * Canned Queries Table * canned query * table for canned queries in db * create new query * Navbar * update * cannedquery added to db.txt * manual query added & renaimed hr * css update * reportform & search update * reportform update * copy function added * oops * volunteerform updated & validation added * a * a * undo * message when copy successful * updateprofile update * authentication update * email req * auth fix * form submit fix * update submit fix wasn't submitting for admin * moved links to top of table * link fixes * createaccount page update * createaccount alert update * update * update#2 * table columns renamed * added queries to volunteerlist * update
- Loading branch information
1 parent
22874ce
commit 667af20
Showing
10 changed files
with
559 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,13 +37,13 @@ | |
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<link href="http://netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" media="screen"> | ||
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" media="screen"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/bundles/ng-table.min.css"> | ||
<link rel="stylesheet" href="css/search.css"> | ||
|
||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.2/angular.js"></script> | ||
<script src="http://netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js" type="text/javascript"></script> | ||
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js" type="text/javascript"></script> | ||
<script src="https://unpkg.com/[email protected]/bundles/ng-table.min.js"></script> | ||
|
||
<script src="js/exportExcelScript.js"></script> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,26 @@ | |
$link = connectdb($host, $user, $pass, $db); | ||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Create Account</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<!--<link rel="shortcut icon" href="images/sacferals.png" type="image/x-icon">--> | ||
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" media="screen"> | ||
<link rel="stylesheet" type="text/css" href="css/userprofile.css"> | ||
|
||
<!-- This must preceed any code that uses JQuery. It links out to that library so you can use it --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"></script> | ||
|
||
</head> | ||
|
||
<body class="main_body"> | ||
|
||
<?php | ||
|
||
if(isset($_POST['register'])) //this processes after user submits data. | ||
|
@@ -44,12 +64,20 @@ | |
print "Account Created"; // print confirmation | ||
} | ||
else { | ||
print "error: You must first fill out a volunteer form"; | ||
//print "error: You must first fill out a volunteer form"; | ||
echo '<div class="row" id="alert-box"> | ||
<div class="alert"> | ||
<span class="closebtn" onclick="this.parentElement.style.display='."'none'".';">×</span>' | ||
.$email.' hasn\'t been registered yet. You must first fill out a volunteer form.</div></div>'; | ||
} | ||
} | ||
else | ||
{ | ||
print "error: That account name or email already exists"; | ||
//print "error: That account name or email already exists"; | ||
echo '<div class="row" id="alert-box"> | ||
<div class="alert"> | ||
<span class="closebtn" onclick="this.parentElement.style.display='."'none'".';">×</span>' | ||
.$username.' and\or '.$email.' already exist</div></div>'; | ||
} | ||
} | ||
else | ||
|
@@ -61,33 +89,6 @@ | |
|
||
?> | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<title>Create Account</title> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
<!--<link rel="shortcut icon" href="images/sacferals.png" type="image/x-icon">--> | ||
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" media="screen"> | ||
|
||
<!-- This must preceed any code that uses JQuery. It links out to that library so you can use it --> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> | ||
<script src="https://netdna.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" type="text/javascript"></script> | ||
|
||
<style type="text/css"> | ||
.fieldset-auto-width | ||
{ | ||
display: inline-block; | ||
} | ||
</style> | ||
|
||
<link rel="stylesheet" type="text/css" href="userprofile.css" /> | ||
|
||
</head> | ||
|
||
<body class="main_body"> | ||
<div class='main_login' style='margin-top:20px'> | ||
<div class='page-wrap'> | ||
<div class='main'> | ||
|
@@ -117,7 +118,7 @@ | |
<input type='email' class='form_input' name='email' id='email_field' required='required' | ||
pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,3}$" placeholder="[email protected]"> | ||
</fieldset> | ||
<button type='submit' class='button' name='register' style='background-color: #BE1D2C'> | ||
<button type='submit' id='reg' class='button' name='register'> | ||
<div class='button_label'>Register</div> | ||
</button> | ||
|
||
|
@@ -141,16 +142,17 @@ | |
$('#password').attr('style','border: 1px solid #d66'); | ||
$('#repass').attr('style','border: 1px solid #d66'); | ||
$('#passerrmsg').html("<small>passwords do not match</small>"); | ||
$('#updatebtn').prop('disabled',true); | ||
$('#reg').attr('disabled',true); | ||
} else if(pwd=='' || repwd==''){ | ||
$('#repass').attr('style','border: 1px solid #d66'); | ||
$('#password').attr('style','border: 1px solid #d66'); | ||
$('#passerrmsg').html("<small>passwords cannot be emtpy</small>"); | ||
$('#updatebtn').prop('disabled',true); | ||
$('#reg').attr('disabled',true); | ||
} else { | ||
$('#password').attr('style',''); | ||
$('#repass').attr('style',''); | ||
$('#passerrmsg').html(""); | ||
$('#updatebtn').prop('disabled',false); | ||
$('#reg').attr('disabled',false); | ||
} | ||
} | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.