Character sheet update
Signed-off-by: Frédéric CAMPO <frederic@campo.email>
This commit is contained in:
parent
b3e7085f93
commit
c5f752331a
|
|
@ -12,7 +12,7 @@
|
|||
height: 100%;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header {
|
||||
flex: 0 0 100px;
|
||||
flex: 0 0 auto;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
@ -20,26 +20,35 @@
|
|||
justify-content: flex-start;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header .profile-img {
|
||||
flex: 0 0 100px;
|
||||
height: 100px;
|
||||
.vtt_sys_ravenous .sheet-header .header-container {
|
||||
display: grid;
|
||||
grid-template: "a a a" auto "b c d" auto / fit-content(100%) auto auto;
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .pc-name {
|
||||
width: 160px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header .header-fields {
|
||||
flex: 1;
|
||||
height: 100px;
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs {
|
||||
display: grid;
|
||||
grid-area: b;
|
||||
grid-template: "a a a a" "b b c c" "d d e e" "f f g g" "h h i i" / 30px 50px 30px 50px;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header h1.charname {
|
||||
height: 50px;
|
||||
padding: 0px;
|
||||
margin: 5px 0;
|
||||
border-bottom: 0;
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs .caracs-header {
|
||||
grid-area: a;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
text-decoration: underline;
|
||||
}
|
||||
.vtt_sys_ravenous .sheet-header h1.charname input {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs input {
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .sheet-header .header-container .caracs label {
|
||||
}
|
||||
|
||||
.vtt_sys_ravenous .resource {
|
||||
width: 50%;
|
||||
height: 40px;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "vtt_sys_ravenous",
|
||||
"title": "Ravenous Game System",
|
||||
"description": "With ravenous hunger.",
|
||||
"version": "0.0.5e",
|
||||
"version": "0.0.5f",
|
||||
"minimumCoreVersion": "0.8.9",
|
||||
"compatibleCoreVersion": "9",
|
||||
"author": "Cocobug Inc.",
|
||||
|
|
|
|||
|
|
@ -2,6 +2,16 @@
|
|||
"Actor": {
|
||||
"types": ["character"],
|
||||
"character": {
|
||||
"caracteristics": {
|
||||
"str": 0,
|
||||
"agi": 0,
|
||||
"per": 0,
|
||||
"chr": 0,
|
||||
"int": 0,
|
||||
"wpr": 0,
|
||||
"psy": 0,
|
||||
"chn": 0
|
||||
},
|
||||
"biography": "",
|
||||
"health": {
|
||||
"value": 10,
|
||||
|
|
|
|||
|
|
@ -2,24 +2,29 @@
|
|||
|
||||
{{!-- Sheet Header --}}
|
||||
<header class="sheet-header">
|
||||
<img class="profile-img" src="{{data.img}}" data-edit="img" title="{{data.name}}" height="100" width="100" />
|
||||
<div class="header-fields">
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{data.name}}" placeholder="Name" />
|
||||
</h1>
|
||||
<div class="resource">
|
||||
<input type="number" name="data.health.value" value="{{systemData.health.value}}"/>
|
||||
<span> / </span>
|
||||
<input type="number" name="data.health.max" value="{{systemData.health.max}}"/>
|
||||
<div class="header-container">
|
||||
<div><input class="pc-name" type="text" placeholder="Name" value="{{data.name}}"></div>
|
||||
<div class="caracs">
|
||||
<div class="caracs-header"><h3>Caracteristiques</h3></div>
|
||||
<div><label for="strenght">Str</label></div>
|
||||
<div><input id="strenght" type="number" value="{{systemData.caracteristics.str}}"></div>
|
||||
<div><label for="intelligence">Int</label></div>
|
||||
<div><input id="intelligence" type="number" value="{{systemData.caracteristics.int}}"></div>
|
||||
<div><label for="agility">Agi</label></div>
|
||||
<div><input id="agility" type="number" value="{{systemData.caracteristics.agi}}"></div>
|
||||
<div><label for="willpower">WP</label></div>
|
||||
<div><input id="willpower" type="number" value="{{systemData.caracteristics.wpr}}"></div>
|
||||
<div><label for="psy">Psy</label></div>
|
||||
<div><input id="psy" type="number" value="{{systemData.caracteristics.psy}}"></div>
|
||||
<div><label for="charisma">Chr</label></div>
|
||||
<div><input id="charisma" type="number" value="{{systemData.caracteristics.chr}}"></div>
|
||||
<div><label for="perception">Per</label></div>
|
||||
<div><input id="perception" type="number" value="{{systemData.caracteristics.per}}"></div>
|
||||
<div><label for="luk">Luk</label></div>
|
||||
<div><input id="luk" type="number" value="{{systemData.caracteristics.luk}}"></div>
|
||||
</div>
|
||||
<div class="resource">
|
||||
<input type="number" name="data.power.value" value="{{systemData.power.value}}"/>
|
||||
<span> / </span>
|
||||
<input type="number" name="data.power.max" value="{{systemData.power.max}}"/>
|
||||
</div>
|
||||
<h1 class="charname">
|
||||
<input name="name" type="text" value="{{systemData.torque}}" placeholder="Name" />
|
||||
</h1>
|
||||
<div>Zone PV</div>
|
||||
<div>Zone Armure</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
|
|
|||
Reference in New Issue