Basic Roleplaying System HTML

Conversion to CSE, and allow the sheet to work without Legacy Sanitization Opt-in.
This commit is contained in:
KPhan1212
2023-03-31 19:40:22 -07:00
committed by GitHub
parent c04c428fd7
commit e36c7c6a08
+11 -11
View File
@@ -73,9 +73,9 @@
</table>
</div>
<!-- Characteristics & Rolls -->
<div class='sheet-col'>
<div class='sheet-col' >
<h3 style="margin-bottom: 0px; text-align: center; color: #FFF; background-color: #000;">Characteristics & Rolls</h3>
<table class="sheet-characteristics">
<table class="sheet-characteristics" style="border-style: solid ; border-color: black ; width: 100%" >
<tbody>
<tr>
@@ -234,10 +234,10 @@
<!-- ********************************************************************************************************************* -->
<!-- Start of alpahbetical skills-->
<input type="checkbox" class="sheet-toggle-alphabetical" name="attr_toggle-alphabetic" style="display: none">
<div class="sheet-skills-alphabetical" />
<div class="sheet-skills-alphabetical" >
<p>
<h3 class="sheet-skills-header">Skills</h3>
<div class="skillmod">
<div class="sheet-skillmod">
<div style="text-align: center;">
<td>Multiplier</td>
<select style="font-size: 15px; margin-bottom: 0px; width: 75px; height: 50px" name="attr_Multiplier">
@@ -725,7 +725,7 @@
</div>
</div>
</p>
<div class="skillmod">
<div class="sheet-skillmod">
<div style="text-align: center;">
<td>Multiplier</td>
<select style="font-size: 15px; margin-bottom: 0px; width: 75px; height: 50px" name="attr_Multiplier">
@@ -749,10 +749,10 @@
<!-- ********************************************************************************************************************* -->
<!-- Start of skills by category-->
<input type="checkbox" class="sheet-toggle-categories" name="attr_toggle-categories" checked="checked" style="display: none">
<div class="sheet-skills-by-category" />
<div class="sheet-skills-by-category" >
<p>
<h3 class="sheet-skills-header">Skills</h3>
<div class="skillmod">
<div class="sheet-skillmod">
<div style="text-align: center;">
<td>Multiplier</td>
<select style="font-size: 15px; margin-bottom: 0px; width: 75px; height: 50px" name="attr_Multiplier">
@@ -1293,7 +1293,7 @@
</div>
</div>
</p>
<div class="skillmod">
<div class="sheet-skillmod">
<div style="text-align: center;">
<td>Multiplier</td>
<select style="font-size: 15px; margin-bottom: 0px; width: 75px; height: 50px" name="attr_Multiplier">
@@ -1681,13 +1681,13 @@
<div style="width: 100%; color: #FFF; background-color: #000;">
<div style="margin-left: 5px ; display: inline">
Dodge
<input style="width:47px" class="sheet-section-header" disabled="true" value="@{Dodge}" type="number" name="attr_Dodge_display" />
<input style="width:47px; color:#000000" class="sheet-section-header" disabled="true" value="@{Dodge}" type="number" name="attr_Dodge_display" />
<input type="checkbox" class="sheet-toggle-alphabetical" name="attr_toggle-alphabetic" style="display: none">
<div class="sheet-skills-alphabetical" />
<div class="sheet-skills-alphabetical" >
<td><button type="roll" style="color:black" value="&{template:skillRoll} {{name=@{Name}}} {{skillvalue=@{Dodge}}} {{fumble=[[ceil(95+(@{Dodge}*@{Multiplier}+@{Mods})/20))]]}} {{crit=[[ceil((@{Dodge}*@{Multiplier}+@{Mods})/20)+1]]}} {{special=[[ceil((@{Dodge}*@{Multiplier}+@{Mods})/5)+1]]}} {{success=[[ceil(@{Dodge}*@{Multiplier}+@{Mods})]]}} {{roll=[[1d100]]}} {{skillname=Dodge}}"/></td>
</div>
<input type="checkbox" class="sheet-toggle-categories" name="attr_toggle-categories" checked="checked" style="display: none">
<div class="sheet-skills-by-category" />
<div class="sheet-skills-by-category" >
<td><button type="roll" style="color:black" value="&{template:skillRoll} {{name=@{Name}}} {{skillvalue=@{Dodge}}} {{fumble=[[ceil(95+((@{Dodge}+@{Physical})*@{Multiplier}+@{Mods})/20)]]}} {{crit=[[ceil(((@{Dodge}+@{Physical})*@{Multiplier}+@{Mods})/20)+1]]}} {{special=[[ceil(((@{Dodge}+@{Physical})*@{Multiplier}+@{Mods})/5)+1]]}} {{success=[[ceil((@{Dodge}+@{Physical})*@{Multiplier}+@{Mods})]]}} {{roll=[[1d100]]}} {{skillname=Dodge}}"/></td>
</div>
</div>