|
|
|
@ -55,7 +55,29 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class='panel-collapse collapse in' id='collapse_general'> |
|
|
|
|
<div class='panel-body'> |
|
|
|
|
TODO: Name, common traits, stride, etc. |
|
|
|
|
<label for='stock-name'>Name:</label> |
|
|
|
|
<input class='form-control input-lg not-editing editable-name' name='stock-name' id='stock-name' |
|
|
|
|
ng-model="general.Name" ng-click="$event.stopPropagation()" |
|
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
|
|
|
|
|
|
<label for='stock-stride'>Stride:</label> |
|
|
|
|
<input type="number" class='not-editing editable-num' name='stock-stride' id='stock-stride' |
|
|
|
|
ng-model="general.Stride" ng-click="$event.stopPropagation()" |
|
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
|
<br /> |
|
|
|
|
TODO: common traits |
|
|
|
|
<div> |
|
|
|
|
<span>{{general.CommonTraits}}</span> |
|
|
|
|
<select class='form-control' ng-model='general.selectedTrait' ng-options='t for t in charredTraits'></select> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<a href='' ng-click='general.CommonTraits.push(general.selectedTrait)'>Add trait</a> |
|
|
|
|
</div> |
|
|
|
|
<div> |
|
|
|
|
<a href='' ng-click=''>TODO: Add new trait</a> |
|
|
|
|
</div> |
|
|
|
|
<br /> |
|
|
|
|
TODO: other things in General section? |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class='panel-heading'> |
|
|
|
@ -237,7 +259,12 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class='panel panel-default'> |
|
|
|
|
<a href='/#/stocked'>+ TODO: Add new setting</a> |
|
|
|
|
<label for='stock-name'>Name:</label> |
|
|
|
|
<input class='form-control input-lg not-editing editable-name' |
|
|
|
|
name='new-setting-name' id='new-setting-name' |
|
|
|
|
ng-model="newSettingName" ng-click="$event.stopPropagation()" |
|
|
|
|
ng-focus='editField($event, true)' ng-blur='editField($event, false)' /> |
|
|
|
|
<a href='' ng-click='addSetting()'>+ TODO: Add new setting</a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|