-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from CodeForPhilly/development
Release: laddr v2.3.3
- Loading branch information
Showing
22 changed files
with
284 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{extends "designs/site.tpl"} | ||
|
||
{block "content"} | ||
<div class="row"> | ||
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3"> | ||
<div class="page-header"> | ||
{if $data->getTitle()} | ||
<h1>Delete {$data->getTitle()}</h1> | ||
{else} | ||
<h1>Please confirm</h1> | ||
{/if} | ||
</div> | ||
<p class="confirm">{$question}</p> | ||
<form method="POST"> | ||
<button type="button" class="btn btn-default margin-right" name="Sure" value="No" onclick="javascript:history.go(-1);">No</button> | ||
<button type="submit" class="btn btn-danger" name="Sure">Yes</button> | ||
</form> | ||
</div> | ||
</div> | ||
{/block} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{extends "designs/site.tpl"} | ||
|
||
{block "css"} | ||
{$dwoo.parent} | ||
{cssmin "pages/article.css"} | ||
{/block} | ||
|
||
{block title}{$data->Title|escape} — {$dwoo.parent}{/block} | ||
|
||
{block "content-wrapper"} | ||
<div class="container-fluid"> | ||
|
||
{block content} | ||
{$Page = $data} | ||
<article class="article cms-page reading-width"> | ||
<header class="article-header"> | ||
{if Emergence\CMS\PagesRequestHandler::checkWriteAccess($Page, true)} | ||
<div class="btn-toolbar pull-right"> | ||
<div class="btn-group"> | ||
<a href="{$Page->getURL()}/edit" class="btn btn-default">Edit</a> | ||
<a href="{$Page->getURL()}/delete" | ||
class="btn btn-danger confirm" | ||
data-confirm-yes="Delete Page" | ||
data-confirm-no="Don’t Delete" | ||
data-confirm-title="Deleting Post" | ||
data-confirm-body="Are you sure you want to delete the page “{$Page->Title|escape}?”" | ||
data-confirm-destructive="true" | ||
data-confirm-success-target=".cms-page" | ||
data-confirm-success-message="Page deleted">Delete</a> | ||
</div> | ||
</div> | ||
{/if} | ||
<h1 class="header-title"> | ||
<a href="{$Page->getURL()}">{$Page->Title}</a> | ||
</h1> | ||
</header> | ||
|
||
<section class="article-body"> | ||
{$Page->renderBody()} | ||
</section> | ||
</article> | ||
{/block} | ||
|
||
</div> | ||
{/block} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{extends "designs/site.tpl"} | ||
|
||
{block title}Pages — {$dwoo.parent}{/block} | ||
|
||
{block content} | ||
<div class="row"> | ||
<div class="col-md-8 col-md-offset-2"> | ||
|
||
<header class="page-header"> | ||
<form action="/pages/create" method="GET" class="pull-right"> | ||
{* field "Title" "Page Title" *} | ||
<button type="submit" class="btn btn-success">Create New Page</button> | ||
</form> | ||
<h1>Pages Directory</h1> | ||
</header> | ||
|
||
<ul> | ||
{foreach item=Page from=$data} | ||
<li><a href="/pages/{$Page->Handle}">{$Page->Title|escape}</a></li> | ||
{/foreach} | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
{/block} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.