2015-01-13 10:18:13 +00:00
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="page-header">
|
|
|
|
<div class="col-md-5 col-sm-6 col-xs-8">
|
|
|
|
<h1>Primary Author</h1>
|
|
|
|
|
|
|
|
<div class="row" ng-if="Authors.authors">
|
|
|
|
<div class="col-md-offset-1 col-md-8">
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<select
|
2015-01-13 10:18:13 +00:00
|
|
|
ng-options="author as author.filename for (handle, author) in Authors.authors"
|
|
|
|
class="form-control"
|
|
|
|
ng-model="Authors.selectedAuthor"
|
|
|
|
ng-change="Authors.selectAuthor()"
|
2020-11-09 03:30:15 +00:00
|
|
|
></select>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-09 03:30:15 +00:00
|
|
|
<br />
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-5 col-sm-6 col-xs-4">
|
2020-11-09 03:30:15 +00:00
|
|
|
<br />
|
|
|
|
<img style="height: 75px" ng-src="{{Authors.headshot}}" />
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<form
|
|
|
|
class="form-horizontal"
|
|
|
|
name="newAuthors"
|
|
|
|
ng-submit="Authors.upsert(Authors.selectedAuthor)"
|
|
|
|
>
|
2015-01-13 10:18:13 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-8">
|
2020-11-09 03:30:15 +00:00
|
|
|
<small
|
|
|
|
><span ng-bind="Authors.blogdir"></span>/authors/<span
|
|
|
|
ng-bind="Authors.selectedAuthor.handle"
|
|
|
|
></span
|
|
|
|
><span ng-if="Authors.selectedAuthor.handle">.yml</span></small
|
|
|
|
>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-4">
|
2020-11-09 03:30:15 +00:00
|
|
|
<button
|
|
|
|
class="btn btn-success pull-right"
|
|
|
|
type="submit"
|
|
|
|
ng-disabled="Authors.dirty || !Authors.selectedAuthor.handle"
|
|
|
|
>
|
|
|
|
Save & Continue
|
|
|
|
</button>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2020-11-09 03:30:15 +00:00
|
|
|
<br />
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="well bs-component">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Profile Basics</legend>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputAuthorName" class="col-lg-4 control-label"
|
|
|
|
>Name*</label
|
|
|
|
>
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<input
|
|
|
|
ng-model="Authors.selectedAuthor.name"
|
|
|
|
required="required"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorName"
|
|
|
|
name="inputAuthorName"
|
|
|
|
placeholder="i.e. John Doe"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label
|
|
|
|
for="inputAuthorNickname"
|
|
|
|
class="col-lg-4 control-label"
|
|
|
|
>Handle*</label
|
|
|
|
>
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<input
|
|
|
|
ng-model="Authors.selectedAuthor.handle"
|
|
|
|
required="required"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorNickname"
|
|
|
|
name="inputAuthorNickname"
|
|
|
|
placeholder="i.e. johndoe"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputAuthorEmail" class="col-lg-4 control-label"
|
|
|
|
>Email*</label
|
|
|
|
>
|
|
|
|
<div class="col-lg-8">
|
|
|
|
<input
|
|
|
|
ng-model="Authors.selectedAuthor.email"
|
|
|
|
ng-change="Authors.updateHeadshotUrl()"
|
|
|
|
required="required"
|
|
|
|
type="email"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorEmail"
|
|
|
|
name="inputAuthorEmail"
|
|
|
|
placeholder="i.e. john.doe@gmail.com"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputAuthorWebsite" class="col-lg-4 control-label"
|
|
|
|
>Website</label
|
2015-01-13 10:18:13 +00:00
|
|
|
>
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="col-lg-8">
|
|
|
|
<input
|
|
|
|
ng-model="Authors.selectedAuthor.website"
|
|
|
|
type="url"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorWebsite"
|
|
|
|
name="inputAuthorWebsite"
|
|
|
|
placeholder="i.e. http://johndoe.name"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputAuthorBio" class="col-lg-2 control-label"
|
|
|
|
>Bio
|
|
|
|
<small
|
|
|
|
>(<span
|
|
|
|
ng-bind="Authors.selectedAuthor.bio.length || 0"
|
|
|
|
></span
|
|
|
|
>/140)</small
|
|
|
|
></label
|
|
|
|
>
|
|
|
|
<div class="col-lg-10">
|
|
|
|
<textarea
|
|
|
|
ng-model="Authors.selectedAuthor.bio"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorBio"
|
|
|
|
placeholder="i.e. Brogrammatic Ninja-throwing Rockstar Badassian Wizard JavaScript Superstar. 3+ years experience as a jalapeno poppers brony. YOLO."
|
|
|
|
></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-11-09 03:30:15 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="form-group">
|
|
|
|
<label
|
|
|
|
for="inputAuthorHeadshot"
|
|
|
|
class="col-lg-2 control-label"
|
|
|
|
>Headshot</label
|
|
|
|
>
|
|
|
|
<div class="col-lg-10">
|
|
|
|
<input
|
|
|
|
ng-model="Authors.selectedAuthor.headshot"
|
|
|
|
ng-change="Authors.updateHeadshotUrl()"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorHeadshot"
|
|
|
|
placeholder="i.e. https://i.imgur.com/qqpxDmJ.jpg"
|
|
|
|
/>
|
|
|
|
<span class="help-block"
|
|
|
|
>Hint: Link your photo to your email on
|
|
|
|
<a href="https://gravatar.com">Gravatar</a> or upload to
|
|
|
|
<a href="https://imgur.com">imgur</a>.</span
|
|
|
|
>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="well bs-component">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Social</legend>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label for="inputAuthorTwitter" class="col-lg-2 control-label"
|
|
|
|
>Twitter</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="Authors.selectedAuthor.twitter"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorTwitter"
|
|
|
|
placeholder="i.e. @johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label for="inputAuthorFacebook" class="col-lg-2 control-label"
|
|
|
|
>Facebook 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="Authors.selectedAuthor.facebook"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorFacebook"
|
|
|
|
placeholder="i.e. facebook.com/johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label for="inputAuthorGooglePlus" class="col-lg-2 control-label"
|
|
|
|
>Google+ 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="Authors.selectedAuthor.googleplus"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorGooglePlus"
|
|
|
|
placeholder="i.e. plus.google.com/+johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="well bs-component">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Developers</legend>
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label for="inputAuthorGithub" class="col-lg-2 control-label"
|
|
|
|
>Github</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="Authors.selectedAuthor.github"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorGithub"
|
|
|
|
placeholder="i.e. johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label
|
|
|
|
for="inputAuthorStackOverflow"
|
|
|
|
class="col-lg-2 control-label"
|
|
|
|
>StackOverflow</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="Authors.selectedAuthor.stackoverflow"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorStackOverflow"
|
|
|
|
placeholder="i.e. http://stackoverflow.com/users/151312/johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-09 03:30:15 +00:00
|
|
|
</fieldset>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-lg-12">
|
|
|
|
<div class="well bs-component">
|
|
|
|
<fieldset>
|
|
|
|
<legend>Feeds</legend>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2020-11-09 03:30:15 +00:00
|
|
|
<label for="inputAuthorFeedburner" class="col-lg-2 control-label"
|
|
|
|
>Feedburner</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="Authors.selectedAuthor.feedburner"
|
|
|
|
type="text"
|
|
|
|
class="form-control"
|
|
|
|
id="inputAuthorFeedburner"
|
|
|
|
placeholder="i.e. johndoe"
|
|
|
|
/>
|
2015-01-13 10:18:13 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</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
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
Instagram
|
|
|
|
Etsy
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="inputAuthorPinterest" class="col-lg-2 control-label">Pinterest</label>
|
|
|
|
<div class="col-lg-10">
|
|
|
|
<input ng-model="Authors.selectedAuthor.pinterest"
|
|
|
|
type="text" class="form-control" id="inputAuthorPinterest" placeholder="i.e. @johndoe">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
-->
|