Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
167 lines (152 sloc) 5.7 KB
<!doctype html>
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Bard</title>
<meta name="description" content="Bard - Tell the story of your Pathfinder RPG Character">
<meta name="author" content="Mike Cooper <mythmon@gmail.com>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet/less" type="text/css" href="style/bard.less">
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript">
ENV = window.ENV || {};
ENV.CP_DEFAULT_CACHEABLE = true;
ENV.VIEW_PRESERVES_CONTEXT = true;
</script>
</head>
<body>
<script type="text/x-handlebars">
<div class="sheet">
<h1>Character Sheet</h1>
{{#with Bard.characterController.character}}
<div class="logo block">
Bard.Legend
</div>
<div class="basics block">
<div class="name">
<label>Character Name</label>
{{view Ember.TextField valueBinding="name"}}
</div>
<div class="alignment">
<label>Alignment</label>
{{view Ember.TextField valueBinding="alignment"}}
</div>
<div class="player_name">
<label>Player</label>
{{view Ember.TextField valueBinding="player_name"}}
</div>
<div class="class">
<label>Class</label>
{{view Ember.Select
contentBinding = "Bard.Knowledge.classes.content"
optionLabelPath = "content.display_name"
optionValuePath = "content.name"
valueBinding = "class_name"
prompt = "---"
}}
</div>
<div class="level">
<label>Level</label>
{{view Ember.TextField valueBinding="level"}}
</div>
</div>
<div class="abilities block">
<div class="labels">
<label>Abilities</label>
<span>Score</span>
<span>Mod</span>
</div>
<div class="str">
<label>Strength</label>
{{view Ember.TextField valueBinding="str"}}
<input type="text" disabled {{bindAttr value="str_mod"}} />
</div>
<div class="dex">
<label>Dexterity</label>
{{view Ember.TextField valueBinding="dex"}}
<input type="text" disabled {{bindAttr value="dex_mod"}} />
</div>
<div class="con">
<label>Constitution</label>
{{view Ember.TextField valueBinding="con"}}
<input type="text" disabled {{bindAttr value="con_mod"}} />
</div>
<div class="int">
<label>Intelligence</label>
{{view Ember.TextField valueBinding="int"}}
<input type="text" disabled {{bindAttr value="int_mod"}} />
</div>
<div class="wis">
<label>Wisdom</label>
{{view Ember.TextField valueBinding="wis"}}
<input type="text" disabled {{bindAttr value="wis_mod"}} />
</div>
<div class="cha">
<label>Charisma</label>
{{view Ember.TextField valueBinding="cha"}}
<input type="text" disabled {{bindAttr value="cha_mod"}} />
</div>
</div>
<div class="saves block">
<div class="labels">
<label>Saves</label>
<span>Total</span>
<span>Base</span>
<span>Ability</span>
</div>
<div class="fort">
<label>Fortitude</label>
<input type="text" disabled {{bindAttr value="fort"}} />
{{view Ember.TextField valueBinding="fort_base"}}
<input type="text" disabled {{bindAttr value="fort_abil"}} />
</div>
<div class="refl">
<label>Reflex</label>
<input type="text" disabled {{bindAttr value="refl"}} />
{{view Ember.TextField valueBinding="refl_base"}}
<input type="text" disabled {{bindAttr value="refl_abil"}} />
</div>
<div class="will">
<label>Will</label>
<input type="text" disabled {{bindAttr value="will"}} />
{{view Ember.TextField valueBinding="will_base"}}
<input type="text" disabled {{bindAttr value="will_abil"}} />
</div>
</div>
<div class="skills block">
<div class="labels">
<label>Skills</label>
<span>Total</span>
<span>Ability</span>
<span>Ranks</span>
<span>Misc</span>
</div>
{{#each skills}}
<div class="{{name}}">
<input type="checkbox" disabled {{bindAttr checked="in_class"}} />
<label class="name">{{name}} ({{abil}})</label>
<input type="text" disabled {{bindAttr value="total"}} /> =
<input type="text" disabled {{bindAttr value="abil_mod"}} /> +
{{view Ember.TextField valueBinding="ranks"}} +
<input type="text" disabled {{bindAttr value="misc_sum"}} />
</div>
{{/each}}
</div>
{{/with}}
</div>
</script>
<script src="lib/jquery-1.7.2.min.js"></script>
<script src="lib/handlebars.js"></script>
<script src="lib/ember.js"></script>
<script src="lib/ember-data.js"></script>
<script src="lib/underscore.js"></script>
<script src="lib/less-1.3.0.min.js"></script>
<script src="js/util.js"></script>
<script src="js/bard.js"></script>
<script src="js/models.js"></script>
<script src="js/knowledge.js"></script>
</body>
</html>