parent
87f91fc49e
commit
68323a2d0c
5 changed files with 129 additions and 12 deletions
@ -0,0 +1,57 @@ |
||||
% layout 'standard', title => 'Create Blog', sb_active => 'dashboard'; |
||||
|
||||
<div class="mt-5"> |
||||
<div class="progress" style="height: 1px;"> |
||||
<div class="progress-bar bg-light" role="progressbar" style="width: 33%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div> |
||||
<div class="progress-bar" role="progressbar" style="width: 34%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div> |
||||
<div class="progress-bar bg-light" role="progressbar" style="width: 33%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100"></div> |
||||
</div> |
||||
<div class="progress mt-1" style="height: 20px;"> |
||||
<div class="progress-bar bg-success" role="progressbar" style="width: 33%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">Domain Name</div> |
||||
<div class="progress-bar" role="progressbar" style="width: 34%;" aria-valuenow="50" aria-valuemin="0" aria-valuemax="100">Blog Settings</div> |
||||
<div class="text-center progress-bar-striped" style="width: 33%">Finish</div> |
||||
</div> |
||||
</div> |
||||
|
||||
<h2 style="margin-top: 1.5em; margin-bottom: 1em" class="h2">Blog Settings</h2> |
||||
|
||||
<p>Let's name and describe this!</p> |
||||
|
||||
% if ( $c->stash->{success} ) { |
||||
<div style="margin-top: 2em" class="alert alert-success" role="alert"> |
||||
<%= $c->stash->{success_message} %> |
||||
</div> |
||||
% } |
||||
|
||||
% if ( $c->stash->{errors} ) { |
||||
<div style="margin-top: 2em" class="alert alert-danger" role="alert"> |
||||
There were errors with your request that could not be resolved: |
||||
<ul> |
||||
% for my $error ( @{$c->stash->{errors}} ) { |
||||
<li><%= $error %></li> |
||||
% } |
||||
</ul> |
||||
</div> |
||||
% } |
||||
|
||||
<form style="margin-top: 1.5em" method="POST" action="<%= $c->url_for( 'do_blog_settings' ) %>"> |
||||
<div class="mt-3 mb-3"> |
||||
<label for="configTitle" class="col-sm-12 col-form-label"><strong>Title</strong> - The name of your blog, like <em>Sherry's Book Review</em></label> |
||||
<input type="text" class="form-control" id="configTitle" name="configTitle" value="<%= $c->stash->{form_title} %>"> |
||||
</div> |
||||
|
||||
<div class="mt-3 mb-3"> |
||||
<label for="configDesc" class="col-sm-12 col-form-label"><strong>Description</strong> - A short description, like <em>The freshest takes on the newest books with Sherry</em>.</label> |
||||
<input type="text" class="form-control" id="configDesc" name="configDesc" value="<%= $c->stash->{form_desc} %>"> |
||||
</div> |
||||
|
||||
<div class="mt-3 mb-3"> |
||||
<label for="configEmail" class="col-sm-12 col-form-label"><strong>Email</strong> - An email for your blog readers to reach you at. Leave blank for none.</label> |
||||
<input type="text" class="form-control" id="configEmail" name="configEmail" value="<%= $c->stash->{form_email} %>"> |
||||
</div> |
||||
|
||||
<div class="mb-3"> |
||||
<input type="submit" class="btn btn-primary btn-sm float-end" width="100%" value="Continue →"> |
||||
</div> |
||||
|
||||
</form> |
||||
Loading…
Reference in new issue