|
|
@ -29,13 +29,14 @@ |
|
|
|
<div class='container'> |
|
|
|
<div class='container'> |
|
|
|
<div class='row'> |
|
|
|
<div class='row'> |
|
|
|
<div class='col-md-3'> |
|
|
|
<div class='col-md-3'> |
|
|
|
<a href='' ng-click='stocked_uploadCharredModel()'> |
|
|
|
<input type="file" id="stocked_charred_file"/> |
|
|
|
TODO: Upload charred model |
|
|
|
<a href='' ng-click='stocked_loadCharredModel()'> |
|
|
|
|
|
|
|
TODO: Load charred stock model |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class='col-md-3'> |
|
|
|
<div class='col-md-3'> |
|
|
|
<a href='' ng-click='stocked_downloadCharredModel()'> |
|
|
|
<a href='' ng-click='stocked_downloadCharredModel()'> |
|
|
|
TODO: Download charred model |
|
|
|
TODO: Download charred stock model |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class='col-md-3'> |
|
|
|
<div class='col-md-3'> |
|
|
@ -113,6 +114,13 @@ |
|
|
|
<div class='panel-body'> |
|
|
|
<div class='panel-body'> |
|
|
|
<div class="panel"> |
|
|
|
<div class="panel"> |
|
|
|
<div class="panel-body"> |
|
|
|
<div class="panel-body"> |
|
|
|
|
|
|
|
<span class="note-label">Note:</span> |
|
|
|
|
|
|
|
<span class="note-content"> |
|
|
|
|
|
|
|
Prefix a lifepath's name with "Born " to have charred consider it a born lifepath; |
|
|
|
|
|
|
|
i.e. selectable if and only if it is the first lifepath. |
|
|
|
|
|
|
|
</span> |
|
|
|
|
|
|
|
<br /> |
|
|
|
|
|
|
|
|
|
|
|
<a ng-click='collapseBody(".collapse_all_"+to_id(setting.name), $event)' href=''> |
|
|
|
<a ng-click='collapseBody(".collapse_all_"+to_id(setting.name), $event)' href=''> |
|
|
|
collapse/expand all paths in setting |
|
|
|
collapse/expand all paths in setting |
|
|
|
</a> |
|
|
|
</a> |
|
|
@ -329,36 +337,40 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class='panel-collapse collapse in' id='collapse_traits'> |
|
|
|
<div class='panel-collapse collapse in' id='collapse_traits'> |
|
|
|
<div class='panel-body'> |
|
|
|
<div class='panel-body'> |
|
|
|
<div class='container-fluid'> |
|
|
|
<table class="traits"> |
|
|
|
<div class='row'> |
|
|
|
<tr> |
|
|
|
<div class='h4 col-md-3'>Trait</div> |
|
|
|
<th>Trait</th> |
|
|
|
<div class='h4 col-md-1'>Cost</div> |
|
|
|
<th>Cost</th> |
|
|
|
<div class='h4 col-md-2'>Type</div> |
|
|
|
<th>Type</th> |
|
|
|
<%# <div class='h4 col-md-2'>Bonus</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>Bonus</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>Restrictions</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>Restrictions</div> %> |
|
|
|
</div> |
|
|
|
</tr> |
|
|
|
</div> |
|
|
|
<%# </div> %> |
|
|
|
<div ng-repeat='trait in traits' ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
<tr ng-repeat-start='trait in traits' ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
<div class='row'> |
|
|
|
<td> |
|
|
|
<div class='h4 col-md-3'> |
|
|
|
|
|
|
|
<input ng-model="trait.name" |
|
|
|
<input ng-model="trait.name" |
|
|
|
class='form-control input-lg not-editing editable-name' |
|
|
|
class='form-control input-lg not-editing editable-name' |
|
|
|
ng-click="$event.stopPropagation()" |
|
|
|
ng-click="$event.stopPropagation()" |
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
<div class='h4 col-md-1'> |
|
|
|
<td> |
|
|
|
<input type="number" class='not-editing editable-num' |
|
|
|
<input type="number" class='not-editing editable-num' |
|
|
|
ng-model="trait.cost" ng-click="$event.stopPropagation()" |
|
|
|
ng-model="trait.cost" ng-click="$event.stopPropagation()" |
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
<div class='h4 col-md-2'> |
|
|
|
<td> |
|
|
|
<select class='form-control' ng-model='trait.type' ng-options='t for t in TRAIT_TYPES'></select> |
|
|
|
<select class='form-control' ng-model='trait.type' ng-options='t for t in TRAIT_TYPES'></select> |
|
|
|
</div> |
|
|
|
</td> |
|
|
|
</div> |
|
|
|
<td><a href='' ng-click='removeTrait($index)'>[X]</a></td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
<%# <div class='h4 col-md-2'>WISHLIST</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>WISHLIST</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>WISHLIST</div> %> |
|
|
|
<%# <div class='h4 col-md-2'>WISHLIST</div> %> |
|
|
|
<div> |
|
|
|
<tr ng-repeat-end ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
<textarea class='trait-desc' ng-model='trait.desc'></textarea> |
|
|
|
<td colspan="99"><textarea class='trait-desc' ng-model='trait.desc'></textarea></td> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
<div class='row'> |
|
|
|
|
|
|
|
<div class='h4 col-md-12'><a href='' ng-click='addTrait()'>Add new trait</a></div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|