Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
cfe1bfa
Delete master.js
Sep 28, 2018
42098c5
Add files via upload
Oct 24, 2018
c37b51b
Add files via upload
Oct 24, 2018
f4df3f9
Add files via upload
Oct 24, 2018
4a77f73
Add files via upload
Oct 24, 2018
3fedc89
Add files via upload
Oct 28, 2018
7cf479c
Add files via upload
Oct 28, 2018
f04b754
Add files via upload
Oct 28, 2018
bc1b2c4
Add files via upload
Oct 28, 2018
d8468fb
Add files via upload
Nov 6, 2018
cf13110
Add files via upload
Nov 6, 2018
00b7ff1
Add files via upload
Nov 6, 2018
e4c3a83
Add files via upload
Nov 9, 2018
1bb4ef0
Add files via upload
Nov 9, 2018
85fa769
Add files via upload
Nov 9, 2018
774e565
Add files via upload
Nov 15, 2018
ecbb57e
Add files via upload
Nov 15, 2018
da3a211
Add files via upload
Nov 16, 2018
bcf7ad7
Delete signup.html
Nov 16, 2018
b0c7daf
Add files via upload
Nov 16, 2018
adc5de3
Add files via upload
Nov 16, 2018
75fa1fb
Add files via upload
Nov 16, 2018
8425f7a
Add files via upload
Nov 16, 2018
97b9b84
Add files via upload
Nov 16, 2018
9ace618
Add files via upload
Nov 16, 2018
2f07fd0
Add files via upload
Nov 17, 2018
b2bb4c8
Add files via upload
Nov 17, 2018
2f10f07
Add files via upload
Nov 17, 2018
7fb1162
Add files via upload
Nov 17, 2018
073db01
Add files via upload
Nov 18, 2018
1bc5415
Add files via upload
Nov 18, 2018
bb29ba7
Delete app.html
Nov 18, 2018
527cd47
Add files via upload
Nov 18, 2018
e5b0973
Add files via upload
Nov 18, 2018
3215727
Add files via upload
Nov 21, 2018
a3766d3
Add files via upload
Nov 21, 2018
1e7fea1
Add files via upload
Nov 21, 2018
a07cabc
Add files via upload
Nov 25, 2018
85562e0
Add files via upload
Nov 25, 2018
7103b22
Add files via upload
Nov 25, 2018
2c0cc47
Add files via upload
Nov 25, 2018
4a54bae
Delete database.xlsx
Nov 25, 2018
756ed39
Delete template.xlsx
Nov 25, 2018
cb78087
Add files via upload
Nov 25, 2018
3d32f4d
Add files via upload
Nov 25, 2018
2cebeb5
Rename Testing.py to database/Testing.py
Nov 25, 2018
3c4d5a2
Delete user_database_template.xlsx
Nov 25, 2018
66d0dad
Add files via upload
Nov 25, 2018
98529fa
Delete Testing.py
Nov 25, 2018
185fdab
Add files via upload
Dec 1, 2018
6375385
Add files via upload
Dec 1, 2018
f7d76f5
Add files via upload
Dec 1, 2018
b2c14ce
Add files via upload
Dec 1, 2018
ae5a305
Add files via upload
Dec 1, 2018
5cc7839
Add files via upload
Dec 1, 2018
7b031be
Add files via upload
Dec 2, 2018
267eb57
Delete conversion.py
Dec 2, 2018
91bdbb9
Add files via upload
Dec 2, 2018
32f32aa
Add files via upload
Dec 2, 2018
c355183
Add files via upload
Dec 2, 2018
4968c0a
Add files via upload
Dec 2, 2018
60e9c1f
Add files via upload
Dec 2, 2018
958a9ff
Add files via upload
Dec 2, 2018
9ff8a53
Add files via upload
Dec 3, 2018
62895d5
Add files via upload
Dec 3, 2018
b85eab1
Add files via upload
Dec 3, 2018
9c9b406
Add files via upload
Dec 3, 2018
f8f9212
Update README.md
Albert-C-Ong May 22, 2019
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ python app.py
All parts of CalPal are free to use and abuse under the open-source MIT license.

## Acknowledgement
CalPal was created by [Nhat Nguyen](https://github.com/nguyen-nhat), [Jackson Truong](https://github.com/), and [Albert Ong](https://github.com/).
CalPal was created by [Nhat Nguyen](https://github.com/nguyen-nhat), [Jackson Truong](https://github.com/), and [Albert Ong](https://github.com/Albert-C-Ong).
Binary file removed database/database.xlsx
Binary file not shown.
Binary file added database/exercise_database.xlsx
Binary file not shown.
Binary file added database/food_database.xlsx
Binary file not shown.
Binary file removed database/template.xlsx
Binary file not shown.
Binary file added database/user_database.xlsx
Binary file not shown.
Binary file added database/user_database_template.xlsx
Binary file not shown.
291 changes: 291 additions & 0 deletions master.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@

/*
* CalPal: A calorie tracking app.
* Written by Nhat Nguyen and Albert Ong.
* CMPE 131
* Revision: 15.11.2018
*
* master.css
* The master stylesheet. Used in base.html
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
border: 0;
color: #FFEF9F;
font: inherit;
font-size: 100%;
margin: 0;
padding: 0;
vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}

body {
color: #FFEF9F;
font-family: sans-serif;
height: 100%;
margin: 0;
background-image: linear-gradient(to right, #B02635, #F97C21);
background-attachment: fixed;
}

ol, ul {
list-style: none;
}

blockquote, q {
quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}

table {
border-collapse: collapse;
border-spacing: 0;
}

.main, .form-container .center, .form-container .success, .form-container .failure {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
}

html, body, form {
height: 100%;
width: 100%;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
margin: 1.5% 0% 1.5% 0%;
}

.main {
min-height: inherit;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: inherit;
}

.form-wrapper {
margin: 0 auto;
height: 100%;
width: 80%;
}

.form-container {
border-radius: 5px;
background-color: #fba56730;
-webkit-box-sizing: border-box;
box-sizing: border-box;

padding: 2.5% 0% 2.5% 0%;
text-align: center;
width: 580px;
}

.form-container h1 {
font-size: 32px;
font-weight: 700;
margin: 0px 0px 10px 0px;
}

.form-container h2 {
font-style: italic;
font-size: 18px;
margin-bottom: 25px;
}

.form-container .form-header p {
color: #FFEF9F;
font-size: 14px;
margin-bottom: 15px;
}

.form-container a {
text-decoration: none;
color: black;
-webkit-transition: 0.25s;
transition: 0.25s;
}

.form-container p a {
border-radius: 3px;
color: #FFEF9F;
font-weight: Bold;
}

.form-container a:hover {
color: #F97C21;
}

.form-container b {
font-weight: bolder;
}

/* Styles the success message in the form container. */
.form-container .success {
background-color: #FF882B;
border-radius: 2px;
color: white;
height: 40px;
margin: 15px 0px 10px 0px;
}

/* Styles the failure message in the form container. */
.form-container .failure {
border-radius: 2px;
background-color: #FF882B;
color: white;
height: 40px;
margin: 15px 0px 10px 0px;
}

form button[type="submit"],
form input[type="email"],
form input[type="number"],
form input[type="password"],
form input[type="text"],
form select,
form select[type="gender"] {
margin-bottom: 10px;
padding-left: 4px;
border: 1px solid #f0f0f0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
height: 40px;
border-radius: 3px;
outline: none;
-webkit-transition: 0.25s;
transition: 0.25s;
}

form input[type="text"]:hover, form input[type="email"]:hover, form input[type="password"]:hover {
padding-left: 10px;
}

form input[type="text"]:focus, form input[type="email"]:focus, form input[type="password"]:focus {
border-color: #f76c00;
}

form input::-webkit-input-placeholder {
color: #d9d9d9;
padding-left: 2px;
}

form input:-ms-input-placeholder {
color: #d9d9d9;
padding-left: 2px;
}

form input::-ms-input-placeholder {
color: #d9d9d9;
padding-left: 2px;
}

form input::placeholder {
color: #d9d9d9;
padding-left: 2px;
}

/* Styles the login button. */
form button[type="submit"] {
margin: 20px 0px 40px 0px;
background-color: #FF882B;
border-radius: 3px;
border: none;
color: white;
font-weight: bolder;
font-size: 1.15em;
cursor: pointer;
}

form button[type="submit"]:hover {
background-color: #f76c00;
}

form button[type="submit"]:focus {
background-color: #FFEF9F;
padding-top: 5px;
}

form .input-label {
padding: 10px 0px 25px 0px;
}

/* Styles all the labels within the form tag. */
form label {
color: #FFEF9F;
display: block;
float: left;
}

/* Styles the text that goes to the left of certain input fields.
* Such as the height and calorie goal.
*/
label .input-text {
color: red;
}

form span {
float: right;
color: #FFEF9F;
}

form .divider {
width: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}

/* Controls the width of the name input fields. */
form .divider-size {
width: 46%;
}

/* Controls the width of the birthday input fields. */
form. birthday-size {
width: 30%;
}

/* Controls the styling of the CalPal logo. */
.CalPal-logo{
margin: 0% 0% 3% 0%;
}

/* A shortened width used for the weight abd calorie goal inputs. */
form .shortened-width {
width: 80%;
}
Loading