remove unused templates

This commit is contained in:
jalensailin
2025-07-23 21:34:34 -04:00
parent 1a1f66c6d3
commit 8d2f1caeb8
7 changed files with 1 additions and 586 deletions
+1 -4
View File
@@ -47,10 +47,7 @@ export default class DGAgentSheet extends DGActorSheet {
gear: this.BASE_PARTS.gear,
bio: {
template: `${this.TEMPLATE_PATH}/parts/bio-tab.html`,
templates: [
`${this.TEMPLATE_PATH}/partials/cv-partial.html`,
`${this.TEMPLATE_PATH}/partials/notes-partial.html`,
],
templates: [`${this.TEMPLATE_PATH}/partials/notes-partial.html`],
scrollable: [""],
},
bonds: {
-7
View File
@@ -6,14 +6,7 @@
export default async function preloadHandlebarsTemplates() {
return foundry.applications.handlebars.loadTemplates([
"systems/deltagreen/templates/actor/limited-sheet.html",
"systems/deltagreen/templates/actor/unnatural-sheet.html",
"systems/deltagreen/templates/actor/npc-sheet.html",
"systems/deltagreen/templates/actor/npc-limited-sheet.html",
"systems/deltagreen/templates/dialog/modify-percentile-roll.html",
"systems/deltagreen/templates/actor/vehicle-sheet.html",
"systems/deltagreen/templates/actor/partials/custom-skills-partial.html",
"systems/deltagreen/templates/actor/partials/cv-partial.html",
"systems/deltagreen/templates/actor/partials/help-and-licensing-partial.html",
"systems/deltagreen/templates/actor/partials/attributes-grid-partial.html",
]);
}
-207
View File
@@ -1,207 +0,0 @@
<form class="{{cssClass}} {{getCharacterSheetStyle}} flexcol"
autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
{{!-- Name, Profession, Portrait --}}
<div class="flexrow">
<img class="profile-img"
src="{{actor.img}}"
data-edit="img"
title="{{actor.name}}"
height="150"
width="100" />
<div>
<div>
<h1 class="charname">
<input name="name" type="text" value="{{actor.name}}" />
</h1>
</div>
<div class="">
<h2 class="profession">
<input name="system.shortDescription"
type="text"
value="{{actor.system.shortDescription}}"
placeholder="{{localize 'DG.FallbackText.ProfessionAndOrRank'}}" />
</h1>
</div>
</div>
</div>
<div class="resources grid grid-3col bottom-margin-5px">
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value"
class="resource-label"
data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">
{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.health.value"
value="{{actor.system.health.value}}"
data-dtype="Number" />
<span>/</span>
<!-- <input type="text"
name="system.health.max"
value="{{actor.system.health.max}}"
data-dtype="Number" /> -->
<div class="max-resource-value"
title="{{localize 'DG.Tooltip.MaximumHP'}}">
<div>{{numberFormat actor.system.health.max decimals=0 sign=false}}</div>
</div>
</div>
</div>
{{!-- WP --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value"
class="resource-label"
data-tooltip="{{localize 'DG.Attributes.Tooltip.WP'}}">
{{localize 'DG.Attributes.WP' }}
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.wp.value"
value="{{actor.system.wp.value}}"
data-dtype="Number" />
<span>/</span>
<!-- <input type="text"
name="system.wp.max"
value="{{actor.system.wp.max}}"
data-dtype="Number" /> -->
<div class="max-resource-value"
title="{{localize 'DG.Tooltip.MaximumWP'}}">
<div>{{numberFormat actor.system.wp.max decimals=0 sign=false}}</div>
</div>
</div>
</div>
{{!-- Sanity --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value"
class="resource-label rollable"
data-rolltype="sanity"
data-tooltip="{{localize 'DG.Attributes.Tooltip.SAN'}}">
{{localize 'DG.Attributes.SAN' }} <i class="fas fa-dice"></i>
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.sanity.value"
value="{{actor.system.sanity.value}}"
data-dtype="Number"
title="{{localize 'DG.Tooltip.CurrentSanityPartOne'}}{{actor.system.sanity.currentBreakingPoint}}{{localize 'DG.Tooltip.CurrentSanityPartTwo'}}" />
<span>{{localize 'DG.NPCSheet.BreakPointAbbreviation'}}:</span>
<input type="text"
name="system.sanity.currentBreakingPoint"
value="{{actor.system.sanity.currentBreakingPoint}}"
data-dtype="Number"
title="{{localize 'DG.Tooltip.BreakPoint'}}" />
</div>
</div>
</div>
{{!-- Physical Statistics like STR, CON, etc. --}}
<div class="">
<div class="horizontal-bar-section-divider">
<span>{{localize "DG.Sheet.BlockHeaders.Statistics"}}</span>
</div>
{{> "systems/deltagreen/templates/actor/partials/attributes-grid-partial.html" actorType="npc"}}
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="skills">{{localize 'DG.UnnaturalSheet.Tabs.NotesTabLabel'}}</a>
<a class="item" data-tab="gear">{{localize 'DG.UnnaturalSheet.Tabs.ItemsTabLabel'}}</a>
<a class="item fas fa-question-circle" data-tab="about"></a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Descriptions/Notes/Skills Tab --}}
<div class="tab skills" data-group="primary" data-tab="skills">
<div class="horizontal-bar-section-divider contains-hide-button">
<span class="contains-hide-button-title">
{{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}}
{{!-- Checkbox to hide/show skills that are at zero --}}
</span>
<a class="toggle-untrained" data-action="toggleShowUntrained">
{{#if actor.system.showUntrainedSkills }}
{{localize 'DG.UnnaturalSheet.ShowUntrainedSkillsLabel'}}
{{else}}
{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}
{{/if}}&nbsp;
<i class="far fa-eye
{{#if actor.system.showUntrainedSkills }}
-slash{{/if }}"></i>
</a>
</div>
<div class="grid grid-3col">
{{#each actor.system.sortedSkills as |skill key| }}
{{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency) }}
<div class="flexrow flex-group-left flex-thin-border">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }}
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label"
data-rolltype="skill"
data-key="{{skill.key}}"
for="system.skills.{{skill.key}}.value"
{{#if skill.proficiency }}
data-tooltip="{{localize 'DG.Tooltip.SkillLabel' }}"
{{/if}}
{{#unless skill.proficiency}}
data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"
{{/unless}}>
<i class="fas fa-dice"></i>
</label>
<input class="percentile-skill-input"
type="text"
name="system.skills.{{skill.key}}.proficiency"
value="{{skill.proficiency}}"
data-dtype="Number"
{{#if skill.isCalculatedValue }}
disabled
{{/if }} />
</div>
{{/if}}
{{/each}}
</div>
<br>
<div>{{> "systems/deltagreen/templates/actor/partials/custom-skills-partial.html"}}</div>
<br>
<div>
<span class="resource-label">{{localize 'DG.UnnaturalSheet.NotesLabel'}}</span>
</div>
<div class="unnatural-notes-section">
<div class="editor-host">
{{editor enrichedDescription target="system.notes" engine="prosemirror" button=true owner=owner editable=editable}}
</div>
</div>
</div>
{{!-- GEAR --}}
<div class="tab items" data-group="primary" data-tab="gear">
{{> "systems/deltagreen/templates/actor/partials/equipment-partial.html" }}
</div>
{{!-- About Tab --}}
<div class="tab about" data-group="primary" data-tab="about">
{{> "systems/deltagreen/templates/actor/partials/help-and-licensing-partial.html" }}
</div>
</section>
</form>
-57
View File
@@ -1,57 +0,0 @@
<div class="bio-grid-5col bio-grid-top-border">
<span>{{localize 'DG.CV.Sex'}}</span>
<input class="fill-remaining-space" type="text" name="system.biography.sex" value="{{actor.system.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="system.biography.age" value="{{actor.system.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="system.biography.employer" value="{{actor.system.biography.employer}}" data-dtype="String" placeholder="{{localize 'DG.CV.EmployerPlaceholder'}}" />
<span>{{localize 'DG.CV.Nationality'}}</span>
<input class="fill-remaining-space" type="text" name="system.biography.nationality" value="{{actor.system.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="system.biography.education" value="{{actor.system.biography.education}}" data-dtype="String" placeholder="{{localize 'DG.CV.EducationPlaceholder'}}" />
</div>
{{#if (showImpossibleLandscapesContent)}}
<div class="yellow-king yellow-king-grid-9col">
<span class="yellow-king yellow-king-rotate2">{{localize 'DG.ImpossibleLanscapes.IHaveSeenThe'}}</span>
<span></span>
<span class="yellow-king yellow-sign">{{localize 'DG.ImpossibleLanscapes.YellowSign'}}</span>
<input type="checkbox" name="system.corruption.haveSeenTheYellowSign" {{checked actor.system.corruption.haveSeenTheYellowSign}} data-dtype="Boolean" />
<span></span>
<span class="yellow-king yellow-king-rotate1">{{localize 'DG.ImpossibleLanscapes.CorruptionFirstHalf'}}</span>
<span class="yellow-king yellow-king-rotate4">{{localize 'DG.ImpossibleLanscapes.CorruptionSecondHalf'}}</span>
<span></span>
<input class="yellow-king" type="number" placeholder="0" name="system.corruption.value" value="{{actor.system.corruption.value}}" />
</div>
<div class="yellow-king yellow-king-grid-5col">
<span class="yellow-king-label">{{localize 'DG.ImpossibleLanscapes.Gift'}}</span>
<input class="fill-remaining-space" type="text" name="system.corruption.gift" value="{{actor.system.corruption.gift}}" data-dtype="String" />
<span></span>
<span class="yellow-king-label">{{localize 'DG.ImpossibleLanscapes.Insight'}}</span>
<input class="fill-remaining-space" type="text" name="system.corruption.insight" value="{{actor.system.corruption.insight}}" data-dtype="String" />
</div>
{{/if}}
{{!-- <div style="padding: 2px; margin-bottom: 5px;"> --}}
<div class="horizontal-bar-section-divider">
<span class="">{{localize "DG.Sheet.BlockHeaders.PhysicalDescriptionNotes"}}</span>
</div>
<div class="editor-host">
{{editor enrichedDescription target="system.physicalDescription" engine="prosemirror" button=true owner=owner editable=editable}}
</div>
@@ -1,37 +0,0 @@
<div class="about-section-header">
</div>
<div class="flex horizontal-flex-column">
<div>
<a class="fas fa-question-circle"
title="{{localize 'DG.About.OnlineHelpTooltip'}}"
href="https://github.com/TheLastScrub/delta-green-foundry-vtt-system/blob/master/documentation/home.md">
{{localize 'DG.About.OnlineHelp'}}
</a>
</div>
<div>
<a class="fas fa-bug"
title="{{localize 'DG.About.OnlineBugTrackerTooltip'}}"
href="https://github.com/TheLastScrub/delta-green-foundry-vtt-system/issues">
{{localize 'DG.About.OnlineBugTracker'}}
</a>
</div>
<div>
<a class="fas fa-plus-circle"
title="CHANGELOG (ONLINE)"
href="https://github.com/TheLastScrub/delta-green-foundry-vtt-system/blob/master/CHANGELOG.md">
CHANGELOG (ONLINE)
</a>
</div>
<div>
<p>
Published by Arc Dream Publishing by arrangement with the Delta Green Partnership.
The intellectual property known as Delta Green is a trademark and copyright owned by the Delta Green Partnership, who has licensed its use here.
</p>
<p>
The contents of this system are licensed per the terms of the included <a href="systems/deltagreen/LICENSE.txt">license</a> file, excepting those elements that are components of the Delta Green intellectual property.
</p>
</div>
</div>
-194
View File
@@ -1,194 +0,0 @@
<form class="{{cssClass}} {{getCharacterSheetStyle}} flexcol"
autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
{{!-- Name, Profession, Portrait --}}
<div class="flexrow">
<img class="profile-img"
src="{{actor.img}}"
data-edit="img"
height="150"
width="100" />
<div>
<div>
<h1 class="charname">
<input name="name" type="text" value="{{actor.name}}" />
</h1>
</div>
<div class="">
<h2 class="profession">
<input name="system.shortDescription"
type="text"
value="{{actor.system.shortDescription}}"
placeholder="{{localize 'DG.UnnaturalSheet.ShortDescriptionFallbackText'}}" />
</h1>
</div>
</div>
</div>
<div class="resources grid grid-3col bottom-margin-5px">
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value"
class="resource-label"
data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">
{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.health.value"
value="{{actor.system.health.value}}"
data-dtype="Number" />
<span>/</span>
<input type="text"
name="system.health.max"
value="{{actor.system.health.max}}"
data-dtype="Number" />
</div>
</div>
{{!-- WP --}}
<div class="resource-outer-grid-1col">
<label for="system.wp.value"
class="resource-label"
data-tooltip="{{localize 'DG.Attributes.Tooltip.WP'}}">
{{localize 'DG.Attributes.WP' }}
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.wp.value"
value="{{actor.system.wp.value}}"
data-dtype="Number" />
<span>/</span>
<input type="text"
name="system.wp.max"
value="{{actor.system.wp.max}}"
data-dtype="Number" />
</div>
</div>
{{!-- Sanity Damage --}}
<div class="resource-outer-grid-1col">
<label class="resource-label rollable"
data-rolltype="sanity-damage"
data-tooltip="{{localize 'DG.Attributes.Tooltip.SAN'}}">
{{localize 'DG.Attributes.SAN'}} <i class="fas fa-dice"></i>
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.sanity.successLoss"
value="{{actor.system.sanity.successLoss}}" />
<span>/</span>
<input type="text"
name="system.sanity.failedLoss"
value="{{actor.system.sanity.failedLoss}}" />
</div>
</div>
</div>
{{!-- Physical Statistics like STR, CON, etc. --}}
<div class="">
<div class="horizontal-bar-section-divider">
<span>{{localize "DG.Sheet.BlockHeaders.Statistics"}}</span>
</div>
{{> "systems/deltagreen/templates/actor/partials/attributes-grid-partial.html" actorType="unnatural"}}
</div>
</div>
</header>
{{!-- Sheet Tab Navigation --}}
<nav class="sheet-tabs tabs" data-group="primary">
<a class="item" data-tab="skills">{{localize 'DG.UnnaturalSheet.Tabs.NotesTabLabel'}}</a>
<a class="item" data-tab="gear">{{localize 'DG.UnnaturalSheet.Tabs.ItemsTabLabel'}}</a>
<a class="item fas fa-question-circle" data-tab="about"></a>
</nav>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Descriptions/Notes/Skills Tab --}}
<div class="tab skills" data-group="primary" data-tab="skills">
<div class="horizontal-bar-section-divider contains-hide-button">
<span class="contains-hide-button-title">
{{localize "DG.Sheet.BlockHeaders.SkillsAndTraining"}}
{{!-- Checkbox to hide/show skills that are at zero --}}
</span>
<a class="toggle-untrained" data-action="toggleShowUntrained">
{{#if actor.system.showUntrainedSkills }}
{{localize 'DG.UnnaturalSheet.ShowUntrainedSkillsLabel'}}
{{else}}
{{localize 'DG.UnnaturalSheet.HideUntrainedSkillsLabel'}}
{{/if}}&nbsp;
<i class="far fa-eye
{{#if actor.system.showUntrainedSkills }}
-slash{{/if }}"></i>
</a>
</div>
<div class="grid grid-3col">
{{#each actor.system.sortedSkills as |skill key| }}
{{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency) }}
<div class="flexrow flex-group-left flex-thin-border">
<label data-tooltip="{{localize (concat 'DG.Skills.Tooltip.' skill.key)}}">
{{localizeWithFallback (concat "DG.Skills." skill.key) skill.label }}
</label>
<label class="{{if_gt skill.proficiency 0 'rollable' 'not-rollable'}} skill-label"
data-rolltype="skill"
data-roll="d100"
data-key="{{skill.key}}"
for="system.skills.{{skill.key}}.value"
{{#if skill.proficiency }}
data-tooltip="{{localize 'DG.Tooltip.SkillLabel' }}"
{{/if}}
{{#unless skill.proficiency}}
data-tooltip="{{localize 'DG.Tooltip.CannotRollSkillLabel'}}"
{{/unless}}>
<i class="fas fa-dice"></i>
</label>
<input class="percentile-skill-input"
type="text"
name="system.skills.{{skill.key}}.proficiency"
value="{{skill.proficiency}}"
data-dtype="Number"
{{#if skill.isCalculatedValue }}
disabled
{{/if }} />
</div>
{{/if}}
{{/each}}
</div>
<br>
<div>{{> "systems/deltagreen/templates/actor/partials/custom-skills-partial.html"}}</div>
<br>
<div>
<span class="resource-label">{{localize 'DG.UnnaturalSheet.NotesLabel'}}</span>
</div>
<div class="unnatural-notes-section">
<div class="editor-host">
{{editor enrichedDescription target="system.notes" engine="prosemirror" button=true owner=owner editable=editable}}
</div>
</div>
</div>
{{!-- GEAR --}}
<div class="tab items" data-group="primary" data-tab="gear">
{{> "systems/deltagreen/templates/actor/partials/equipment-partial.html" }}
</div>
{{!-- About Tab --}}
<div class="tab about" data-group="primary" data-tab="about">
{{> "systems/deltagreen/templates/actor/partials/help-and-licensing-partial.html" }}
</div>
</section>
</form>
-80
View File
@@ -1,80 +0,0 @@
<form class="{{cssClass}} {{getCharacterSheetStyle}} flexcol"
autocomplete="off">
{{!-- Sheet Header --}}
<header class="sheet-header">
<div class="header-fields">
{{!-- Name, Portrait --}}
<div class="flexrow">
<img class="profile-img"
src="{{actor.img}}"
data-edit="img"
title="{{actor.name}}"
height="150"
width="100" />
<div>
<div>
<h1 class="charname">
<input name="name" type="text" value="{{actor.name}}" />
</h1>
</div>
<div class="">
<h2 class="profession">
<input name="system.shortDescription"
type="text"
value="{{actor.system.shortDescription}}"
placeholder="{{localize 'DG.VehicleSheet.DescriptionPlaceHolder'}}" />
</h1>
</div>
</div>
</div>
<div class="resources grid grid-3col">
{{!-- HP --}}
<div class="resource-outer-grid-1col">
<label for="actor.system.health.value"
class="resource-label"
data-tooltip="{{localize 'DG.Attributes.Tooltip.HP'}}">
{{localize 'DG.Attributes.HP'}} (<span>{{actor.system.health.protection}} <i class="fas fa-shield-alt"></i></span>)
</label>
<div class="resource-inner-grid-3col">
<input type="text"
name="system.health.value"
value="{{actor.system.health.value}}"
data-dtype="Number" />
<span>/</span>
<input type="text"
name="system.health.max"
value="{{actor.system.health.max}}"
data-dtype="Number" />
</div>
</div>
</div>
</div>
</header>
{{!-- Sheet Body --}}
<section class="sheet-body">
{{!-- Descriptions (Notes) --}}
<div class="tab skills top-div-border"
data-group="primary"
data-tab="notes">
<div>
<span class="resource-label">{{localize 'DG.VehicleSheet.NotesLabel'}}</span>
</div>
<div class="unnatural-notes-section">
<div class="editor-host">
{{editor enrichedDescription target="system.description" engine="prosemirror" button=true owner=owner editable=editable}}
</div>
</div>
</div>
</section>
</form>