deardesi.js/views/build/build.html

161 lines
4.7 KiB
HTML
Raw Normal View History

2015-01-13 10:18:13 +00:00
<div class="container">
<form ng-submit="Post.upsert()" class="form-horizontal">
<div class="row">
<div class="page-header">
<h1>Build Static Site</h1>
2020-11-09 03:30:15 +00:00
<h3><span ng-bind="Build.blogdir"></span></h3>
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="row">
<div class="col-lg-12">
<h2>Are you ready?</h2>
<p>
2020-11-09 03:30:15 +00:00
<small
><a
href="https://www.youtube.com/watch?v=-E0oiKjLzTc"
target="_blank"
>Bonesaw</a
>
is READY!</small
>
2015-01-13 10:18:13 +00:00
</p>
<p>
2020-11-09 03:30:15 +00:00
<button
ng-click="Build.build(['production', 'development'])"
class="btn btn-danger"
type="button"
>
Build Sites
</button>
2015-01-13 10:18:13 +00:00
</p>
2020-11-09 03:30:15 +00:00
<span class="help-block"
>Push the RED button... you know you want to!</span
>
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div class="well bs-component">
<fieldset>
<legend>Production</legend>
2020-11-09 03:30:15 +00:00
<p>
<a ng-href="{{Build.display_url}}" target="_blank"
><span ng-bind="Build.display_url"></span
></a>
</p>
2015-01-13 10:18:13 +00:00
<div class="form-group">
2020-11-09 03:30:15 +00:00
<label for="inputProdCanonicalUrl" class="col-lg-2 control-label"
>Canonical URL</label
>
2015-01-13 10:18:13 +00:00
<div class="col-lg-10">
2020-11-09 03:30:15 +00:00
<input
ng-model="Build.production_url"
2015-01-13 10:18:13 +00:00
required="required"
placeholder="i.e. https://example.com/myblog"
type="url"
class="form-control"
2020-11-09 03:30:15 +00:00
id="inputProdCanonicalUrl"
/>
<br />
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="form-group">
2020-11-09 03:30:15 +00:00
<label for="inputProdOutput" class="col-lg-2 control-label"
>Output Path</label
>
2015-01-13 10:18:13 +00:00
<div class="col-lg-10">
2020-11-09 03:30:15 +00:00
<input
2015-01-13 10:18:13 +00:00
disabled
ng-value="Build.blogdir + '/compiled'"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputProdOutput"
disabled
/>
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="form-group">
<div class="col-lg-10">
<!-- TODO progress bar -->
</div>
<div class="col-lg-2">
<button
ng-click="Build.build(['production'])"
class="btn btn-primary pull-right"
type="button"
2020-11-09 03:30:15 +00:00
>
Build Production Site
</button>
2015-01-13 10:18:13 +00:00
</div>
</div>
</fieldset>
</div>
<div class="well bs-component">
<fieldset>
<legend>Development</legend>
2020-11-09 03:30:15 +00:00
<p>
<a ng-href="{{Build.development_url}}" target="_blank"
><span ng-bind="Build.development_url"></span
></a>
</p>
2015-01-13 10:18:13 +00:00
<div class="form-group">
2020-11-09 03:30:15 +00:00
<label for="inputDevCanonicalUrl" class="col-lg-2 control-label"
>Canonical URL</label
>
2015-01-13 10:18:13 +00:00
<div class="col-lg-10">
<input
ng-model="Build.development_url"
required="required"
disabled
placeholder="i.e. https://example.com/myblog"
type="url"
class="form-control"
2020-11-09 03:30:15 +00:00
id="inputDevCanonicalUrl"
/>
<br />
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="form-group">
2020-11-09 03:30:15 +00:00
<label for="inputDevOutput" class="col-lg-2 control-label"
>Output Path</label
>
2015-01-13 10:18:13 +00:00
<div class="col-lg-10">
2020-11-09 03:30:15 +00:00
<input
2015-01-13 10:18:13 +00:00
disabled
ng-value="Build.blogdir + '/compiled_dev'"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputDevOutput"
disabled
/>
2015-01-13 10:18:13 +00:00
</div>
</div>
<div class="form-group">
<div class="col-lg-10">
<!-- TODO progress bar -->
</div>
<div class="col-lg-2">
<button
ng-click="Build.build(['development'])"
class="btn btn-primary pull-right"
type="button"
2020-11-09 03:30:15 +00:00
>
Build Development Site
</button>
2015-01-13 10:18:13 +00:00
</div>
</div>
</fieldset>
</div>
</div>
</div>
</form>
</div>