kopia lustrzana https://github.com/miklobit/TiddlyWiki5
commit
92bfbc578c
|
@ -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,61 +11,122 @@ 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[]]'>
|
||||
<option><$view field='title'/></option>
|
||||
</$list>
|
||||
</$select>
|
||||
<br>
|
||||
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/>
|
||||
<$action-setfield $tiddler='$:/temp/NewResumeName' resume_name=''/>
|
||||
</$button><br><br>
|
||||
<!-- 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/>
|
||||
<$action-setfield $tiddler='$:/temp/NewResumeName' resume_name=''/>
|
||||
</$button>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<$button>Click here to get started
|
||||
<$list filter='[tag[Section Display]sort[order]first[]]'>
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<currentTiddler>>/>
|
||||
</$list>
|
||||
</$button>
|
||||
<!-- 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>
|
||||
|
||||
<$list filter='[{$:/state/ResumeWizardState}removeprefix[$:/display/]]' variable=CurrentSection>
|
||||
<$vars ThisResume={{$:/settings/Global!!selected_resume}}>
|
||||
<<thisDisplayInputTiddler>>
|
||||
</$vars>
|
||||
</$list>
|
||||
<!-- 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>
|
||||
<$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>
|
||||
<$button>
|
||||
Next Section (<$view tiddler=<<NextTiddler>> field='section'/>)
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=<<NextTiddler>>/>
|
||||
</$button>
|
||||
</$list>
|
||||
</$tiddler>
|
||||
</$reveal>
|
||||
<$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>
|
||||
<!-- 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>
|
||||
</$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>
|
||||
</$reveal>
|
||||
<!-- 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>
|
||||
<hr>
|
||||
<hr>
|
||||
<hr>
|
||||
|
||||
<$button>
|
||||
Back to start
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=''/>
|
||||
</$button>
|
||||
<$button>
|
||||
Back to start
|
||||
<$action-setfield $tiddler='$:/state/ResumeWizardState' $field='text' $value=''/>
|
||||
</$button>
|
||||
</$reveal>
|
|
@ -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,5 +1,9 @@
|
|||
created: 20150719191225198
|
||||
modified: 20150719234223143
|
||||
title: Making a new section
|
||||
|
||||
There is a [[New Section Creation Tool]] to help with creating new resume sections.
|
||||
|
||||
Each section needs the following tiddlers:
|
||||
|
||||
#A display tiddler
|
||||
|
@ -10,7 +14,17 @@ Each section needs the following tiddlers:
|
|||
You can have multiple template tiddlers that use the same input and options tiddlers.
|
||||
|
||||
!!Display tiddler
|
||||
Create a tiddler tagged with `Section Display`, I have been naming the tiddlers in the form `$:/display/(section name) Display`, like [[$:/display/Resume Title Display]] and [[$:/display/Objective Display]]. Following this convention isn't strictly necessary, but you should use it to remain consistent with other sections.
|
||||
|
||||
This is the container used to display the section in the resume itself, there isn't any customization here.
|
||||
|
||||
''Required tags'': `Section Display`<br>
|
||||
''Required name format'': `$:/display/(section name) Display`<br>
|
||||
''Additional fields'':
|
||||
|
||||
*'section' - the section name, something like 'Resume Title' or 'Objective'.
|
||||
''Examples'': [[$:/display/Resume Title Display]] and [[$:/display/Objective Display]].<br>
|
||||
|
||||
''Other things'':
|
||||
|
||||
In the text field put
|
||||
|
||||
|
@ -18,35 +32,57 @@ In the text field put
|
|||
<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>
|
||||
```
|
||||
|
||||
and nothing else. Additionally, these tiddlers need to have 1 additional field:
|
||||
and nothing else.
|
||||
|
||||
*`section` - the section name (in the ones I have created it is the title of the tiddler you are creating without the Display part at the end, so `Resume Title` and `Objective`)
|
||||
This tiddler should have only what is listed above.
|
||||
|
||||
!!Template tiddler(s)
|
||||
Create a template tiddler (or multiple templates if you want) for that section. See [[$:/template/ResumeTitleTemplate]] or [[$:/template/EducationTemplate]], or any of the other tiddlers that start with `$:/template/` for examples.
|
||||
|
||||
These tiddlers need to have two fields:
|
||||
These tiddlers determine how the section is displayed on the resume. This sets the look of the final result.
|
||||
|
||||
''Required tags'': `DisplayTemplate`<br>
|
||||
''Required name format'': `$:/template/(template name)`<br>
|
||||
''Additional fields'':
|
||||
|
||||
*`section_name` - the name of the section that the template is for, this must be the same as the value in the `section` field of the section display template you made.
|
||||
*`input_tiddler` - the name of the tiddler that has the form to take input for this section.
|
||||
*`template_name` - an optional field containing a more convenient name for the template than the tiddler title. If it exists this will be displayed for the template selection.
|
||||
*`options_tiddler` - The name of the options tiddler for this template, if any.
|
||||
|
||||
''Examples'': [[$:/template/ResumeTitleTemplate]] or [[$:/template/EducationTemplate]], or any of the other tiddlers that start with `$:/template/` for examples.
|
||||
|
||||
The data displayed by the templates will be from tiddlers named in the form `$:/data/(section name)/(section item)`.
|
||||
|
||||
!!Input Tiddler
|
||||
|
||||
A tiddler that contains the input from for adding entries to the section, and if desired options for the section. The title of this tiddler should start with `$:/input/`, this is not strictly required, but it keeps everything consistent.
|
||||
A tiddler that contains the input from for adding entries to the section, and if desired options for the section.
|
||||
|
||||
I don't have any real help for this one, what you do will be dependent on what you want in the section. Look at the examples here, the tiddlers [[$:/input/Resume Title]], [[$:/input/ObjectiveInput1]], [[$:/input/ObjectiveInput2]], [[$:/input/Education]] and [[$:/input/Skills and Expertise]] are examples of what you would make for this.
|
||||
''Required tags'': none<br>
|
||||
''Required name format'': `$:/input/(template name)`<br>
|
||||
''Additional fields'':
|
||||
|
||||
*`caption` - The contents of this field will be displayed as the section name in the [[Resume Wizard]].
|
||||
''Examples'': [[$:/input/Resume Title]], [[$:/input/Education]]
|
||||
|
||||
The data taken from the input tiddler should be stored in the fields of a tiddler named in the form `$:/data/(SectionName)/(ItemName)`.
|
||||
|
||||
I don't have any real help for this one, what you do will be dependent on what you want in the section. Look at the examples. If you have any questions please feel free to ask on the group (https://groups.google.com/forum/#!forum/tiddlywiki).
|
||||
|
||||
!!Options tiddler
|
||||
|
||||
And finally, if you wish, you can make an options tiddler for the section you are adding. You would change the fonts used and list types and similar things here. This tiddler should be tagged with `Options` and all of the settings should be stored following the rules below. Other than that there aren't any restrictions on how to make one. Some examples are [[Education Options]] and [[Previous Employment Options]].
|
||||
A tiddler used to set options for a section.
|
||||
|
||||
All settings and state information about each section should be stored in a tiddler named in the form `$:/settings/(ResumeName)/(SectionName)`
|
||||
''Required tags'': `Options`<br>
|
||||
''Required name format'': `$:/options/(template name)`<br>
|
||||
''Additional fields'':
|
||||
|
||||
For each item within a section all state and configuration information should be kept in a tiddler with a name in the form `$:/settings/(ResumeName)/(SectionName)/(ItemName)`
|
||||
*`caption` - a caption field, it should have something like `(section name) Options`. This is what appears on the tabs in the [[Resume Options]] tiddler.
|
||||
''Examples'': [[$:/options/Education Options]], [[$:/options/Previous Employment Options]].
|
||||
|
||||
These need to be different than the tiddlers holding the data that have names in the form `$:/data/(SectionName)` or `$:/data/(SectionName)/(ItemName)`
|
||||
You would use this tiddler to change the fonts used and list types and similar things here.
|
||||
All settings and state information about each section should be stored in a tiddler named in the form `$:/settings/(ResumeName)/(SectionName)`.
|
||||
For each item within a section all state and configuration information should be kept in a tiddler with a name in the form `$:/settings/(ResumeName)/(SectionName)/(ItemName)`.
|
||||
The options tiddler must only change fields in these tiddlers.
|
||||
|
||||
These tiddlers hold the information about which items/sections are visible in each resume. See the list of system tiddlers for many examples. You don't need to make those tiddlers, you just need to make your input and settings tiddlers create or modify the correct tiddler name and they will be created. See the examples.
|
||||
|
||||
|
@ -57,8 +93,4 @@ If you are going to make your own section, in order to allow the items to be in
|
|||
|
||||
`[prefix[$:/data/(SectionName)/]removeprefix[$:/data/]addprefix[$:/settings/$(ThisResumeName)$/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/]addprefix[$:/data/]]`
|
||||
|
||||
<!--
|
||||
`[prefix[$:/data/(SectionName)/]removeprefix[$:/data/(SectionName)/]addprefix[$:/settings/$(ThisResumeName)$/(SectionName)/]!show[false]sort[order]removeprefix[$:/settings/$(ThisResumeName)$/(SectionName)/]addprefix[$:/data/(SectionName)/]]`
|
||||
-->
|
||||
|
||||
you need to manually replace `(SectionName)` with the name of the section you are adding, and you need to put `<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>` and `</$vars>` around the macro that contains the list widget with the above filter. Look at the examples and it will hopefully make more sense. PreviousEmploymentTemplate is one example.
|
||||
you need to manually replace `(SectionName)` with the name of the section you are adding, and you need to put `<$vars ThisResumeName={{$:/settings/Global!!selected_resume}}>` and `</$vars>` around the macro that contains the list widget with the above filter. Look at the examples and it will hopefully make more sense.
|
|
@ -52,7 +52,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>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
created: 20150719190741300
|
||||
modified: 20150719191131503
|
||||
tags: Options
|
||||
title: Layout Options
|
||||
|
||||
|
@ -26,7 +28,7 @@ title: Layout Options
|
|||
\end
|
||||
|
||||
\define thisSetOrder()
|
||||
<$edit-text tiddler='$:/settings/$(ThisResumeName)$/$(currentTiddler)$' field='order'/>
|
||||
<$edit-text tiddler='$:/settings/$(ThisResumeName)$/$(currentTiddler)$' field='order' size=2/>
|
||||
\end
|
||||
|
||||
<$set name=ThisResumeName value={{$:/settings/Global!!selected_resume}}>
|
||||
|
@ -43,7 +45,9 @@ title: Layout Options
|
|||
<<thisMakeCheckbox>>
|
||||
</td>
|
||||
<td>
|
||||
<$list filter='[<currentTiddler>addprefix[$:/display/]]'>
|
||||
<$view field='section'/>
|
||||
</$list>
|
||||
</td>
|
||||
<td>
|
||||
<<thisSelectTemplate>>
|
||||
|
|
|
@ -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
|
|
@ -15,9 +15,4 @@ title: $:/template/SkillsAndExpertiseTemplate
|
|||
|
||||
<ul>
|
||||
<<thisSkillsAndExpertiseList>>
|
||||
<!--
|
||||
<$list filter='[prefix[$:/data/Skills and Expertise/]!show[false]sort[order]]'>
|
||||
<li><$view field='skill'/></li>
|
||||
</$list>
|
||||
-->
|
||||
</ul>
|
|
@ -0,0 +1,197 @@
|
|||
created: 20150719200725211
|
||||
modified: 20150719235401264
|
||||
tags: Tools
|
||||
title: New Section Creation Tool
|
||||
|
||||
\define thisMakeDisplayTiddler()
|
||||
<$action-setfield $tiddler="""$:/display/$(ThisSection)$""" text="""<$transclude tiddler=GenericSectionDisplayTemplate mode=block/>""" tags="""[[Section Display]]""" section="""$(ThisSection)$"""/>
|
||||
\end
|
||||
|
||||
\define thisInputTiddlerText()
|
||||
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$
|
||||
|
||||
$(ThisAddItemButtonMacro)$
|
||||
|
||||
$(UserInputTiddlerText)$
|
||||
\end
|
||||
|
||||
\define thisMakeInputTiddler()
|
||||
<$action-setfield $tiddler="""$:/input/$(ThisSection)$/$(TemplateName)$""" text=<<thisInputTiddlerText>> tags=Section caption="""$(ThisSection)$"""/>
|
||||
\end
|
||||
|
||||
\define thisOptionsTiddlerText()
|
||||
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$
|
||||
|
||||
$(UserOptionsTiddlerText)$
|
||||
\end
|
||||
|
||||
\define thisMakeOptionsTiddler()
|
||||
<$action-setfield $tiddler="""$:/options/$(ThisSection)$/$(TemplateName)$""" text=<<thisOptionsTiddlerText>> caption="""$(ThisSection)$ Options"""/>
|
||||
\end
|
||||
|
||||
\define thisTemplateTiddlerText()
|
||||
$(TiddlerPreamble)$$(TiddlerPreamble2)$$(TiddlerPreamble3)$
|
||||
|
||||
$(UserTemplateTiddlerText)$
|
||||
\end
|
||||
|
||||
\define thisMakeTemplateTiddler()
|
||||
<$action-setfield $tiddler="""$:/template/$(ThisSection)$/$(TemplateName)$""" text=<<thisTemplateTiddlerText>> input_tiddler="""$:/input/$(ThisSection)$/$(TemplateName)$""" options_tiddler="""$:/options/$(ThisSection)$/$(TemplateName)$""" section_name="""$(ThisSection)$""" template_name="""$(TemplateName)$""" tags=DisplayTemplate/>
|
||||
\end
|
||||
|
||||
''Once you have created your new section you have to go to [[Resume Options]] and select a template and set the section as visible before it will appear in the resume.''
|
||||
|
||||
This is a tool to aid in the creation of custom resume sections. Fill out each section and then click on the 'Create Section' button below. Click on the ^^(?)^^ next to each tiddler name to get more information and a basic example. If you copy all of the examples given they will work together.
|
||||
|
||||
Automatically defined helper macros and values (with the exception of `<<thisAddResumeSectionItem>>` these macros are defined for all of the tiddlers created using this tool.):
|
||||
|
||||
*`<<thisAddResumeSectionItem>>` - This macro places a button that will automatically create the data tiddler using the supplied inputs. It is only available in the input tiddler.
|
||||
*`<<ItemListFilter>>` - This is the list of the names for all items in the current section.
|
||||
*`<<SortedItemFilterList>>` - This is the sorted list data tiddlers for the visible items in the current section.
|
||||
*`<<DataTiddler>>` - The data tiddler for the current item, use this for storing data in the input tiddler and for getting data to display for the template tiddler. This macro only works inside a list using the `<<ItemListFilter>>`
|
||||
*`<<ItemSettingsTiddler>>` - This is where settings should be stored in the options tiddler. This should hold the visibility and order sections for each item. This macro only works inside a list using the `<<ItemListFilter>>`
|
||||
*`<<SectionName>>` - This is the name of the current section.
|
||||
*`<<SectionSettingsTiddler>>` - This is the name of the tiddler containing the settings for the current section. It holds the visibility and order settings, but they are automatically created by the [[Layout Options]] tiddler. You shouldn't need to use this unless you are doing something special.
|
||||
|
||||
Section Name^^(<$button class='tc-btn-invisible' popup='$:/state/popup/SectionNameHelp'>?</$button><$reveal type='popup' state='$:/state/popup/SectionNameHelp'><div class='tc-drop-down'>This should be a short descriptive section name, like 'Resume Title' or 'Lands Conquered'</div></$reveal>)^^:
|
||||
<$edit-text tiddler='$:/temp/NewSection' field='section_name' class='tc-edit-texteditor' placeholder='Section Name'/>
|
||||
|
||||
Input Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/InputTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/InputTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/InputTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/InputTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:
|
||||
|
||||
<$reveal type='match' state='$:/state/popup/InputTiddlerHelp' text=show>
|
||||
<div style="word-wrap: true;">
|
||||
<hr>
|
||||
This is the tiddler used to take input. This should have a way to input data for each field you want for your section items (like start date, end date, employer, ...) This must have a field called 'name' to work with the creation tool.
|
||||
|
||||
A very simple example is:<br>
|
||||
|
||||
<pre>
|
||||
|
||||
```
|
||||
Item Name: <$edit-text tiddler='$:/temp/$(ThisSection)$/NewItem' field=name class='tc-edit-texteditor' placeholder='Item Name'/>
|
||||
|
||||
<<thisAddResumeSectionItem>>
|
||||
|
||||
<$list filter=<<ItemListFilter>>/>
|
||||
```
|
||||
</pre>
|
||||
|
||||
</div>
|
||||
</$reveal>
|
||||
|
||||
<$edit-text tiddler='$:/temp/NewSection/InputTiddler' class='tc-edit-texteditor' placeholder='Input Tiddler Text'/>
|
||||
|
||||
Options Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/OptionsTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/OptionsTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/OptionsTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/OptionsTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:
|
||||
|
||||
<$reveal type='match' state='$:/state/popup/OptionsTiddlerHelp' text=show>
|
||||
<div style="word-wrap: true;">
|
||||
<hr>
|
||||
This is the tiddler listing the options, it should have at least two options:
|
||||
<br>
|
||||
''Visibility'' - a field called `show` given a value of true or false. Checkboxes work well for this. Example: `<$checkbox tiddler=<<ItemSettingsTiddler>> field=show checked=true unchecked=false/>`.<br>
|
||||
''Order'' - a field called `order` that contains a numeric value used to sort the items in the section. Example: `<$edit-text tiddler=<<ItemSettingsTiddler>> field=order size=2/>`.<br>
|
||||
|
||||
|
||||
A very simple example is:<br>
|
||||
|
||||
<pre>
|
||||
|
||||
```
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Visible?
|
||||
</th>
|
||||
<th>
|
||||
Item Name
|
||||
</th>
|
||||
<th>
|
||||
Order
|
||||
</th>
|
||||
</tr>
|
||||
<$list filter=<<ItemListFilter>>>
|
||||
<tr>
|
||||
<td>
|
||||
<$checkbox tiddler=<<ItemSettingsTiddler>> field=show checked=true unchecked=false/>
|
||||
</td>
|
||||
<td>
|
||||
<$view tiddler=<<DataTiddler>> field='name'/>
|
||||
</td>
|
||||
<td>
|
||||
<$edit-text tiddler=<<ItemSettingsTiddler>> field=order size=2/>
|
||||
</td>
|
||||
</tr>
|
||||
</$list>
|
||||
</table>
|
||||
```
|
||||
</pre>
|
||||
<hr>
|
||||
</div>
|
||||
</$reveal>
|
||||
|
||||
<$edit-text tiddler='$:/temp/NewSection/OptionsTiddler' class='tc-edit-texteditor' placeholder='Options Tiddler Text'/>
|
||||
|
||||
Template Tiddler^^(<$reveal type='nomatch' state='$:/state/popup/TemplateTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/TemplateTiddlerHelp' setTo='show'>?</$button></$reveal><$reveal type='match' state='$:/state/popup/TemplateTiddlerHelp' text=show><$button class='tc-btn-invisible' set='$:/state/popup/TemplateTiddlerHelp' setTo='hide'>?</$button></$reveal>)^^:
|
||||
|
||||
<$reveal type='match' state='$:/state/popup/TemplateTiddlerHelp' text=show>
|
||||
<div style="word-wrap: true;">
|
||||
<hr>
|
||||
|
||||
A template tiddler is used to display the section in the final resume. Each template must have a unique name. It should be descriptive (like Basic Objective Template).
|
||||
|
||||
A very example template tiddler is:
|
||||
|
||||
<pre>
|
||||
|
||||
```
|
||||
<h2><$view field='section_name'/></h2>
|
||||
|
||||
<$list filter=<<SortedItemListFilter>>>
|
||||
*<$view field='name'/><br>
|
||||
</$list>
|
||||
```
|
||||
</pre>
|
||||
<hr>
|
||||
</div>
|
||||
</$reveal>
|
||||
|
||||
Template Name:
|
||||
<$edit-text tiddler='$:/temp/NewSection/TemplateTiddler' field=template_name class='tc-edit-texteditor' placeholder='Template Name'/>
|
||||
|
||||
Template:
|
||||
<$edit-text tiddler='$:/temp/NewSection/TemplateTiddler' class='tc-edit-texteditor' placeholder='Template Tiddler Text'/>
|
||||
|
||||
<$vars TiddlerPreamble="""\define SectionsSettingsTiddler() $:/settings/$(ThisResume)$/$(ThisSection)$
|
||||
|
||||
\define ItemListFilter() [prefix[$:/data/$(ThisSection)$/]removeprefix[$:/data/$(ThisSection)$/]]
|
||||
|
||||
\define SortedItemListFilter() [prefix[$:/data/$(ThisSection)$/]removeprefix[$:/data]addprefix[$:/settings/$(ThisResume)$]sort[order]!show[false]removeprefix[$:/settings/$(ThisResume)$]addprefix[$:/data]]
|
||||
|
||||
\define SectionName() $(ThisSection)$
|
||||
|
||||
\define ItemSettingsTiddler() $:/settings/$(ThisResume)$/$(ThisSection)$/$(current"""
|
||||
|
||||
TiddlerPreamble2="""Tiddler)$
|
||||
|
||||
\define DataTiddler() $:/data/$(ThisSection)$/$(current"""
|
||||
|
||||
TiddlerPreamble3="""Tiddler)$
|
||||
|
||||
""" ThisAddItemButtonMacro='\define thisAddResumeSectionItemInside(ItemName)
|
||||
<$action-setfield $tiddler="""$:/temp/$(ThisSection)$/NewItem""" title="""$:/data/$(ThisSection)$/$ItemName$"""/>
|
||||
\end
|
||||
|
||||
\define thisAddResumeSectionItem()
|
||||
<$button>Add Item
|
||||
<$macrocall $name=thisAddResumeSectionItemInside ItemName={{$:/temp/$(ThisSection)$/NewItem!!name}}>
|
||||
</$button>
|
||||
\end
|
||||
|
||||
' ThisSection={{$:/temp/NewSection!!section_name}} ThisResume={{$:/settings/Global!!selected_resume}} UserInputTiddlerText={{$:/temp/NewSection/InputTiddler}} UserOptionsTiddlerText={{$:/temp/NewSection/OptionsTiddler}} UserTemplateTiddlerText={{$:/temp/NewSection/TemplateTiddler}} TemplateName={{$:/temp/NewSection/TemplateTiddler!!template_name}}>
|
||||
<$button>Create Section
|
||||
<$macrocall $name=thisMakeDisplayTiddler/>
|
||||
<$macrocall $name=thisMakeInputTiddler/>
|
||||
<$macrocall $name=thisMakeOptionsTiddler/>
|
||||
<$macrocall $name=thisMakeTemplateTiddler/>
|
||||
</$button>
|
||||
</$vars>
|
Ładowanie…
Reference in New Issue