Skip to content

Commit

Permalink
Release pr2
Browse files Browse the repository at this point in the history
  • Loading branch information
partydragen committed Dec 30, 2020
1 parent 4fb5e93 commit 359a73a
Show file tree
Hide file tree
Showing 20 changed files with 743 additions and 1,039 deletions.
119 changes: 47 additions & 72 deletions upload/custom/panel_templates/Default/store/categories_edit.tpl
Original file line number Diff line number Diff line change
@@ -1,79 +1,49 @@
{include file='header.tpl'}
<body class="hold-transition sidebar-mini">
<div class="wrapper">
{include file='navbar.tpl'}

<body id="page-top">

<!-- Wrapper -->
<div id="wrapper">

<!-- Sidebar -->
{include file='sidebar.tpl'}

<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">{$CATEGORIES}</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li>
<li class="breadcrumb-item active">{$BUYCRAFT}</li>
<li class="breadcrumb-item active">{$CATEGORIES}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">

<!-- Main content -->
<section class="content">
<div id="content">

<!-- Topbar -->
{include file='navbar.tpl'}

<!-- Begin Page Content -->
<div class="container-fluid">
{if isset($NEW_UPDATE)}
{if $NEW_UPDATE_URGENT eq true}
<div class="alert alert-danger">
{else}
<div class="alert alert-primary alert-dismissible" id="updateAlert">
<button type="button" class="close" id="closeUpdate" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{/if}
{$NEW_UPDATE}
<br />
<a href="{$UPDATE_LINK}" class="btn btn-primary" style="text-decoration:none">{$UPDATE}</a>
<hr />
{$CURRENT_VERSION}<br />
{$NEW_VERSION}
</div>
{/if}

<div class="card">
<div class="card-body">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">{$CATEGORIES}</h1>
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li>
<li class="breadcrumb-item active">{$STORE}</li>
<li class="breadcrumb-item active">{$CATEGORIES}</li>
</ol>
</div>

<!-- Update Notification -->
{include file='includes/update.tpl'}

<div class="card shadow mb-4">
<div class="card-body">

<h5 style="display:inline">{$EDITING_CATEGORY}</h5>
<div class="float-md-right">
<a href="/panel/store/packages" class="btn btn-primary">{$BACK}</a>
</div>
<hr />

{if isset($SUCCESS)}
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h5><i class="icon fa fa-check"></i> {$SUCCESS_TITLE}</h5>
{$SUCCESS}
</div>
{/if}

{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">&times;</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}

<!-- Success and Error Alerts -->
{include file='includes/alerts.tpl'}

<form action="" method="post">
<div class="form-group">
Expand Down Expand Up @@ -109,20 +79,25 @@
</div>
</form>-->

</div>
</div>
</div>

<!-- Spacing -->
<div style="height:1rem;"></div>
<!-- Spacing -->
<div style="height:1rem;"></div>

</div>
</section>
</div>
<!-- End Page Content -->
</div>

<!-- End Main Content -->
</div>

{include file='footer.tpl'}

{include file='footer.tpl'}
<!-- End Content Wrapper -->
</div>

<!-- End Wrapper -->
</div>
<!-- ./wrapper -->

{include file='scripts.tpl'}

Expand Down
117 changes: 46 additions & 71 deletions upload/custom/panel_templates/Default/store/categories_new.tpl
Original file line number Diff line number Diff line change
@@ -1,79 +1,49 @@
{include file='header.tpl'}
<body class="hold-transition sidebar-mini">
<div class="wrapper">
{include file='navbar.tpl'}

<body id="page-top">

<!-- Wrapper -->
<div id="wrapper">

<!-- Sidebar -->
{include file='sidebar.tpl'}

<div class="content-wrapper">
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">{$PACKAGES}</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li>
<li class="breadcrumb-item active">{$BUYCRAFT}</li>
<li class="breadcrumb-item active">{$PACKAGES}</li>
</ol>
</div>
</div>
</div>
</div>
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">

<!-- Main content -->
<section class="content">
<div id="content">

<!-- Topbar -->
{include file='navbar.tpl'}

<!-- Begin Page Content -->
<div class="container-fluid">
{if isset($NEW_UPDATE)}
{if $NEW_UPDATE_URGENT eq true}
<div class="alert alert-danger">
{else}
<div class="alert alert-primary alert-dismissible" id="updateAlert">
<button type="button" class="close" id="closeUpdate" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
{/if}
{$NEW_UPDATE}
<br />
<a href="{$UPDATE_LINK}" class="btn btn-primary" style="text-decoration:none">{$UPDATE}</a>
<hr />
{$CURRENT_VERSION}<br />
{$NEW_VERSION}
</div>
{/if}

<div class="card">
<div class="card-body">
<!-- Page Heading -->
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">{$PACKAGES}</h1>
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{$PANEL_INDEX}">{$DASHBOARD}</a></li>
<li class="breadcrumb-item active">{$STORE}</li>
<li class="breadcrumb-item active">{$PACKAGES}</li>
</ol>
</div>

<!-- Update Notification -->
{include file='includes/update.tpl'}

<div class="card shadow mb-4">
<div class="card-body">

<h5 style="display:inline">{$NEW_CATEGORY}</h5>
<div class="float-md-right">
<a href="/panel/store/packages" class="btn btn-primary">{$BACK}</a>
</div>
<hr />

{if isset($SUCCESS)}
<div class="alert alert-success alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<h5><i class="icon fa fa-check"></i> {$SUCCESS_TITLE}</h5>
{$SUCCESS}
</div>
{/if}

{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">&times;</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}
<!-- Success and Error Alerts -->
{include file='includes/alerts.tpl'}

<form action="" method="post">
<div class="form-group">
Expand Down Expand Up @@ -108,20 +78,25 @@
</div>
</form>--->

</div>
</div>
</div>

<!-- Spacing -->
<div style="height:1rem;"></div>
<!-- Spacing -->
<div style="height:1rem;"></div>

</div>
</section>
</div>
<!-- End Page Content -->
</div>

<!-- End Main Content -->
</div>

{include file='footer.tpl'}

{include file='footer.tpl'}
<!-- End Content Wrapper -->
</div>

<!-- End Wrapper -->
</div>
<!-- ./wrapper -->

{include file='scripts.tpl'}

Expand Down
Loading

0 comments on commit 359a73a

Please sign in to comment.