header items clickable

This commit is contained in:
Mark
2016-02-08 22:08:27 +01:00
parent d49e2b7393
commit 62063c07e1
2 changed files with 19 additions and 35 deletions
File diff suppressed because one or more lines are too long
@@ -6,56 +6,39 @@
</div>
<div class="character-name">
<input type="text" name="attr_character_name">
<div class="wrap-box-label pc">{{'CHARACTER_NAME' | translate}}</div>
<div class="wrap-box-label npc">{{'CREATURE_NAME' | translate}}</div>
<button type="roll" name="roll_name" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} {{show_character_name=1}}">
<div class="wrap-box-label">{{'CHARACTER_NAME' | translate}}</div>
</button>
</div>
</div>
<div class="col-60 header-info">
<div class="wrap-box pad-md">
<div class="shaped-row">
<div class="col-70 pad-r-lg">
<div class="pc">
<input type="text" name="attr_class_and_level" placeholder="set on Character" readonly>
<input type="text" name="attr_class_and_level" placeholder="set on Character" readonly>
<button type="roll" name="roll_class" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=Class & Level}} {{text_big=@{class_and_level}}}">
<div class="wrap-box-label">{{'CLASS_AND_LEVEL' | translate}}</div>
</div>
<div class="npc">
<input type="text" name="attr_challenge" class="center" value="0">
<div class="wrap-box-label center">{{'CHALLENGE' | translate}}</div>
</div>
</button>
</div>
<div class="col-30">
<div class="pc">
<input type="text" name="attr_background">
<input type="text" name="attr_background">
<button type="roll" name="roll_background" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=Background}} {{text_big=@{background}}}">
<div class="wrap-box-label">{{'BACKGROUND' | translate}}</div>
</div>
<div class="npc">
<input type="text" name="attr_size">
<div class="wrap-box-label">{{'SIZE' | translate}}</div>
</div>
</button>
</div>
</div>
<div class="shaped-row">
<div class="col-35 pad-r-lg">
<div class="pc">
<input type="text" name="attr_race">
<input type="text" name="attr_race">
<button type="roll" name="roll_race" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=Race}} {{text_big=@{race}}}">
<div class="wrap-box-label">{{'RACE' | translate}}</div>
</div>
<div class="npc">
<input type="text" name="attr_npc_type">
<div class="wrap-box-label">{{'TYPE' | translate}}</div>
</div>
</button>
</div>
<div class="col-35 pad-r-lg">
<input type="text" name="attr_alignment">
<div class="wrap-box-label">{{'ALIGNMENT' | translate}}</div>
<button type="roll" name="roll_race" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=Alignment}} {{text_big=@{alignment}}}">
<div class="wrap-box-label">{{'ALIGNMENT' | translate}}</div>
</button>
</div>
<div class="col-30">
<div class="shaped-row flex-end">
@@ -67,8 +50,9 @@
<input type="number" name="attr_xp_next_level" readonly>
</div>
</div>
<div class="wrap-box-label">{{'EXPERIENCE_POINTS' | translate}}</div>
<button type="roll" name="roll_race" class="wrapper-button" value="@{output_option} &{template:5e-shaped} {{character_name=@{character_name}}} @{show_character_name} {{title=Experience Points}} {{text_big=[[@{xp}]]&#47;[[@{xp_next_level}]]}}">
<div class="wrap-box-label">{{'EXPERIENCE_POINTS' | translate}}</div>
</button>
</div>
</div>
</div>