Inital Stocked page stub

stocked
Daniel Asher Resnick 3 years ago
parent f08e8c40d7
commit 06f581fb78
  1. 1
      src/public/js/burning.js
  2. 3
      src/views/index.erb
  3. 87
      src/views/partials/stocked.erb

@ -61,6 +61,7 @@ burningModule.config(function($routeProvider) {
when('/', {controller: BurningCtrl, templateUrl:'/main_partial'}). when('/', {controller: BurningCtrl, templateUrl:'/main_partial'}).
when('/config', {controller: ConfigCtrl, templateUrl:'/config_partial'}). when('/config', {controller: ConfigCtrl, templateUrl:'/config_partial'}).
when('/help', {controller: ConfigCtrl, templateUrl:'/help_partial'}). when('/help', {controller: ConfigCtrl, templateUrl:'/help_partial'}).
when('/stocked', {controller: ConfigCtrl, templateUrl:'/stocked_partial'}).
otherwise({redirectTo:'/'}); otherwise({redirectTo:'/'});
}); });

@ -34,6 +34,9 @@
<li> <li>
<a target='_blank' href='https://forums.burningwheel.com/t/charred-an-unofficial-online-bwg-character-burner/14299'>Forum Thread</a> <a target='_blank' href='https://forums.burningwheel.com/t/charred-an-unofficial-online-bwg-character-burner/14299'>Forum Thread</a>
</li> </li>
<li>
<a href='#/stocked'>Stocked</a>
</li>
</ul> </ul>
</nav> </nav>
<div ng-view=''></div> <div ng-view=''></div>

@ -0,0 +1,87 @@
<div class='container'>
<h2 id='intro'>Stocked</h2>
<div class='well'>
Stocked (Stock&middot;ed)
<br>
<br>
<ol>
<li><i>adj.</i> Furnished with more than enough. <i>(ref https://www.vocabulary.com/dictionary/stocked)</i></li>
<li><i>n.</i> A portmanteau of <i>stock</i> and <i>editor</i>.</li>
</ol>
</div>
<div class='panel panel-default'>
<div class='panel-heading'>
<h4 class='panel-title'>
<a data-target='#collapse_tools' data-toggle='collapse' href=''>
Tools
</a>
</h4>
</div>
<div class='panel-collapse collapse in' id='collapse_tools'>
<div class='panel-body'>
<div class='alert alert-danger alert-dismissable' ng-repeat="warn in alertsOfType('tools', 'warn')">
<button aria-hidden='true' class='close' ng-click="removeAlert('tools',warn)" type='button'>&times;</button>
{{warn}}
</div>
<div class='alert alert-success alert-dismissable' ng-repeat="warn in alertsOfType('tools', 'succ')">
<button aria-hidden='true' class='close' ng-click="removeAlert('tools',warn)" type='button'>&times;</button>
{{warn}}
</div>
<div class='container'>
<div class='row'>
<div class='col-md-3'>
<a href='' ng-click='stocked_downloadCharredModel()'>
Download charred model
</a>
</div>
<div class='col-md-3'>
<a href='' ng-click='stocked_generateMarkdown()'>
Generate Markdown
</a>
</div>
<div class='col-md-3'>
<a href='' ng-click='stocked_generateWikipage()'>
Generate wikipage
</a>
</div>
</div>
</div>
</div>
</div>
<div class='panel-heading'>
<h4 class='panel-title'>
<a data-target='#collapse_general' data-toggle='collapse' href=''>
General
</a>
</h4>
</div>
<div class='panel-collapse collapse in' id='collapse_general'>
<div class='panel-body'>
Name, common traits, stride, etc.
</div>
</div>
<div class='panel-heading'>
<h4 class='panel-title'>
<a data-target='#collapse_settings' data-toggle='collapse' href=''>
Settings
</a>
</h4>
</div>
<div class='panel-collapse collapse in' id='collapse_settings'>
<div class='panel-body'>
Some settings will go here
<div class='list-group'>
<div class='list-group-item'>
Foo
</div>
<div class='list-group-item'>
Bar
</div>
</div>
<div class='panel panel-default'>
<a href='/#/stocked'>+ Add new setting</a>
</div>
</div>
</div>
</div>
</div>
Loading…
Cancel
Save