Add notes textarea to skills and combat tab.
This commit is contained in:
Ken
2022-07-30 20:23:47 -07:00
parent 39124ca040
commit e6cffa4ddf
2 changed files with 75 additions and 20 deletions
+23
View File
@@ -493,6 +493,29 @@ input[name="attr_announcements_hide"][value="1"] ~ .sheet-update-alert {
font-size: 30px;
}
/**** Generic Textarea notes *****/
.sheet-table-generic-notes .sheet-header {
height: 24px;
}
input.sheet-hidden-generic-notes-toggle ~ div.sheet-wrapper-generic-textarea-notes {
display: none !important;
}
input.sheet-hidden-generic-notes-toggle[value="1"] ~ div.sheet-wrapper-generic-textarea-notes {
display: block !important;
}
.sheet-wrapper-generic-textarea-notes {
height: 200px !important;
padding-bottom: 3px;
}
.sheet-wrapper-generic-textarea-notes textarea.sheet-generic-textrea-notes {
height: 185px !important;
width: 98%;
}
/*******************************************************/
/* Set the thrust damage dice based on selected option */
input.sheet-thrust-damage-dice-icon[value="explode"] ~ button[type=roll].roll_damage::before {
+52 -20
View File
@@ -4358,24 +4358,10 @@
<input type="text" name="attr_announcement_version" readonly="readonly" value="0" title="GURPS Character Sheet Version" />
</h4>
<!-- current version notes: 2.8.0 -->
<!-- current version notes: 2.8.1 -->
<ul>
<li>
Repeating Ranged Table. If the malfunction value is used and the malfunction value is lower than the effective skill, the malfunctin
value will be used as the effective skill. This will prevent confusion if your roll is says hit but the malfunction description appears.
</li>
<li>
Repeating Skills Table. Added new <b>Conditionals</b> textarea. Useful for keeping track of conditional modifiers for a skill. Such as <b>Navigation (Land): </b> <i>+1 from Compass</i>.
</li>
<li>
Add note to armor divisor, values are rounded down.
</li>
<li>
Combat Tab. Melee sub-tab. Add Slam calculator tool, taylored to the slam tools, instead of using the generic collision/falling damage tool.
</li>
<li>
Combat Tab. Defense sub-tab. Removed misleading success notes for Dodge & Retreat rolls. Reported by Uncle Mojo.
</li>
<li>Skills Tab. Add a collapsible notes area.</li>
<li>Combat Tab. Add a collapsible notes area.</li>
</ul>
<label class="check"><input type="checkbox" name="attr_announcements_hide" value="1">&nbsp;<b><span data-i18n="hide-until-next-update">Hide until next update</span></b></label>
@@ -8067,6 +8053,24 @@ Engineering: Back to School.
<!-- ===== ===== ===== ===== SKILLS TAB ===== ===== ===== ===== -->
<div class="tab3">
<div class="box skills">
<div class="table table-generic-notes">
<div class="header">
<div class="cell">
<div class="item">
<input type="checkbox" value="1" name="attr_toggle_skills_notes" class="arrow-toggle margin-left-sm" title="View notes for skills." />
</div>
</div>
<div class="cell">
<span data-i18n="notes-label">Notes</span>
</div>
</div>
<input type="hidden" name="attr_toggle_skills_notes" class="hidden-generic-notes-toggle" />
<div class="row wrapper-generic-textarea-notes">
<textarea name="attr_skills_notes" class="generic-textrea-notes"></textarea>
</div>
</div>
</div>
<!-- _____ _____ SKILLS BOX _____ _____ -->
<div class="box skills">
@@ -8865,6 +8869,25 @@ visualize what it will look like in chat.
<!-- ===== ===== ===== ===== COMBAT TAB ===== ===== ===== ===== -->
<div class="tab4">
<div class="box skills" style="margin-bottom:6px;">
<div class="table table-generic-notes">
<div class="header">
<div class="cell">
<div class="item">
<input type="checkbox" value="1" name="attr_toggle_combat_notes" class="arrow-toggle margin-left-sm" title="View notes for combat." />
</div>
</div>
<div class="cell">
<span data-i18n="notes-label">Notes</span>
</div>
</div>
<input type="hidden" name="attr_toggle_combat_notes" class="hidden-generic-notes-toggle" />
<div class="row wrapper-generic-textarea-notes">
<textarea name="attr_combat_notes" class="generic-textrea-notes"></textarea>
</div>
</div>
</div>
<!-- see: https://codepen.io/YozhEzhi/pen/gcLpI/ -->
<div class="tabbed">
@@ -13999,7 +14022,16 @@ Slam uses either DX, Brawling, or Sumo Wrestling. Note that the -4 to hit and ef
<p>Pull Request: <span name="attr_latest_changes"></span></p>
<!-- current version notes: 2.8.0 -->
<!-- current version notes: 2.8.1 -->
<ul>
<li>Skills Tab. Add a collapsible notes area.</li>
<li>Combat Tab. Add a collapsible notes area.</li>
</ul>
<h4>Version: 2.8.0</h4>
<p>Pull Request: 7/26/2022</p>
<ul>
<li>
Repeating Ranged Table. If the malfunction value is used and the malfunction value is lower than the effective skill, the malfunctin
@@ -17105,9 +17137,9 @@ Slam uses either DX, Brawling, or Sumo Wrestling. Note that the -4 to hit and ef
const noop = function () { }; // do nothing callback function.
const version = "2.8.0";
const version = "2.8.1";
const latestChangesDate = "7/26/2022";
const latestChangesDate = "7/30/2022";
let modCascade = true;