moved cv section into own partial
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
export const preloadHandlebarsTemplates = async function() {
|
||||
return loadTemplates([
|
||||
"systems/deltagreen/templates/actor/actor-sheet.html",
|
||||
"systems/deltagreen/templates/actor/cv-partial.html",
|
||||
"systems/deltagreen/templates/dialog/modify-percentile-roll.html"
|
||||
]);
|
||||
};
|
||||
@@ -382,32 +382,7 @@
|
||||
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab bio" data-group="primary" data-tab="bio">
|
||||
<div class="bio-grid-5col bio-grid-top-border">
|
||||
<span>{{localize 'DG.CV.Sex'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.sex" value="{{data.biography.sex}}" data-dtype="String" placeholder="{{localize 'DG.CV.SexPlaceholder'}}" />
|
||||
<span></span>
|
||||
<span class="bio-grid-label">{{localize 'DG.CV.AgeAndDoB'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.age" value="{{data.biography.age}}" data-dtype="String" placeholder="{{localize 'DG.CV.AgeAndDoBPlaceholder'}}" />
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
|
||||
<span>{{localize 'DG.CV.Employer'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.employer" value="{{data.biography.employer}}" data-dtype="String" placeholder="{{localize 'DG.CV.EmployerPlaceholder'}}" />
|
||||
|
||||
<span>{{localize 'DG.CV.Nationality'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.nationality" value="{{data.biography.nationality}}" data-dtype="String" placeholder="{{localize 'DG.CV.NationalityPlaceholder'}}" />
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
<span>{{localize 'DG.CV.Education'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.education" value="{{data.biography.education}}" data-dtype="String" placeholder="{{localize 'DG.CV.EducationPlaceholder'}}" />
|
||||
</div>
|
||||
<div>
|
||||
<span style="font-weight: bold;">{{localize 'DG.CV.PhysicalDescriptionLabel'}}</span>
|
||||
</div>
|
||||
{{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}}
|
||||
{{> "systems/deltagreen/templates/actor/cv-partial.html" }}
|
||||
</div>
|
||||
|
||||
{{!-- Bonds Tab --}}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<div class="bio-grid-5col bio-grid-top-border">
|
||||
<span>{{localize 'DG.CV.Sex'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.sex" value="{{data.biography.sex}}" data-dtype="String" placeholder="{{localize 'DG.CV.SexPlaceholder'}}" />
|
||||
<span></span>
|
||||
<span class="bio-grid-label">{{localize 'DG.CV.AgeAndDoB'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.age" value="{{data.biography.age}}" data-dtype="String" placeholder="{{localize 'DG.CV.AgeAndDoBPlaceholder'}}" />
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
|
||||
<span>{{localize 'DG.CV.Employer'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.employer" value="{{data.biography.employer}}" data-dtype="String" placeholder="{{localize 'DG.CV.EmployerPlaceholder'}}" />
|
||||
|
||||
<span>{{localize 'DG.CV.Nationality'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.nationality" value="{{data.biography.nationality}}" data-dtype="String" placeholder="{{localize 'DG.CV.NationalityPlaceholder'}}" />
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
<span>{{localize 'DG.CV.Education'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.education" value="{{data.biography.education}}" data-dtype="String" placeholder="{{localize 'DG.CV.EducationPlaceholder'}}" />
|
||||
</div>
|
||||
<div>
|
||||
<span style="font-weight: bold;">{{localize 'DG.CV.PhysicalDescriptionLabel'}}</span>
|
||||
</div>
|
||||
{{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}}
|
||||
@@ -28,34 +28,8 @@
|
||||
<section class="sheet-body">
|
||||
{{!-- Biography Tab --}}
|
||||
<div class="tab bio" data-group="primary" data-tab="bio">
|
||||
<div class="bio-grid-5col">
|
||||
<span>{{localize 'DG.CV.Sex'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.sex" value="{{data.biography.sex}}" data-dtype="String" placeholder="{{localize 'DG.CV.SexPlaceholder'}}" />
|
||||
<span></span>
|
||||
<span class="bio-grid-label">{{localize 'DG.CV.AgeAndDoB'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.age" value="{{data.biography.age}}" data-dtype="String" placeholder="{{localize 'DG.CV.AgeAndDoBPlaceholder'}}" />
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
|
||||
<span>{{localize 'DG.CV.Employer'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.employer" value="{{data.biography.employer}}" data-dtype="String" placeholder="{{localize 'DG.CV.EmployerPlaceholder'}}" />
|
||||
|
||||
<span>{{localize 'DG.CV.Nationality'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.nationality" value="{{data.biography.nationality}}" data-dtype="String" placeholder="{{localize 'DG.CV.NationalityPlaceholder'}}" />
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bio-grid-2col">
|
||||
<span>{{localize 'DG.CV.Education'}}</span>
|
||||
<input class="fill-remaining-space" type="text" name="data.biography.education" value="{{data.biography.education}}" data-dtype="String" placeholder="{{localize 'DG.CV.EducationPlaceholder'}}" />
|
||||
</div>
|
||||
<div>
|
||||
<span style="font-weight: bold;">{{localize 'DG.CV.PhysicalDescriptionLabel'}}</span>
|
||||
</div>
|
||||
{{editor content=data.physicalDescription target="data.physicalDescription" button=true owner=owner editable=editable}}
|
||||
{{> "systems/deltagreen/templates/actor/cv-partial.html" }}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user