|
|
|
@ -29,13 +29,14 @@ |
|
|
|
|
<div class='container'> |
|
|
|
|
<div class='row'> |
|
|
|
|
<div class='col-md-3'> |
|
|
|
|
<a href='' ng-click='stocked_uploadCharredModel()'> |
|
|
|
|
TODO: Upload charred model |
|
|
|
|
<input type="file" id="stocked_charred_file"/> |
|
|
|
|
<a href='' ng-click='stocked_loadCharredModel()'> |
|
|
|
|
TODO: Load charred stock model |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
<div class='col-md-3'> |
|
|
|
|
<a href='' ng-click='stocked_downloadCharredModel()'> |
|
|
|
|
TODO: Download charred model |
|
|
|
|
TODO: Download charred stock model |
|
|
|
|
</a> |
|
|
|
|
</div> |
|
|
|
|
<div class='col-md-3'> |
|
|
|
@ -113,6 +114,13 @@ |
|
|
|
|
<div class='panel-body'> |
|
|
|
|
<div class="panel"> |
|
|
|
|
<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=''> |
|
|
|
|
collapse/expand all paths in setting |
|
|
|
|
</a> |
|
|
|
@ -329,37 +337,41 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class='panel-collapse collapse in' id='collapse_traits'> |
|
|
|
|
<div class='panel-body'> |
|
|
|
|
<div class='container-fluid'> |
|
|
|
|
<div class='row'> |
|
|
|
|
<div class='h4 col-md-3'>Trait</div> |
|
|
|
|
<div class='h4 col-md-1'>Cost</div> |
|
|
|
|
<div class='h4 col-md-2'>Type</div> |
|
|
|
|
<table class="traits"> |
|
|
|
|
<tr> |
|
|
|
|
<th>Trait</th> |
|
|
|
|
<th>Cost</th> |
|
|
|
|
<th>Type</th> |
|
|
|
|
<%# <div class='h4 col-md-2'>Bonus</div> %> |
|
|
|
|
<%# <div class='h4 col-md-2'>Restrictions</div> %> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div ng-repeat='trait in traits' ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
|
<div class='row'> |
|
|
|
|
<div class='h4 col-md-3'> |
|
|
|
|
</tr> |
|
|
|
|
<%# </div> %> |
|
|
|
|
<tr ng-repeat-start='trait in traits' ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
|
<td> |
|
|
|
|
<input ng-model="trait.name" |
|
|
|
|
class='form-control input-lg not-editing editable-name' |
|
|
|
|
ng-click="$event.stopPropagation()" |
|
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
|
</div> |
|
|
|
|
<div class='h4 col-md-1'> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<input type="number" class='not-editing editable-num' |
|
|
|
|
ng-model="trait.cost" ng-click="$event.stopPropagation()" |
|
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
|
</div> |
|
|
|
|
<div class='h4 col-md-2'> |
|
|
|
|
</td> |
|
|
|
|
<td> |
|
|
|
|
<select class='form-control' ng-model='trait.type' ng-options='t for t in TRAIT_TYPES'></select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</td> |
|
|
|
|
<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> |
|
|
|
|
<textarea class='trait-desc' ng-model='trait.desc'></textarea> |
|
|
|
|
</div> |
|
|
|
|
<tr ng-repeat-end ng-class-even="'trait-even'" ng-class-odd="'trait-odd'"> |
|
|
|
|
<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> |
|
|
|
|