forked from nus-cs2103-AY2122S1/tp
-
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.
fix user guide so that images can be viewed in jar
- Loading branch information
1 parent
d1f5197
commit a540978
Showing
1 changed file
with
6 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,11 @@ private enum Page { | |
"Welcome to SIASA! " | ||
+ "This is a guide that teaches you all the basic commands to use this application.\n" | ||
+ "For a more detailed guide, visit the user guide on our github repository.", | ||
new Image("file:src/main/resources/images/guide/page_one.png")), | ||
"/images/guide/page_one.png"), | ||
TWO("User Guide - Contacts", "addcontact: Adds a contact to your SIASA.\n" | ||
+ "Format: addcontact n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]\n" | ||
+ "Example: addcontact n/Travis Scott p/98765454 e/[email protected] a/Travis Park, block 123, #01-01", | ||
new Image("file:src/main/resources/images/guide/page_two.png")), | ||
"/images/guide/page_two.png"), | ||
THREE("User Guide - Contacts", | ||
"deletecontact: Removes a contact from your SIASA based on the index provided.\n" | ||
+ "Format: deletecontact INDEX\n" | ||
|
@@ -37,13 +37,13 @@ private enum Page { | |
+ "At least one of the optional fields should be filled.\n" | ||
+ "Format: editcontact INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]…\n" | ||
+ "Example: editcontact 3 p/91234567 e/[email protected]", | ||
new Image("file:src/main/resources/images/guide/page_four.png")), | ||
"/images/guide/page_four.png"), | ||
FIVE("User Guide - Policies", | ||
"addpolicy: Adds a policy that is linked to a contact to your SIASA.\n" | ||
+ "addpolicy n/POLICY_NAME p/PMT_AMOUNT_CENTS [PMTS_PER_YR] [NUM_OF_PMTS] " | ||
+ "c/COMMISSION_% NUM_OF_COMM cl/CONTACT_INDEX [e/COVERAGE_EXPIRY_DATE] [t/TAG]…\n" | ||
+ "Example: addpolicy n/full life p/10050 c/10 1 cl/1 e/2021-12-12 t/Aviva ", | ||
new Image("file:src/main/resources/images/guide/page_five.png")), | ||
"/images/guide/page_five.png"), | ||
SIX("User Guide - Policies", | ||
"deletepolicy: Removes a policy from your SIASA based on the index provided.\n" | ||
+ "deletepolicy INDEX\n" | ||
|
@@ -55,7 +55,7 @@ private enum Page { | |
+ "Format: editpolicy INDEX [n/NAME_OF_POLICY] [p/PMT_AMOUNT [PMT_FREQ] [NUM_OF_PMT]] " | ||
+ "[c/COMMISSION_% [NUM_OF_PMT]] [cl/PERSON_INDEX] [t/TAGS] [e/COVERAGE_EXPIRY_DATE]\n" | ||
+ "Example: editpolicy 2 n/Life Policy 2 e/2022-10-22", | ||
new Image("file:src/main/resources/images/guide/page_seven.png")), | ||
"/images/guide/page_seven.png"), | ||
EIGHT("User Guide - Policies", | ||
"contactpolicy: List the policies belonging to the contact based on the index provided.\n" | ||
+ "contactpolicy INDEX\n" | ||
|
@@ -65,7 +65,7 @@ private enum Page { | |
"allpolicy: List all policies in your SIASA.\n" | ||
+ "allpolicy\n" | ||
+ "Example: allpolicy", | ||
new Image("file:src/main/resources/images/guide/page_nine.png")); | ||
"/images/guide/page_nine.png"); | ||
|
||
private final String title; | ||
private final String description; | ||
|