Skip to content

Commit

Permalink
fix user guide so that images can be viewed in jar
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuoyang125 committed Nov 6, 2021
1 parent d1f5197 commit a540978
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/seedu/siasa/ui/GuideWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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;
Expand Down

0 comments on commit a540978

Please sign in to comment.