snipt/media/js/src/modules/partials/blogging.html

25 lines
1.4 KiB
HTML

<div class="def" data-title="Site settings">
<div class="control-group" ng-class="{error: errors.blog_title}">
<label class="control-label" for="id_blog_title">Blog title:</label>
<div class="controls">
<input id="id_blog_title" type="text" ng-model="user.blog_title" maxlength="250">
</div>
</div>
<div class="control-group" ng-class="{error: errors.blog_theme}">
<label class="control-label" for="id_blog_theme">Blog theme:</label>
<div class="controls">
<select ng-model="user.blog_theme"
ng-options="theme.id as theme.label for theme in blogThemeOptions"
id="id_blog_theme">
</select>
</div>
</div>
<div class="control-group" ng-class="{error: errors.blog_domain}">
<label class="control-label" for="id_blog_domain">Blog domain:</label>
<div class="controls">
<input id="id_blog_domain" type="text" ng-model="user.blog_domain" maxlength="250">
<span class="help-block">Like 'snipt.nicksergeant.com' or 'nicksergeant.com' (without quotes). Set your CNAME to `snipt.net` or A-record to `96.126.110.160`. You can use multiple domains here: separate each domain with a space. The first domain will be your primary domain. All other domains will redirect to your primary domain.</span>
</div>
</div>
</div>