{{> partials/menu}} <div class="col-lg-9"> <div class="row"> <div class="col-md-10"> <h2 class="clearfix">{{ @root.__ "Static pages" }} <div class="pull-right"><a href="/admin/settings/pages/new" class="btn btn-success">{{ @root.__ "New page" }}</a></div></h2> <p class="text-muted"> {{ @root.__ "Static_Pages_Info" }} </p> {{#if pages}} <ul class="list-group"> {{#each pages}} <li class="list-group-item"> <div class="row"> <div class="col-lg-8"> <h5><strong>{{ @root.__ "Name" }}:</strong> {{pageName}}</h5> </div> <div class="col-lg-4 text-right"> <a class="btn btn-sm btn-success" href="/admin/settings/pages/edit/{{_id}}">{{ @root.__ "Edit" }}</a> <button class="btn btn-sm btn-danger" id="btnPageDelete" data-id="{{_id}}">{{ @root.__ "Delete" }}</button> </div> </div> </li> {{/each}} </ul> {{else}} <h4 class="text-warning text-center">{{ @root.__ "There are currently no static pages setup. Please setup a static page." }}</h4> <p class="text-center"> <a class="btn btn-success" href="/admin/settings/pages/new"> {{ @root.__ "Create new" }}</a> </p> {{/if}} </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.2/summernote.min.js"></script> <link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.2/summernote.css" rel="stylesheet">