mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Added Print button, cleaned up a lot of other minor stuff
Notable changes: Removed the sidbar tabs other than the resume preview Fixed ordering problems for the sections in the resume wizard Fixed some minor display problems in some of the input tiddlers Updated the documentation a little
This commit is contained in:
parent
684d6e4377
commit
45bf43d8d0
@ -1,3 +1,5 @@
|
||||
created: 20150719182943383
|
||||
modified: 20150719182947178
|
||||
tags:
|
||||
title: Edit Existing Items
|
||||
|
||||
@ -11,4 +13,4 @@ Each tab lets you edit the contents of that section. Click on the `Preview and S
|
||||
<<thisMakeTabs>>
|
||||
</$vars>
|
||||
|
||||
<$button to="Preview and Set Options">Open Preview and Options</$button>
|
||||
<!--<$button to="Preview and Set Options">Open Preview and Options</$button>-->
|
@ -1,4 +1,6 @@
|
||||
created: 20150719183128695
|
||||
modified: 20150719183135450
|
||||
tags:
|
||||
title: Resume Options
|
||||
|
||||
<<tabs "[[Layout Options]][tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]!show[false]get[template]get[options_tiddler]]" [[Layout Options]]>>
|
||||
<<tabs "[[Layout Options]][tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]!show[false]sort[order]get[template]get[options_tiddler]]" [[Layout Options]]>>
|
@ -1,3 +1,5 @@
|
||||
created: 20150719173441992
|
||||
modified: 20150719182326153
|
||||
tags:
|
||||
title: Resume Wizard
|
||||
|
||||
@ -9,54 +11,115 @@ title: Resume Wizard
|
||||
</$list>
|
||||
\end
|
||||
|
||||
\define thisResumeWizardTiddlerEmptyMessage()
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]last[]]'>
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text=<<currentTiddler>>>
|
||||
<$button>
|
||||
Continue to Options
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Resume Options"/>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text="Resume Options">
|
||||
<$button>
|
||||
Go to Preview
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Preview"/>
|
||||
</$button>
|
||||
</$reveal>
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text="Preview">
|
||||
<$tiddler tiddler='Preview'>
|
||||
<$button message="tm-open-window">
|
||||
Print
|
||||
</$button>
|
||||
</$tiddler>
|
||||
</$reveal>
|
||||
</$list>
|
||||
\end
|
||||
|
||||
<!-- If the user hasn't started the wizard yet display the interface to add or select a resume and the button to start the wizard -->
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text=''>
|
||||
Select resume to work on: <$select tiddler='$:/settings/Global' field='selected_resume'><$list filter='[[$:/data/ResumeList]indexes[]]'>
|
||||
<!-- User can select an existing resume -->
|
||||
Select resume to work on:
|
||||
<$select tiddler='$:/settings/Global' field='selected_resume'>
|
||||
<$list filter='[[$:/data/ResumeList]indexes[]]'>
|
||||
<option><$view field='title'/></option>
|
||||
</$list>
|
||||
</$select>
|
||||
<br>
|
||||
<!-- User can add a new resume -->
|
||||
You can add a resume to the list:
|
||||
<$edit-text tiddler='$:/temp/NewResumeName' field='resume_name' class='tc-edit-texteditor' placeholder='Name of new resume'/> <$button>Add Resume<$action-setfield $tiddler='$:/data/ResumeList' $index={{$:/temp/NewResumeName!!resume_name}} $value=true/>
|
||||
<$edit-text tiddler='$:/temp/NewResumeName' field='resume_name' class='tc-edit-texteditor' placeholder='Name of new resume'/>
|
||||
<$button>
|
||||
Add Resume
|
||||
<$action-setfield $tiddler='$:/data/ResumeList' $index={{$:/temp/NewResumeName!!resume_name}} $value=true/>
|
||||
<$action-setfield $tiddler='$:/temp/NewResumeName' resume_name=''/>
|
||||
</$button><br><br>
|
||||
</$button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<$button>Click here to get started
|
||||
<$list filter='[tag[Section Display]sort[order]first[]]'>
|
||||
<!-- The button that starts the wizard -->
|
||||
<$button>
|
||||
Click here to get started
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]first[]]'>
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<currentTiddler>>/>
|
||||
</$list>
|
||||
</$button>
|
||||
</$reveal>
|
||||
|
||||
<!-- Once the wizard is started display the current input tiddler with forward and back buttons. There is also a 'back to start' button. -->
|
||||
<$reveal type='nomatch' state='$:/state/ResumeWizardState' text=''>
|
||||
<h1><$transclude tiddler={{$:/state/ResumeWizardState}} field='section' mode=block/></h1>
|
||||
<!-- Display the current section title. -->
|
||||
<h1>
|
||||
<$transclude tiddler={{$:/state/ResumeWizardState}} field='section' mode=block/>
|
||||
</h1>
|
||||
|
||||
<!-- Display the correct input tiddler. -->
|
||||
<$list filter='[{$:/state/ResumeWizardState}removeprefix[$:/display/]]' variable=CurrentSection>
|
||||
<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
|
||||
<<thisDisplayInputTiddler>>
|
||||
</$vars>
|
||||
</$list>
|
||||
<!-- Display the resume options if that is the current section. -->
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text='Resume Options'>
|
||||
Here you can change the order of sections (or of items in each section) on your resume as well as set other options. Click on 'Print' to open the resume in a new window to save or print it.
|
||||
|
||||
<$reveal type='nomatch' state='$:/state/ResumeWizardState' text='Preview and Set Options'>
|
||||
<$tiddler tiddler={{$:/state/ResumeWizardState}}>
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]before<currentTiddler>]' emptyMessage="" variable=PreviousTiddler>
|
||||
<$transclude tiddler='Resume Options' mode=block/>
|
||||
</$reveal>
|
||||
|
||||
<!-- If the user hasn't reached options section yet, make and display the back and next buttons. -->
|
||||
<$reveal type='nomatch' state='$:/state/ResumeWizardState' text='Resume Options'>
|
||||
<!-- This makes the back button. If the user is on the first section this doesn't display anything. -->
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]before{$:/state/ResumeWizardState}]' emptyMessage="" variable=PreviousTiddler>
|
||||
<$button>
|
||||
Back (<$view tiddler=<<PreviousTiddler>> field='section'/>)
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<PreviousTiddler>>/>
|
||||
</$button>
|
||||
</$list>
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]after<currentTiddler>]' emptyMessage="""<$list filter='[tag[Section]sort[order]last[]]'><$reveal type='match' state='$:/state/ResumeWizardState' text=<<currentTiddler>>><$button>Continue to Options<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Resume Options"/></$button></$reveal><$reveal type='match' state='$:/state/ResumeWizardState' text="Resume Options"><$button>Go to Preview<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value="Preview"/></$button></$reveal><$reveal type='match' state='$:/state/ResumeWizardState' text="Preview"><$tiddler tiddler='Preview'><$button message="tm-open-window">Print</$button></$tiddler></$reveal></$list>""" variable=NextTiddler>
|
||||
<!-- This Makes the next button. If the user is on the last section this is a button that opens the options section. -->
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]after{$:/state/ResumeWizardState}]' emptyMessage=<<thisResumeWizardTiddlerEmptyMessage>> variable=NextTiddler>
|
||||
<$button>
|
||||
Next Section (<$view tiddler=<<NextTiddler>> field='section'/>)
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<NextTiddler>>/>
|
||||
</$button>
|
||||
</$list>
|
||||
</$tiddler>
|
||||
</$reveal>
|
||||
|
||||
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text='Preview and Set Options'>
|
||||
<$button>Print</$button> (This doesn't work yet)<br>
|
||||
<$button to=Preview>Show Preview By Itself</$button>
|
||||
<!-- If the user has reached the options section display the print button (and the back button, this is a special case). -->
|
||||
<$reveal type='match' state='$:/state/ResumeWizardState' text='Resume Options'>
|
||||
<!-- Magic to make the back button. -->
|
||||
<$list filter='[tag[Section Display]removeprefix[$:/display]addprefix{$:/settings/Global!!selected_resume}addprefix[$:/settings/]sort[order]removeprefix[$:/settings/]removeprefix{$:/settings/Global!!selected_resume}addprefix[$:/display]last[]]' emptyMessage="" variable=PreviousTiddler>
|
||||
<$button>
|
||||
Back (<$view tiddler=<<PreviousTiddler>> field='section'/>)
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<PreviousTiddler>>/>
|
||||
</$button>
|
||||
</$list>
|
||||
<!-- Open resume in new window for saving/printing. -->
|
||||
<$tiddler tiddler='Preview'>
|
||||
<$button message="tm-open-window">
|
||||
Print
|
||||
</$button>
|
||||
</$tiddler>
|
||||
<br>
|
||||
</$reveal>
|
||||
|
||||
<hr>
|
||||
|
@ -1,3 +1,5 @@
|
||||
created: 20150719172021101
|
||||
modified: 20150719172244848
|
||||
tags: $:/tags/TopLeftBar
|
||||
title: Top Bar Buttons
|
||||
|
||||
@ -6,4 +8,7 @@ title: Top Bar Buttons
|
||||
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Resume Options">Resume Options</$button>
|
||||
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Preview">Preview</$button>
|
||||
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' to="Help">Help</$button>
|
||||
<$tiddler tiddler=Preview>
|
||||
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' message="tm-open-window">Print</$button>
|
||||
</$tiddler>
|
||||
<$button style='border:solid 1px;height:1.25em;vertical-align:top;line-height:0.025em;' message='tm-save-wiki'>Save</$button>
|
@ -1,3 +1,5 @@
|
||||
created: 20150719184941848
|
||||
modified: 20150719185024380
|
||||
tags:
|
||||
title: Help
|
||||
|
||||
@ -15,18 +17,10 @@ There are buttons along the top that bring you to the different things you can d
|
||||
*Resume Options - Available options for the resume output. The `Layout Options` tab has options for which sections are included in the resume as well as their order and the templates used, the other tabs are for configuring each section individually.
|
||||
*Preview - Shows a preview of the result, this is also shown on the right side of the screen by default.
|
||||
*Help - Displays this information.
|
||||
*Print - Open the resume by itself in a new window for printing.
|
||||
*Save - saves your changes
|
||||
|
||||
<!--
|
||||
There is a sequence of tiddlers that are input forms that guide you through entering your information for each section. These tiddlers are then displayed in the tiddler 'Resume Wizard' and you can go through them in sequence to fill out each form.
|
||||
|
||||
At the end templates are used to display all of the information in a reasonable format.
|
||||
|
||||
You can go to the [[Resume Wizard]] or to [[Edit Existing Items]].
|
||||
|
||||
To set if a section is displayed, change the order of the sections on the resume, or to change the templates used go to [[Layout Options]]. The order set in that tiddler also determines the order of the sections in the [[Resume Wizard]].
|
||||
-->
|
||||
|
||||
Things to add:
|
||||
|
||||
*The section/item order options should get a better way to change the order
|
||||
@ -35,6 +29,7 @@ Things to add:
|
||||
*More section options
|
||||
*A reasonable way for users to create custom sections without requiring knowledge of wikitext. This could turn into something rather complex by itself if I let it. I will try to avoid that.
|
||||
*Other user options?
|
||||
-->
|
||||
|
||||
Other documentation:
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
caption: Education
|
||||
created: 20150719182635535
|
||||
modified: 20150719182642114
|
||||
tags: Section
|
||||
title: $:/input/Education
|
||||
|
||||
@ -52,7 +54,7 @@ Add Education
|
||||
</$set>
|
||||
</$set>
|
||||
|
||||
!!Current list:
|
||||
<h2>Current list:</h2>
|
||||
|
||||
<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
|
||||
<table style='width:100%'>
|
||||
|
@ -1,4 +1,6 @@
|
||||
caption: Previous Employment
|
||||
created: 20150719182555935
|
||||
modified: 20150719182603681
|
||||
tags: Section
|
||||
title: $:/input/Previous Employment
|
||||
|
||||
@ -27,7 +29,7 @@ Add Employment
|
||||
</$set>
|
||||
</$set>
|
||||
|
||||
!!Current Listing:
|
||||
<h2>Current Listing:</h2>
|
||||
|
||||
<table style='width:100%'>
|
||||
<tr><th></th><th>Visible</th><th>Entry</th><th>Order</th></tr>
|
||||
|
@ -1,4 +1,6 @@
|
||||
caption: Skills and Expertise
|
||||
created: 20150719182443671
|
||||
modified: 20150719182521401
|
||||
tags: Section
|
||||
title: $:/input/Skills and Expertise
|
||||
|
||||
@ -19,7 +21,7 @@ Add Skill
|
||||
</$button>
|
||||
</$set>
|
||||
|
||||
!!Current Listing:
|
||||
<h2>Current Listing:</h2>
|
||||
|
||||
<table style='width:100%'>
|
||||
<tr><th></th><th>Visible</th><th>Entry</th><th>Order</th></tr>
|
||||
|
@ -0,0 +1,5 @@
|
||||
created: 20150719185223155
|
||||
modified: 20150719185226532
|
||||
title: $:/config/DefaultSidebarTab
|
||||
|
||||
Preview
|
@ -0,0 +1,4 @@
|
||||
modified: 20150719172915740
|
||||
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/home
|
||||
|
||||
show
|
@ -0,0 +1,4 @@
|
||||
modified: 20150719172917795
|
||||
title: $:/config/PageControlButtons/Visibility/$:/core/ui/Buttons/new-tiddler
|
||||
|
||||
hide
|
@ -0,0 +1,8 @@
|
||||
caption: {{$:/language/SideBar/More/Caption}}
|
||||
created: 20150719185507821
|
||||
modified: 20150719185507821
|
||||
title: $:/core/ui/SideBar/More
|
||||
|
||||
<div class="tc-more-sidebar">
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/MoreSideBar]!has[draft.of]]" "$:/core/ui/MoreSideBar/Tags" "$:/state/tab/moresidebar" "tc-vertical">>
|
||||
</div>
|
@ -0,0 +1,13 @@
|
||||
caption: {{$:/language/SideBar/Open/Caption}}
|
||||
created: 20150719185529309
|
||||
modified: 20150719185529309
|
||||
title: $:/core/ui/SideBar/Open
|
||||
|
||||
\define lingo-base() $:/language/CloseAll/
|
||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
|
||||
|
||||
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">×</$button> <$link to={{!!title}}><$view field="title"/></$link>
|
||||
|
||||
</$list>
|
||||
|
||||
<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>
|
@ -0,0 +1,6 @@
|
||||
caption: {{$:/language/SideBar/Recent/Caption}}
|
||||
created: 20150719185549965
|
||||
modified: 20150719185549965
|
||||
title: $:/core/ui/SideBar/Recent
|
||||
|
||||
<$macrocall $name="timeline" format={{$:/language/RecentChanges/DateFormat}}/>
|
@ -0,0 +1,33 @@
|
||||
caption: {{$:/language/SideBar/Tools/Caption}}
|
||||
created: 20150719185611214
|
||||
modified: 20150719185622149
|
||||
title: $:/core/ui/SideBar/Tools
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/
|
||||
\define config-title()
|
||||
$:/config/PageControlButtons/Visibility/$(listItem)$
|
||||
\end
|
||||
|
||||
<<lingo Basics/Version/Prompt>> <<version>>
|
||||
|
||||
<$set name="tv-config-toolbar-icons" value="yes">
|
||||
|
||||
<$set name="tv-config-toolbar-text" value="yes">
|
||||
|
||||
<$set name="tv-config-toolbar-class" value="">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem">
|
||||
|
||||
<div style="position:relative;">
|
||||
|
||||
<$checkbox tiddler=<<config-title>> field="text" checked="show" unchecked="hide" default="show"/> <$transclude tiddler=<<listItem>>/> <i class="tc-muted"><$transclude tiddler=<<listItem>> field="description"/></i>
|
||||
|
||||
</div>
|
||||
|
||||
</$list>
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
@ -1,4 +0,0 @@
|
||||
modified: 20150718063056801
|
||||
title: $:/state/tab/sidebar--1835078512
|
||||
|
||||
Preview
|
Loading…
Reference in New Issue
Block a user