-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
484 additions
and
691 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,130 +1,102 @@ | ||
{include file='header.tpl'} | ||
|
||
<body id="page-top"> | ||
|
||
<!-- Wrapper --> | ||
<div id="wrapper"> | ||
|
||
<!-- Sidebar --> | ||
{include file='sidebar.tpl'} | ||
|
||
<!-- Content Wrapper --> | ||
<div id="content-wrapper" class="d-flex flex-column"> | ||
|
||
<!-- Main content --> | ||
<div id="content"> | ||
|
||
<!-- Topbar --> | ||
{include file='navbar.tpl'} | ||
|
||
<!-- Begin Page Content --> | ||
<div class="container-fluid"> | ||
|
||
<!-- Page Heading --> | ||
<div class="d-sm-flex align-items-center justify-content-between mb-4"> | ||
|
||
|
||
<div class="row mb-2"> | ||
<div class="col-sm-6"> | ||
<h1 class="m-0 text-dark">{$TITLE}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- Main content --> | ||
<section class="content"> | ||
<div class="container-fluid"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h5 style="display:inline">{$EDIT_NAME}</h5> | ||
<div class="float-md-right"> | ||
<a style="display:inline" href="{$BACK_LINK}" class="btn btn-warning">{$BACK}</a> | ||
</div> | ||
<hr /> | ||
|
||
{if isset($ERRORS) && count($ERRORS)} | ||
<div class="alert alert-danger alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5> | ||
<ul> | ||
{foreach from=$ERRORS item=error} | ||
<li>{$error}</li> | ||
{/foreach} | ||
</ul> | ||
</div> | ||
{/if} | ||
|
||
<form action="" method="post"> | ||
<div class="form-group"> | ||
<label for="Name">{$NAME}</label> | ||
<input type="text" id="Name" name="name" class="form-control" value="{$EDIT_NAME}"> | ||
</div> | ||
|
||
<label>{$DESCRIPTION}</label> | ||
{if !isset($MARKDOWN)} | ||
<div class="form-group"> | ||
<textarea name="content" class="form-control" id="reply">{$CONTENT}</textarea> | ||
</div> | ||
{else} | ||
<div class="form-group"> | ||
<textarea name="content" class="form-control" id="markdown">{$CONTENT}</textarea> | ||
<div class="meta">{$MARKDOWN_HELP}</div> | ||
</div> | ||
{/if} | ||
<label>{$FOOTER_DESCRIPTION}</label> | ||
{if !isset($MARKDOWN)} | ||
<div class="form-group"> | ||
<textarea name="footer_content" class="form-control" | ||
id="footer_reply">{$FOOTER_CONTENT}</textarea> | ||
</div> | ||
{else} | ||
<div class="form-group"> | ||
<textarea name="footer_content" class="form-control" id="markdown">{$FOOTER_CONTENT}</textarea> | ||
<div class="meta">{$MARKDOWN_HELP}</div> | ||
</div> | ||
{/if} | ||
|
||
<div class="form-group"> | ||
<label for="Src">{$SRC}</label> | ||
<input type="text" id="Src" name="src" class="form-control" value="{$EDIT_SRC}"> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="Iframe_size">{$IFRAME_SIZE}</label> | ||
<select class="form-control mr-sm-2" id="Iframe_size" name="iframe_size"> | ||
|
||
<option {if $SIZE === 21} selected {/if} value="21by9">21:9 aspect ratio</option> | ||
<option {if $SIZE === 16} selected {/if} value="16by9">16:9 aspect ratio</option> | ||
<option {if $SIZE === 4} selected {/if} value="4by3">4:3 aspect ratio</option> | ||
<option {if $SIZE === 1} selected {/if} value="1by1">1:1 aspect ratio</option> | ||
|
||
</select> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="submit" class="btn btn-primary" value="{$SUBMIT}"> | ||
</div> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</section> | ||
</div> | ||
|
||
</div> | ||
|
||
{include file='footer.tpl'} | ||
|
||
|
||
</div> | ||
</div> | ||
<!-- ./wrapper --> | ||
|
||
{include file='scripts.tpl'} | ||
|
||
<!-- Wrapper --> | ||
<div id="wrapper"> | ||
<!-- Sidebar --> | ||
{include file='sidebar.tpl'} | ||
<!-- Content Wrapper --> | ||
<div id="content-wrapper" class="d-flex flex-column"> | ||
<!-- Main content --> | ||
<div id="content"> | ||
<!-- Topbar --> | ||
{include file='navbar.tpl'} | ||
<!-- Begin Page Content --> | ||
<div class="container-fluid"> | ||
<!-- Page Heading --> | ||
<div class="d-sm-flex align-items-center justify-content-between mb-4"> | ||
<div class="row mb-2"> | ||
<div class="col-sm-6"> | ||
<h1 class="m-0 text-dark">{$TITLE}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- Main content --> | ||
<section class="content"> | ||
<div class="container-fluid"> | ||
<div class="card"> | ||
<div class="card-body"> | ||
<h5 style="display:inline">{$EDIT_NAME}</h5> | ||
<div class="float-md-right"> | ||
<a style="display:inline" href="{$BACK_LINK}" | ||
class="btn btn-warning">{$BACK}</a> | ||
</div> | ||
<hr /> | ||
{if isset($ERRORS) && count($ERRORS)} | ||
<div class="alert alert-danger alert-dismissible"> | ||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
<h5><i class="icon fas fa-exclamation-triangle"></i> {$ERRORS_TITLE}</h5> | ||
<ul> | ||
{foreach from=$ERRORS item=error} | ||
<li>{$error}</li> | ||
{/foreach} | ||
</ul> | ||
</div> | ||
{/if} | ||
<form action="" method="post"> | ||
<div class="form-group"> | ||
<label for="Name">{$NAME}</label> | ||
<input type="text" id="Name" name="name" class="form-control" | ||
value="{$EDIT_NAME}"> | ||
</div> | ||
<label>{$DESCRIPTION}</label> | ||
<div class="form-group"> | ||
<textarea name="content" class="form-control" | ||
id="reply">{$CONTENT}</textarea> | ||
</div> | ||
<label>{$FOOTER_DESCRIPTION}</label> | ||
<div class="form-group"> | ||
<textarea name="footer_content" class="form-control" | ||
id="footer_reply">{$FOOTER_CONTENT}</textarea> | ||
</div> | ||
<div class="form-group"> | ||
<label for="Src">{$SRC}</label> | ||
<input type="text" id="Src" name="src" class="form-control" | ||
value="{$EDIT_SRC}"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="Iframe_size">{$IFRAME_SIZE}</label> | ||
<select class="form-control mr-sm-2" id="Iframe_size" name="iframe_size"> | ||
<option {if $SIZE === 21} selected {/if} value="21by9"> | ||
21:9 aspect ratio | ||
</option> | ||
<option {if $SIZE === 16} selected {/if} value="16by9"> | ||
16:9 aspect ratio | ||
</option> | ||
<option {if $SIZE === 4} selected {/if} value="4by3"> | ||
4:3 aspect ratio | ||
</option> | ||
<option {if $SIZE === 1} selected {/if} value="1by1"> | ||
1:1 aspect ratio | ||
</option> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<input type="hidden" name="token" value="{$TOKEN}"> | ||
<input type="submit" class="btn btn-primary" value="{$SUBMIT}"> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
</div> | ||
{include file='footer.tpl'} | ||
</div> | ||
</div> | ||
<!-- ./wrapper --> | ||
{include file='scripts.tpl'} | ||
</body> |
Oops, something went wrong.