2016-05-02 21:04:43 +00:00
<ol class="breadcrumb">
2017-03-07 14:30:56 +00:00
<li><a href="/"> {{ # translate }} Home {{ / translate }} </a></li>
<li><a href="/campaigns"> {{ # translate }} Campaigns {{ / translate }} </a></li>
<li class="active"> {{ # translate }} Create RSS Campaign {{ / translate }} </li>
2016-05-02 21:04:43 +00:00
</ol>
2017-03-07 14:30:56 +00:00
<h2> {{ # translate }} Create RSS Campaign {{ / translate }} </h2>
2016-05-02 21:04:43 +00:00
<hr>
<div class="panel panel-default">
<div class="panel-body">
2017-03-07 14:30:56 +00:00
{{ # translate }} RSS campaign sets up a tracker against selected RSS feed address. Whenever a new entry is found from this feed it is sent to selected list as an email message. {{ / translate }}
2016-05-02 21:04:43 +00:00
</div>
</div>
<form class="form-horizontal" method="post" action="/campaigns/create">
<input type="hidden" name="_csrf" value=" {{ csrfToken }} ">
<input type="hidden" name="type" value="rss">
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="name" class="col-sm-2 control-label"> {{ # translate }} Name {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
2017-03-07 14:30:56 +00:00
<input type="text" class="form-control input-lg" name="name" id="name" value=" {{ name }} " placeholder=" {{ # translate }} Campaign Name {{ / translate }} " autofocus required>
2016-05-02 21:04:43 +00:00
</div>
</div>
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="description" class="col-sm-2 control-label"> {{ # translate }} Description {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
<textarea class="form-control" rows="3" name="description" id="description"> {{ description }} </textarea>
2017-03-07 14:30:56 +00:00
<span class="help-block"> {{ # translate }} HTML is allowed {{ / translate }} </span>
2016-05-02 21:04:43 +00:00
</div>
</div>
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="list" class="col-sm-2 control-label"> {{ # translate }} List {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
<select class="form-control" id="list" name="list" required>
2017-03-07 14:30:56 +00:00
<option value=""> – – {{ # translate }} Select {{ / translate }} – – </option>
2016-05-02 21:04:43 +00:00
{{ # each listItems }}
<option value=" {{ id }} " {{ # if selected }} selected {{ / if }} >
2017-03-07 14:30:56 +00:00
{{ name }} <span class="text-muted"> — {{ subscribers }} {{ # translate }} subscribers {{ / translate }} </span>
2016-05-02 21:04:43 +00:00
</option>
{{ # if segments }}
<optgroup label=" {{ name }} segments">
{{ # each segments }}
<option value=" {{ ../id }} : {{ id }} " {{ # if selected }} selected {{ / if }} >
{{ ../name }} : {{ name }}
</option>
{{ / each }}
</optgroup>
{{ / if }}
{{ / each }}
</select>
</div>
</div>
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="source-url" class="col-sm-2 control-label"> {{ # translate }} RSS Feed Url {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
2016-05-03 09:36:06 +00:00
<input type="url" class="form-control" name="source-url" id="source-url" value=" {{ sourceUrl }} " placeholder="http://example.com/rss.php" required>
2017-03-07 14:30:56 +00:00
<span class="help-block"> {{ # translate }} New entries from this RSS URL are sent out to list subscribers as email messages {{ / translate }} </span>
2016-05-02 21:04:43 +00:00
</div>
</div>
<hr />
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="from" class="col-sm-2 control-label"> {{ # translate }} Email "from name" {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
2017-03-07 14:30:56 +00:00
<input type="text" class="form-control" name="from" id="from" value=" {{ from }} " placeholder=" {{ # translate }} This is the name your emails will come from {{ / translate }} " required>
2016-05-02 21:04:43 +00:00
</div>
</div>
2016-05-04 16:11:41 +00:00
2016-05-02 21:04:43 +00:00
<div class="form-group">
2017-03-07 14:30:56 +00:00
<label for="address" class="col-sm-2 control-label"> {{ # translate }} Email "from" address {{ / translate }} </label>
2016-05-02 21:04:43 +00:00
<div class="col-sm-10">
2017-03-07 14:30:56 +00:00
<input type="email" class="form-control" name="address" id="address" value=" {{ address }} " placeholder=" {{ # translate }} This is the address people will send replies to {{ / translate }} " required>
2016-05-02 21:04:43 +00:00
</div>
</div>
2016-09-08 11:39:41 +00:00
<div class="col-sm-offset-2">
<div class="checkbox">
<label>
2017-05-27 12:04:49 +00:00
<input type="checkbox" name="open-tracking-disabled" value="1" {{ # if openTrackingDisabled }} checked {{ / if }} > {{ # translate }} Disable opened tracking {{ / translate }}
</label>
</div>
</div>
<div class="col-sm-offset-2">
<div class="checkbox">
<label>
<input type="checkbox" name="click-tracking-disabled" value="1" {{ # if clickTrackingDisabled }} checked {{ / if }} > {{ # translate }} Disable clicked tracking {{ / translate }}
2016-09-08 11:39:41 +00:00
</label>
</div>
</div>
2016-05-02 21:04:43 +00:00
<hr />
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
2017-03-07 14:30:56 +00:00
<button type="submit" class="btn btn-primary"><i class="glyphicon glyphicon-plus"></i> {{ # translate }} Create RSS Campaign {{ / translate }} </button>
2016-05-02 21:04:43 +00:00
</div>
</div>
</form>