Skip to content

Commit

Permalink
Updating options
Browse files Browse the repository at this point in the history
  • Loading branch information
karllhughes committed Jun 14, 2018
1 parent 5aed871 commit 6b7efc9
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .npmignore
@@ -1 +1,2 @@
docs/
docs/
webtask/
12 changes: 12 additions & 0 deletions docs/_includes/email_preview.html
Expand Up @@ -18,6 +18,11 @@ <h4 class="header-title m-t-0 m-b-30">Generated Email</h4>
MJML <i class="ion-locked"></i>
</a>
</li>
<li class="nav-item">
<a href="#api-b1" data-toggle="tab" aria-expanded="false" class="nav-link text-muted">
API <i class="ion-locked"></i>
</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active show" id="preview-b1">
Expand All @@ -37,5 +42,12 @@ <h1 class="text-center mb-5 mt-5"><i class="ion-locked"></i></h1>
<button type="button" class="btn btn-success waves-effect waves-light">Request Premium Access</button>
</p>
</div>
<div class="tab-pane fade" id="api-b1">
<h1 class="text-center mb-5 mt-5"><i class="ion-locked"></i></h1>
<p class="text-center text-muted">This feature is only available to premium users.</p>
<p class="text-center mb-5">
<button type="button" class="btn btn-success waves-effect waves-light">Request Premium Access</button>
</p>
</div>
</div>
</div>
15 changes: 8 additions & 7 deletions docs/_includes/options_form.html
Expand Up @@ -20,7 +20,7 @@ <h4 class="m-t-0 header-title">Newsletter Options</h4>
Title<span class="text-danger">*</span>
</label>
<div class="col-10">
<input name="title" type="text" class="form-control" placeholder="The name of your newsletter"
<input name="header_title" type="text" class="form-control" placeholder="The name of your newsletter"
required>
</div>
</div>
Expand All @@ -29,7 +29,7 @@ <h4 class="m-t-0 header-title">Newsletter Options</h4>
Feed URL<span class="text-danger">*</span>
</label>
<div class="col-9">
<input type="url" class="form-control" placeholder="The URL of your RSS feed" required>
<input name="feed_url" type="url" class="form-control" placeholder="The URL of your RSS feed" required>
</div>
</div>
<div class="form-group row">
Expand Down Expand Up @@ -61,19 +61,19 @@ <h4 class="m-t-0 header-title">Styling</h4>
Accent Color
</label>
<div class="col-9">
<input type="text" class="form-control" placeholder="A web-safe hex code like #F39C12">
<input name="accentColor" type="text" class="form-control" placeholder="A web-safe hex code like #F39C12">
</div>
</div>
<div class="form-group row">
<label class="col-3 col-form-label">Logo URL</label>
<div class="col-9">
<input type="url" class="form-control" placeholder="Will be shown at the top of email">
<input name="header_link" type="url" class="form-control" placeholder="Will be shown at the top of email">
</div>
</div>
<div class="form-group row">
<label class="col-3 col-form-label">Site URL</label>
<div class="col-9">
<input type="url" class="form-control" placeholder="The logo or title will link to this site">
<input name="header_banner" type="url" class="form-control" placeholder="The logo or title will link to this site">
</div>
</div>
<div class="form-group row">
Expand All @@ -100,22 +100,23 @@ <h4 class="m-t-0 header-title">Greeting</h4>
Intro
</label>
<div class="col-10">
<input type="text" class="form-control" placeholder="An introductory message for your email">
<input name="intro" type="text" class="form-control" placeholder="An introductory message for your email">
</div>
</div>
<div class="form-group row">
<label class="col-2 col-form-label">
Outro
</label>
<div class="col-10">
<input type="text" class="form-control" placeholder="A final closing statement or sign-off">
<input name="outro" type="text" class="form-control" placeholder="A final closing statement or sign-off">
</div>
</div>

</div>

<div class="form-group row">
<div class="col-12">
<input type="hidden" name="format" value="html">
<button type="submit" class="btn btn-success btn-block btn-lg">Submit!</button>
</div>
</div>
Expand Down
8 changes: 8 additions & 0 deletions docs/_includes/page_title.html
Expand Up @@ -6,6 +6,14 @@ <h1 class="page-title">{{ site.title }}</h1>
<h5>
<small class="text-muted">{{ site.description }}</small>
</h5>
<div>
<!-- Watch. -->
<a class="github-button" href="{{ site.github }}/subscription" data-icon="octicon-eye" data-size="large" data-show-count="true" aria-label="Watch on Github">Watch</a>
<!-- Star. -->
<a class="github-button" href="{{ site.github }}" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star on GitHub">Star</a>
<!-- Fork -->
<a class="github-button" href="{{ site.github }}/fork" data-icon="octicon-repo-forked" data-size="large" data-show-count="true" aria-label="Fork on GitHub">Fork</a>
</div>
</div>
</div>
</div>

0 comments on commit 6b7efc9

Please sign in to comment.