2015-01-13 10:18:13 +00:00
< div class = "container" >
< div class = "row" >
< div class = "page-header" >
< h1 > Site Configuration< / h1 >
2020-11-09 03:30:15 +00:00
< h3 >
< span ng-bind = "Site.blogdir" > < /span
>< button
class="btn btn-primary pull-right"
type="submit"
form="formSiteConf"
>
Save & Continue
< / button >
< / h3 >
2015-01-13 10:18:13 +00:00
< / div >
< / div >
< form id = "formSiteConf" class = "form-horizontal" ng-submit = "Site.upsert()" >
< div class = "row" >
< div class = "col-lg-12" >
< div class = "well bs-component" >
< fieldset >
< legend > General< / legend >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputBlogTitle" class = "col-lg-3 control-label"
>Title< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
2020-11-09 03:30:15 +00:00
< input
2015-01-13 10:18:13 +00:00
ng-model="Site.site.title"
required="required"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputBlogTitle"
placeholder="My Awesome Blog"
/>
2015-01-13 10:18:13 +00:00
< / div >
< / div >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputBlogTagline" class = "col-lg-3 control-label"
>Tagline< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
2020-11-09 03:30:15 +00:00
< input
2015-01-13 10:18:13 +00:00
ng-model="Site.site.tagline"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputBlogTagline"
placeholder="i.e. I have not failed, I've just found 10,000 ways that do not work."
/>
2015-01-13 10:18:13 +00:00
< / div >
< / div >
< div class = "row" >
< div class = "col-lg-12" >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputSiteDesc" class = "col-lg-3 control-label"
>Description
< small
>(< span ng-bind = "Site.site.description.length || 0" > < /span
>/140)< /small
>< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< textarea
ng-model="Site.site.description"
required="required"
2020-11-09 03:30:15 +00:00
class="form-control"
id="inputSiteDesc"
placeholder="i.e. For tips and tricks for try-hard ethical master cleanses, 3 wolf moons on Tumblr, disruptive lo-fi, preserving narwhals and eating kale chips, etc. YOLO."
>< / textarea >
2015-01-13 10:18:13 +00:00
< / div >
< / div >
< / div >
< / div >
<!-- TODO -->
<!--
< div class = "form-group" >
< label for = "inputProdUrl" class = "col-lg-3 control-label" > URL< / label >
< div class = "col-lg-9" >
< input
ng-model="Site.site.url"
ng-change="Site.updateUrls()"
placeholder="i.e. https://example.com/myblog"
type="url"
class="form-control"
id="inputProdUrl">
< br / >
< / div >
< / div >
-->
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputProdUrl" class = "col-lg-3 control-label"
>URL< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
2015-01-21 20:31:07 +00:00
< input
ng-model="Site.url"
ng-change="Site.onChange()"
2015-01-13 10:18:13 +00:00
required="required"
2015-01-21 20:31:07 +00:00
placeholder="i.e. https://example.com/myblog"
type="text"
2015-01-13 10:18:13 +00:00
class="form-control"
2020-11-09 03:30:15 +00:00
id="inputProdHost"
/>
< br / >
2015-01-21 20:31:07 +00:00
< span class = "help-block"
>< span class = "text-muted" ng-bind = "Site.base_url" > < /span
>< strong
>< span ng-bind = "Site.base_path" > < /span
>< span ng-bind = "Site.dropboxIndex" > < /span
>< / strong >
2020-11-09 03:30:15 +00:00
< / span >
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-3 control-label"
>Output Path< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
2020-11-09 03:30:15 +00:00
< input
2015-01-13 10:18:13 +00:00
ng-value="Site.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 >
< / fieldset >
< / div >
< / div >
< / div >
< div class = "row" >
< div class = "col-lg-12" >
< div class = "well bs-component" >
< fieldset >
< legend > Development< / legend >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputDevHost" class = "col-lg-3 control-label"
>Base URL< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< input
value="https://local.dear.desi:65080"
type="url"
class="form-control"
id="inputDevHost"
2020-11-09 03:30:15 +00:00
disabled
/>
< 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 = "inputDevBase" class = "col-lg-3 control-label"
>Base Path< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< input
value="/compiled_dev"
placeholder="i.e. /blog in https://example.com/blog"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputDevBase"
disabled
/>
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-3 control-label"
>Output Path< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< input
ng-value="Site.blogdir + '/compiled_dev'"
type="text"
class="form-control"
id="inputDevOutput"
2020-11-09 03:30:15 +00:00
disabled
/>
2015-01-13 10:18:13 +00:00
< / div >
< / div >
< / fieldset >
< / div >
< / div >
< / div >
< div class = "row" >
< div class = "col-lg-12" >
< div class = "well bs-component" >
< fieldset >
< legend > Plugins< / legend >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputGoogleAnalyticsId" class = "col-lg-3 control-label"
>Google Analytics ID< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< input
ng-model="Site.site.google_analytics_tracking_id"
placeholder="i.e. UA-XXXYYYZZ-1"
type="text"
class="form-control"
id="inputGoogleAnalyticsId"
2020-11-09 03:30:15 +00:00
/>
< br / >
2015-01-13 10:18:13 +00:00
< small > Found in the Admin section of Google Analytics< / small >
< / div >
< / div >
< div class = "form-group" >
2020-11-09 03:30:15 +00:00
< label for = "inputDisqusShortname" class = "col-lg-3 control-label"
>Disqus Shortname< /label
>
2015-01-13 10:18:13 +00:00
< div class = "col-lg-9" >
< input
ng-model="Site.site.disqus_shortname"
placeholder="i.e. johndoe-blog"
2020-11-09 03:30:15 +00:00
type="text"
class="form-control"
id="inputDisqusShortname"
/>
< br / >
2015-01-13 10:18:13 +00:00
< small > Found under Admin > Settings in Disqus< / small >
< / div >
< / div >
< / fieldset >
< / div >
< / div >
< / div >
2020-11-09 03:30:15 +00:00
< button class = "btn btn-primary pull-right" type = "submit" >
Save & Continue
< / button >
2015-01-13 10:18:13 +00:00
< / form >
< / div >