forked from nus-cs2103-AY1718S2/addressbook-level4
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from hypertun/BranchOfEverything1.5
V1.5 Massive update close #74
- Loading branch information
Showing
19 changed files
with
581 additions
and
158 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 |
---|---|---|
@@ -0,0 +1,149 @@ | ||
# hypertun-reused | ||
###### \resources\view\PersonCard.css | ||
``` css | ||
body { | ||
background:#485b6e; | ||
} | ||
|
||
.container { | ||
max-width:500px; | ||
margin-left:auto; | ||
margin-right:auto; | ||
margin-top:10%; | ||
} | ||
|
||
h1 { | ||
font-family: "Open Sans", sans; | ||
font-weight:300; | ||
text-align:center; | ||
color:rgba(255,255,255,0.6) | ||
} | ||
|
||
h2 { | ||
color:#2c3e52; | ||
font-family: "Open Sans", sans; | ||
font-size: 14px; | ||
text-align:center; | ||
font-weight:700; | ||
margin-bottom:50px; | ||
|
||
} | ||
|
||
.service-details { | ||
width: 600px; | ||
height: 460px; | ||
overflow: hidden; | ||
position: relative; | ||
} | ||
|
||
.service-details img { | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
height: inherit; | ||
width: auto; | ||
height: 100%; | ||
float: left; | ||
transition: all 0.8s; | ||
-moz-transition: all 0.8s; | ||
|
||
} | ||
|
||
.service-details:hover img { | ||
/*opacity: 0.4 !important;*/ | ||
} | ||
|
||
.service-details .service-hover-text h3 { | ||
padding: 0px; | ||
margin: 0px; | ||
font-size: 25px; | ||
font-weight:300; | ||
font-family: "Open Sans"; | ||
} | ||
|
||
.service-details .service-hover-text h4 { | ||
padding: 0px; | ||
padding-bottom: 13px; | ||
margin: 0px; | ||
font-size: 14px; | ||
letter-spacing: 3px; | ||
width: 90%; | ||
font-family: "Open Sans"; | ||
text-transform:uppercase; | ||
border-bottom: 2px solid #000; | ||
} | ||
|
||
.service-details .service-hover-text p { | ||
padding-top: 10px; | ||
font-size: 9px; | ||
line-height: 10px; | ||
font-family: "Open Sans"; | ||
} | ||
|
||
|
||
.service-details .service-hover-text{ | ||
width: 42%; | ||
height: 89%; | ||
position: absolute; | ||
top: 0%; | ||
left: 50%; | ||
padding: 3% 4%; | ||
background: #D90E0E; | ||
color: rgba(255,255,255,1); | ||
/* display: none;*/ | ||
transition: all 0.5s ease-in-out; | ||
-moz-transition: all 0.4s; | ||
} | ||
|
||
.service-details:hover .service-hover-text { | ||
display: block !important; | ||
color: rgba(255,255,255,1); | ||
background:rgba(217,14,14,0.85); | ||
left: 0px; | ||
top: 0px; | ||
} | ||
|
||
|
||
.service-details .service-text { | ||
width: 50%; | ||
height: inherit; | ||
background: #000; | ||
float: left; | ||
position: absolute; | ||
left: 50%; | ||
} | ||
|
||
.service-details .service-text p { | ||
padding:100px 0px 0px 20px; | ||
font-size: 24px; | ||
font-family: "Open Sans"; | ||
font-weight:700; | ||
color: #fff; | ||
} | ||
|
||
.service-details .service-text p span { | ||
font-family: "Open Sans" !important; | ||
} | ||
|
||
.service-details .service-text a , .service-white .service-text { | ||
padding: 0px 0px 0px 20px; | ||
font-size: 14px !important; | ||
color:#FF5A22 !important; | ||
font-family: "Open Sans" !important; | ||
text-decoration: none !important; | ||
} | ||
|
||
.service-details .service-text { | ||
float: left; | ||
} | ||
|
||
.service-white { | ||
background: #eee !important; | ||
width: 50% !important; | ||
height: inherit !important; | ||
} | ||
|
||
.service-white p { | ||
color: #000 !important; | ||
} | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
= Yeo Chong Han(Ivan) - Project Portfolio | ||
:imagesDir: ../images | ||
:stylesDir: ../stylesheets | ||
|
||
== PROJECT: Personal Trainer Pro | ||
|
||
--- | ||
|
||
== Overview | ||
|
||
Personal Trainer Pro is a free to use application used for helping personal trainers gauge the improvement of their clients as well as help them improve. | ||
It comes with a highly capable Command Line Interface(CLI) personal organiser and tracker keep together with an easy to use interface. The Graphical User Interface(GUI) is very simplistic but extremely detailed and easy to use to aid trainers in helping their clients. | ||
The user interacts with it using a CLI, and it has a GUI created with JavaFX. It is written in Java, and has about 10 kLoC. | ||
|
||
== Summary of contributions | ||
|
||
* *Major enhancement*: added *Calories Calculator* | ||
** What it does: allows the user/trainer to calculate the required calories based on a reliable website to obtain the best amount of calories the clients should have in order to improve, grow or lose weight. It uses all attribute data of the client to find the amount of calories needed. | ||
** Justification: This feature will allow for trainers to quickly and readily answer questions about the client and also choose a perfect workout to suit the needs and wants, be it to gain lose or maintain, of the client. | ||
** Highlights: This feature required additional attributes being added on to the original base and handling of events and creation of specific tests for each attribute before combining everything. | ||
** Credits: Calculator.net was used as the main calculator that was being build around. | ||
|
||
**External behaviour | ||
--- | ||
[https://github.com/CS2103JAN2018-F12-B2/main/blob/master/docs/UserGuide.adoc#show-calories-a-person-requires-code-calories-code] | ||
--- | ||
|
||
* *Minor enhancement*: added a html design when selecting the personal card in order to improve aesthetics and remove clutter. | ||
|
||
**External behaviour | ||
--- | ||
[https://github.com/CS2103JAN2018-F12-B2/main/blob/master/docs/UserGuide.adoc#selecting-a-person-code-select-code] | ||
--- | ||
|
||
* *Code contributed*: [https://github.com/CS2103JAN2018-F12-B2/main/blob/master/collated/functional/hypertun.md] [https://github.com/CS2103JAN2018-F12-B2/main/blob/master/collated/test/hypertun.md] | ||
|
||
* *Future implementation: *Tracking Weight for clients* | ||
**What it does: This will allow for trainers as well as clients to track their progress to reach their goal. | ||
**Justification: As the clients progress using the calories calculator it is important that they track their progress whether to gain weight, lose weight or to maintain weight. It already has a preliminary design as shown below in other contributions. | ||
|
||
* *Other contributions*: Tried to implement the weight log attribute but was unsuccessful. [https://github.com/CS2103JAN2018-F12-B2/main/pull/40] | ||
|
||
** Project management: | ||
*** Managed releases `v1.0` - `v1.5rc` (6 releases) on GitHub | ||
** Enhancements to existing features: | ||
*** Solved several bugs that was found during preliminary testing (Pull requests https://github.com/CS2103JAN2018-F12-B2/main/pull/102, https://github.com/CS2103JAN2018-F12-B2/main/pull/101, https://github.com/CS2103JAN2018-F12-B2/main/pull/88) | ||
*** Wrote additional tests for existing features to increase coverage from 88% to 92% (Pull requests https://github.com[#36], https://github.com[#38]) | ||
*** Added Command Aliases (https://github.com/CS2103JAN2018-F12-B2/main/pull/4) | ||
*** Added Gender Attribute(https://github.com/CS2103JAN2018-F12-B2/main/pull/22) | ||
** Documentation: | ||
*** Updated Major and Minor Enhancement: https://github.com/CS2103JAN2018-F12-B2/main/pull/23 | ||
*** Documentation for attributes: https://github.com/CS2103JAN2018-F12-B2/main/pull/32, https://github.com/CS2103JAN2018-F12-B2/main/pull/28 | ||
** Community: | ||
*** Revamped original person card (https://github.com/CS2103JAN2018-F12-B2/main/pull/29) | ||
*** Reverted error coding causing failure to merge due to previous member (https://github.com/CS2103JAN2018-F12-B2/main/pull/12) | ||
|
||
== Contributions to the User Guide | ||
|
||
|
||
|=== | ||
|_Given below are sections I contributed to the User Guide. They showcase my ability to write documentation targeting end-users._ | ||
|=== | ||
|
||
include::https://github.com/CS2103JAN2018-F12-B2/main/blob/master/docs/UserGuide.adoc#show-calories-a-person-requires-code-calories-code | ||
|
||
== Contributions to the Developer Guide | ||
|
||
|=== | ||
|_Given below are sections I contributed to the Developer Guide. They showcase my ability to write technical documentation and the technical depth of my contributions to the project._ | ||
|=== | ||
|
||
include::https://github.com/CS2103JAN2018-F12-B2/main/blob/master/docs/DeveloperGuide.adoc#314-gender-attribute--current-implementation | ||
|
||
include::https://github.com/CS2103JAN2018-F12-B2/main/blob/master/docs/DeveloperGuide.adoc#appendix-b-product-scope | ||
|
||
== Other Contributions | ||
|
||
Collated the code together. [https://github.com/CS2103JAN2018-F12-B2/main/pull/108] |
Oops, something went wrong.