-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 10c9804
Showing
3,021 changed files
with
165,669 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<?php | ||
|
||
namespace Themes\Argon; | ||
|
||
use ClientX\Theme\ThemeInterface; | ||
|
||
class ArgonTheme implements ThemeInterface | ||
{ | ||
|
||
const DEFINITIONS = __DIR__ . '/config.php'; | ||
|
||
public function getName(): string | ||
{ | ||
return "Argon"; | ||
} | ||
|
||
public function getVersion(): ?string | ||
{ | ||
return "1.0"; | ||
} | ||
|
||
public function getAuthor(): ?string | ||
{ | ||
return "MartinDev"; | ||
} | ||
|
||
public function getScreenshots(): array | ||
{ | ||
return []; | ||
} | ||
|
||
public function getViewsPath(): string | ||
{ | ||
return __DIR__ . DIRECTORY_SEPARATOR . '/Views'; | ||
} | ||
|
||
public function getAssetsPath(): string | ||
{ | ||
return '/Argon/assets'; | ||
} | ||
|
||
public function getPluginsPath(): ?string | ||
{ | ||
return '/Argon/assets/vendor'; | ||
} | ||
|
||
public function getTemplatesPath(): string | ||
{ | ||
return __DIR__; | ||
} | ||
|
||
public function getComponentPath(): ?string | ||
{ | ||
return null; | ||
} | ||
|
||
public function getContacts(): ?array | ||
{ | ||
return [ | ||
'discord' => 'clientxcms.com/discord', | ||
'email' => 'contact@clientxcms.com', | ||
'twitter' => "@ClientXCMS", | ||
]; | ||
} | ||
} |
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,120 @@ | ||
{% extends "layout.twig" %} | ||
{% block title trans("dashboard") %} | ||
{% set products = products_pinned() %} | ||
{% set token = csrf_input() %} | ||
{% block body %} | ||
|
||
{% if current_user() %} | ||
<div class="row mt-2 mb-2"> | ||
{{ navigation('account_stats_menu') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="container-fluid mt--6"> | ||
<div class="col-sm-12 col-xl-8 col-12 col-md-12"> | ||
{{ navigation('account_table_menu') }} | ||
|
||
</div> | ||
<div class="col-sm-12 col-xl-4 col-12 col-md-12"> | ||
{{ navigation('account_sidebar_menu') }} | ||
</div> | ||
</div> | ||
</div> | ||
{% else %} | ||
|
||
<div class="row"> | ||
<div class="col-xl-3 col-sm-12 col-md-6 col-12"> | ||
<div class="card card-large-icons"> | ||
<div class="card-icon bg-primary text-white"> | ||
<i class="fas fa-shopping-cart"></i> | ||
</div> | ||
<div class="card-body"> | ||
<h4>{{ trans("order_product") }}</h4> | ||
<p>{{ trans("homecard.order") }}</p> | ||
<a href="{{ path('shop') }}" class="card-cta">{{ trans("see_more") }} <i | ||
class="fas fa-chevron-right"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xl-3 col-lg-6 col-sm-12 col-md-6 col-12"> | ||
<div class="card card-large-icons"> | ||
<div class="card-icon bg-primary text-white"> | ||
<i class="fas fa-ticket-alt"></i> | ||
</div> | ||
<div class="card-body"> | ||
<h4>{{ trans("support") }}</h4> | ||
<p>{{ trans("homecard.support") }}</p> | ||
<a href="{{ path('support') }}" class="card-cta">{{ trans("see_more") }} <i | ||
class="fas fa-chevron-right"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xl-3 col-lg-6 col-sm-12 col-md-6 col-12"> | ||
<div class="card card-large-icons"> | ||
<div class="card-icon bg-primary text-white"> | ||
<i class="fas fa-user"></i> | ||
</div> | ||
<div class="card-body"> | ||
<h4>{{ trans("authentification") }}</h4> | ||
<p>{{ trans("homecard.auth") }}</p> | ||
<a href="{{ path('auth.login') }}" class="card-cta">{{ trans("see_more") }} <i | ||
class="fas fa-chevron-right"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-xl-3 col-lg-6 col-sm-12 col-md-6 col-12"> | ||
<div class="card card-large-icons"> | ||
<div class="card-icon bg-primary text-white"> | ||
<i class="fas fa-cubes"></i> | ||
</div> | ||
<div class="card-body"> | ||
<h4>{{ trans("services") }}</h4> | ||
<p>{{ trans("homecard.services") }}</p> | ||
<a href="{{ path('shop.services') }}" class="card-cta">{{ trans("see_more") }}<i | ||
class="fas fa-chevron-right"></i></a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% if products | length > 0 %} | ||
<div class="col-md-12 col-xl-12 col-sm-12"> | ||
<h3 class="mt-2">{{ trans("account.client.pinned_product") }}</h3> | ||
|
||
<div class="row"> | ||
{% for row in products | batch(3) %} | ||
{% for product in row %} | ||
{{ include("@shop/product/card", {col: 4}) }} | ||
{% endfor %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
<div class="col-md-12 col-xl-3 col-sm-12"> | ||
{% if setting("socialnetwork_discord_id") %} | ||
<iframe src="https://discord.com/widget?id={{ setting("socialnetwork_discord_id") }}&theme={{ dark ? 'dark' : 'light' }}" | ||
style="width: 100%" height="500" allowtransparency="true" frameborder="0" | ||
sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe> | ||
{% endif %} | ||
</div> | ||
|
||
<div class="col-md-12 col-xl-3 col-sm-12"> | ||
{% if setting("socialnetwork_twitterusername") %} | ||
<a class="twitter-timeline" | ||
data-height="500" | ||
href="https://twitter.com/{{ setting("socialnetwork_twitterusername") }}?ref_src=twsrc%5Etfw" {{ dark ? 'data-theme="dark"' : '' }}>Tweets | ||
by | ||
{{ trans("socialnetwork_twitterusername") }}</a> | ||
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endif %} | ||
{% endblock %} | ||
{% block scripts %} | ||
<script src="{{ theme_global('SecurityPwd.js') }}"></script> | ||
{{ ago_scripts() }} | ||
{% endblock %} |
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,56 @@ | ||
<div class="col-md-12 col-xl-{{ col ? col : 4 }} col-sm-12"> | ||
<div class="pricing card-group flex-column flex-md-row mb-3 {{ produuct.pinned ? 'bg-gradient-success' : '' }}"> | ||
<div class="card card-pricing border-0 text-center mb-4"> | ||
<div class="card-header bg-transparent"> | ||
<h4 class="text-uppercase ls-1 text-primary py-3 mb-0">{{ product.name }}</h4> | ||
</div> | ||
<div class="card-body px-lg-4"> | ||
<div class="display-4"> | ||
|
||
{% if product.discounted %} | ||
<del> | ||
{{ product.originalPrice(product.toRecurring().name) | formatted_price(true) | trans }} {{ product.toRecurring.translateKey | trans }}</del> | ||
{% endif %} | ||
{{ product.price(product.toRecurring().name) | formatted_price(true) | trans }} | ||
|
||
</div> | ||
|
||
<span class="text-muted">{{ product.toRecurring.translateKey | trans }}</span> | ||
{% if product.setupfee(product.toRecurring().name) != 0 %} | ||
<p class="text-muted">{{ trans("setupfee") }} | ||
: {{ product.setupfee(product.toRecurring().name) | formatted_price(true, 'none') | trans }}</p> | ||
{% endif %} | ||
<ul class="list-unstyled my-4"> | ||
|
||
{{ product.description | raw }} | ||
</ul> | ||
|
||
{% if product.stockcontrol == "0" or (product.stockcontrol == '1' and product.stock != 0) %} | ||
{% if module_is_enabled('Basket') %} | ||
<form method="POST" action="{{ path('basket.add', {id: product.id}) }}"> | ||
{{ token | raw }} | ||
{% if basket_row(product) %} | ||
<input type="hidden" name="quantity" value="{{ basket_row(product).quantity }}"> | ||
<input type="hidden" name="billing" value="{{ basket_row(product).billing }}"> | ||
{% endif %} | ||
|
||
<input type="hidden" name="billing" value="{{ product.toRecurring().name }}"> | ||
<button class="btn btn-lg btn-block btn-info"> | ||
{{ trans("add_cart") }} | ||
<i class="fas fa-arrow-right"></i> | ||
</button> | ||
</form> | ||
{% else %} | ||
<a class="btn btn-lg btn-block btn-info" href="{{ path('shop.checkout', {id: product.id}) }}"> | ||
{{ trans("buy") }} | ||
<i class="fas fa-arrow-right"></i> | ||
</a> | ||
{% endif %} | ||
{% else %} | ||
|
||
<button class="btn btn-lg btn-block btn-info" type="button"> | ||
{{ trans("out_stock") }}<i class="fas fa-time"></i> | ||
</button> | ||
{% endif %} | ||
</div> | ||
</div> |
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,67 @@ | ||
{% include "includes/head.twig" with {title: block('title')} %} | ||
<body class="bg-default"> | ||
<nav id="navbar-main" class="navbar navbar-horizontal navbar-transparent navbar-main navbar-expand-lg navbar-light"> | ||
<div class="container"> | ||
<a class="navbar-brand" href="{{ path('client') }}"> | ||
|
||
{{ config('app.title') | html_decode | raw }} | ||
</a> | ||
<div class="navbar-collapse navbar-custom-collapse collapse" id="navbar-collapse"> | ||
|
||
<ul class="navbar-nav align-items-lg-center ml-lg-auto"> | ||
<li class="nav-item d-none d-lg-block ml-lg-4"> | ||
<a href="{{ path('shop') }}" target="_blank" class="btn btn-neutral btn-icon"> | ||
<span class="btn-inner--icon"> | ||
<i class="fas fa-shopping-cart mr-2"></i> | ||
</span> | ||
<span class="nav-link-inner--text">{{ trans("store") }}</span> | ||
</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
<div class="main-content"> | ||
<div class="header bg-gradient-primary py-7 py-lg-8 pt-lg-9"> | ||
<div class="container"> | ||
<div class="header-body text-center mb-7"> | ||
<div class="row justify-content-center"> | ||
<div class="col-xl-5 col-lg-6 col-md-8 px-5"> | ||
<h1 class="text-white">{{ block('title') }}</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="separator separator-bottom separator-skew zindex-100"> | ||
<svg x="0" y="0" viewBox="0 0 2560 100" preserveAspectRatio="none" version="1.1" | ||
xmlns="http://www.w3.org/2000/svg"> | ||
<polygon class="fill-default" points="2560 0 2560 100 0 100"></polygon> | ||
</svg> | ||
</div> | ||
</div> | ||
<div class="container mt--8 pb-5"> | ||
<div class="row justify-content-center"> | ||
<div class="col-lg-5 col-md-7"> | ||
<div class="card bg-secondary border-0 mb-0"> | ||
<div class="card-body px-lg-5 py-lg-5"> | ||
{% block body %}{% endblock %} | ||
|
||
</div> | ||
</div> | ||
|
||
<div class="row mt-3"> | ||
<div class="col-12" style="text-align: center;"> | ||
Copyright © {{ config('app.name') }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
{% include "includes/script.twig" %} | ||
{% block scripts %}{% endblock %} | ||
</body> | ||
</html> |
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,6 @@ | ||
<?php | ||
|
||
|
||
return [ | ||
'class' => \Themes\Argon\ArgonTheme::class | ||
]; |
Oops, something went wrong.