base theme edited

This commit is contained in:
vedatakd 2019-11-05 15:49:15 +03:00
parent 9507dad255
commit 53806b7123
44 changed files with 152 additions and 148 deletions

View File

@ -313,7 +313,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
public function AddAdsDefaultCoverImage($ad)
{
if ($ad->cover_photo == null) {
$ad->cover_photo = $this->dispatch(new MakeImageInstance('theme::images/no-image-ads.jpg', 'img'))->url();
$ad->cover_photo = $this->dispatch(new MakeImageInstance('visiosoft.theme.base::images/no-image-ads.jpg', 'img'))->url();
} else {
$ad->cover_photo = url($ad->cover_photo);
}
@ -324,7 +324,7 @@ class AdvModel extends AdvsAdvsEntryModel implements AdvInterface
{
$adv = $this->find($id);
if ($adv == null or $adv->cover_photo == null) {
$cover_photo = $this->dispatch(new MakeImageInstance('theme::images/no-image-ads.jpg', 'img'))->url();
$cover_photo = $this->dispatch(new MakeImageInstance('visiosoft.theme.base::images/no-image-ads.jpg', 'img'))->url();
} else {
$cover_photo = url($adv->cover_photo);
}

View File

@ -1,3 +1,3 @@
<div class="advertisement">
<a href="#"><img src="{{ img('theme::images/ads/2.jpg').url }}" alt="Images" class="img-responsive"></a>
<a href="#"><img src="{{ img('visiosoft.theme.base::images/ads/2.jpg').url }}" alt="Images" class="img-responsive"></a>
</div>

View File

@ -3,7 +3,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/13.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
@ -15,7 +15,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
@ -28,7 +28,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/15.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->

View File

@ -3,7 +3,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-secure">
<img src="{{ img('theme::images/icon/13.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/13.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
@ -15,7 +15,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-support">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
@ -28,7 +28,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/15.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/15.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
@ -40,7 +40,7 @@
<div class="single-cta">
<!-- cta-icon -->
<div class="cta-icon icon-trading">
<img src="{{ img('theme::images/icon/14.png').url }}" alt="Icon"
<img src="{{ img('visiosoft.theme.base::images/icon/14.png').url }}" alt="Icon"
class="img-responsive">
</div><!-- cta-icon -->
<h5>Yardıma mı ihtiyacınız var?</h5>

View File

@ -1,3 +1,3 @@
<div class="ad-section text-center">
<a href="#"><img src="{{ img('theme::images/ads/3.jpg').url }}" alt="Image" class="img-responsive"></a>
<a href="#"><img src="{{ img('visiosoft.theme.base::images/ads/3.jpg').url }}" alt="Image" class="img-responsive"></a>
</div>

View File

@ -1,3 +1,3 @@
<div class="advertisement text-center">
<a href="#"><img src="{{ img('theme::images/ads/1.jpg').url }}" alt="Images" class="img-responsive"></a>
<a href="#"><img src="{{ img('visiosoft.theme.base::images/ads/1.jpg').url }}" alt="Images" class="img-responsive"></a>
</div>

File diff suppressed because one or more lines are too long

View File

@ -465,7 +465,7 @@ textarea {
========================================================================== */
#main {
background-image: linear-gradient(to bottom, #0c3483 0%, #a2b6df 100%, #6b8cce 100%, #a2b6df 100%);
/*background-image: url("{{ img('theme::images/bg/main.png').url }}");*/
/*background-image: url("{{ img('visiosoft.theme.base::images/bg/main.png').url }}");*/
background-repeat: no-repeat;
background-position: top center;
background-color: #f7f7f7;
@ -1127,7 +1127,7 @@ a.verified i {
/* Download */
#download {
background-image: url("{{ img('theme::images/bg/1.png').url }}");
background-image: url("{{ img('visiosoft.theme.base::images/bg/1.png').url }}");
padding: 55px 0 90px;
}
@ -4293,7 +4293,7 @@ a.verified i {
========================================================================== */
#scrollUp {
background-image: url("{{ img('theme::images/top.png').url }}");
background-image: url("{{ img('visiosoft.theme.base::images/top.png').url }}");
bottom: 60px;
right: 20px;
width: 38px; /* Width of image */
@ -5495,7 +5495,7 @@ input[name="username"] {
background-repeat: no-repeat;
background-size: 50% 45%;
background-position: center;
background-image: url("{{ img('theme::images/cart-add-icon.png').url }}");
background-image: url("{{ img('visiosoft.theme.base::images/cart-add-icon.png').url }}");
}
.lds-ripple {

View File

@ -4305,8 +4305,8 @@ readers do not read off random characters that represent icons */
font-style: normal;
font-weight: normal;
font-display: auto;
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.eot") }}');
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.eot") }}') format("embedded-opentype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.woff2") }}') format("woff2"), url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.woff") }}') format("woff"), url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.ttf") }}') format("truetype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-brands-400.svg#fontawesome") }}') format("svg"); }
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.eot") }}');
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.eot") }}') format("embedded-opentype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.woff2") }}') format("woff2"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.woff") }}') format("woff"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.ttf") }}') format("truetype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-brands-400.svg#fontawesome") }}') format("svg"); }
.fab {
font-family: 'Font Awesome 5 Brands'; }
@ -4315,8 +4315,8 @@ readers do not read off random characters that represent icons */
font-style: normal;
font-weight: 400;
font-display: auto;
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.eot") }}');
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.eot") }}') format("embedded-opentype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.woff2") }}') format("woff2"), url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.woff") }}') format("woff"), url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.ttf") }}') format("truetype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-regular-400.svg#fontawesome") }}') format("svg"); }
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.eot") }}');
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.eot") }}') format("embedded-opentype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.woff2") }}') format("woff2"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.woff") }}') format("woff"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.ttf") }}') format("truetype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-regular-400.svg#fontawesome") }}') format("svg"); }
.far {
font-family: 'Font Awesome 5 Free';
@ -4326,8 +4326,8 @@ readers do not read off random characters that represent icons */
font-style: normal;
font-weight: 900;
font-display: auto;
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.eot") }}');
src: url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.eot") }}') format("embedded-opentype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.woff2") }}') format("woff2"), url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.woff") }}') format("woff"), url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.ttf") }}') format("truetype"), url('{{ asset_path("theme::font-awesome/webfonts/fa-solid-900.svg#fontawesome") }}') format("svg"); }
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.eot") }}');
src: url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.eot") }}') format("embedded-opentype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.woff2") }}') format("woff2"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.woff") }}') format("woff"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.ttf") }}') format("truetype"), url('{{ asset_path("visiosoft.theme.base::font-awesome/webfonts/fa-solid-900.svg#fontawesome") }}') format("svg"); }
.fa,
.fas {

View File

@ -11,11 +11,11 @@
// Import the fonts
@font-face {
font-family: 'Glyphicons Halflings';
src: url('{{ asset_path("theme::fonts/bootstrap/glyphicons-halflings-regular.eot") }}');
src: url('{{ asset_path("theme::fonts/bootstrap/glyphicons-halflings-regular.eot") }}') format('embedded-opentype'),
url('{{ asset_path("theme::fonts/bootstrap/glyphicons-halflings-regular.woff") }}') format('woff'),
url('{{ asset_path("theme::fonts/bootstrap/glyphicons-halflings-regular.ttf") }}') format('truetype'),
url('{{ asset_path("theme::fonts/bootstrap/glyphicons-halflings-regular.svg") }}') format('svg');
src: url('{{ asset_path("visiosoft.theme.base::fonts/bootstrap/glyphicons-halflings-regular.eot") }}');
src: url('{{ asset_path("visiosoft.theme.base::fonts/bootstrap/glyphicons-halflings-regular.eot") }}') format('embedded-opentype'),
url('{{ asset_path("visiosoft.theme.base::fonts/bootstrap/glyphicons-halflings-regular.woff") }}') format('woff'),
url('{{ asset_path("visiosoft.theme.base::fonts/bootstrap/glyphicons-halflings-regular.ttf") }}') format('truetype'),
url('{{ asset_path("visiosoft.theme.base::fonts/bootstrap/glyphicons-halflings-regular.svg") }}') format('svg');
font-weight: normal;
font-style: normal;
}

View File

@ -3,11 +3,11 @@
@font-face {
font-family: 'FontAwesome';
src: url('{{ asset_path("theme::fonts/font-awesome/fontawesome-webfont.eot") }}');
src: url('{{ asset_path("theme::fonts/font-awesome/fontawesome-webfont.eot") }}') format('embedded-opentype'),
url('{{ asset_path("theme::fonts/font-awesome/fontawesome-webfont.woff") }}') format('woff'),
url('{{ asset_path("theme::fonts/font-awesome/fontawesome-webfont.ttf") }}') format('truetype'),
url('{{ asset_path("theme::fonts/font-awesome/fontawesome-webfont.svg") }}') format('svg');
src: url('{{ asset_path("visiosoft.theme.base::fonts/font-awesome/fontawesome-webfont.eot") }}');
src: url('{{ asset_path("visiosoft.theme.base::fonts/font-awesome/fontawesome-webfont.eot") }}') format('embedded-opentype'),
url('{{ asset_path("visiosoft.theme.base::fonts/font-awesome/fontawesome-webfont.woff") }}') format('woff'),
url('{{ asset_path("visiosoft.theme.base::fonts/font-awesome/fontawesome-webfont.ttf") }}') format('truetype'),
url('{{ asset_path("visiosoft.theme.base::fonts/font-awesome/fontawesome-webfont.svg") }}') format('svg');
font-weight: normal;
font-style: normal;
}

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends layout('ad-detail') %}
{% block ogdata %}
<meta property="og:site_name"
@ -19,7 +19,7 @@
<section id="main" class="clearfix details-page">
<div class="container">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<!-- breadcrumb -->
<div class="breadcrumb-section">
@ -38,10 +38,10 @@
<div class="section slider">
<div class="row">
{% include "theme::ad-detail/partials/slider" %}
{% include "visiosoft.theme.base::ad-detail/partials/slider" %}
<div class="col-md-5">
{% include "theme::ad-detail/partials/detail" %}
{% include "visiosoft.theme.base::ad-detail/partials/detail" %}
</div>
</div>

View File

@ -14,7 +14,7 @@
<h2 class="ad-price">
<b>{{ adv.price.format() }}</b> {{ adv.currency }}
{% include "theme::ad-detail/partials/author-button" %}
{% include "visiosoft.theme.base::ad-detail/partials/author-button" %}
</h2>
@ -99,7 +99,7 @@
<!-- social-links -->
<div class="social-links">
{% include "theme::ad-detail/partials/social" %}
{% include "visiosoft.theme.base::ad-detail/partials/social" %}
</div>
<!-- social-links -->

View File

@ -7,8 +7,8 @@
data-thumbheight="48">
{% set advPhoto = '' %}
{% if count(adv.files) == 0 %}
{% set advPhoto = img('theme::images/no-image.png').url %}
<a href="{{ image }}"><img src="{{ img('theme::images/no-image.png').url }}"></a>
{% set advPhoto = img('visiosoft.theme.base::images/no-image.png').url %}
<a href="{{ image }}"><img src="{{ img('visiosoft.theme.base::images/no-image.png').url }}"></a>
{% else %}
{% for image in adv.getViewPhotoUrl %}
<a href="{{ image }}"><img src="{{ image }}"></a>

View File

@ -4,12 +4,12 @@
{% block page %}
{% if (request_path() == '/') %}
{% if setting_value('visiosoft.theme.base::template') == "s" %}
{% include "theme::indexes/s-index" %}
{% include "visiosoft.theme.base::indexes/s-index" %}
{% else %}
{% include "theme::indexes/index" %}
{% include "visiosoft.theme.base::indexes/index" %}
{% endif %}
{% elseif (request_path() == 'contact') %}
{% include "theme::page/contact" %}
{% include "visiosoft.theme.base::page/contact" %}
{% else %}
<section id="main">
<div class="container">

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}

View File

@ -73,7 +73,7 @@
{% if homepageAdvs['homepage_left_advertisement_place'] %}
<!-- ad-section -->
<div class="ad-section text-center">
<a href="#"><img src="{{ img('theme::images/ads/3.jpg').url }}" alt="Image"
<a href="#"><img src="{{ img('visiosoft.theme.base::images/ads/3.jpg').url }}" alt="Image"
class="img-responsive"></a>
</div><!-- ad-section -->
{% endif %}

View File

@ -2,7 +2,7 @@
<div class="container">
<!-- banner -->
<div class="banner-section text-center">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
{{ content|raw }}
<!-- banner-form -->
<div class="banner-form">
@ -14,7 +14,7 @@
<div class="form-group ">
{% set cities = entries('location','cities').orderBy('slug').get() %}
<select id="cities" name="city[]" class="form-control">
<option selected disabled>{{ trans('theme::fields.city') }}</option>
<option selected disabled>{{ trans('visiosoft.theme.base::fields.city') }}</option>
{% for city in cities %}
<option value="{{ city.id }}">{{ city.name }}</option>
{% endfor %}
@ -32,7 +32,7 @@
<a href="#" class="btn btn-default" data-toggle="dropdown" role="button"
aria-haspopup="true" aria-expanded="false">
<span class="selected-category-item"
style="display: inline-block;">{{ trans('theme::fields.categories') }}</span>
style="display: inline-block;">{{ trans('visiosoft.theme.base::fields.categories') }}</span>
</a>
<ul class="dropdown-menu cat-dropdown-menu">
{% for cat in cats %}
@ -58,13 +58,13 @@
{% set search_on_map_btn = setting_value('visiosoft.theme.base::show_home_search_on_map_btn') %}
<div class="{% if search_on_map_btn != 1 %} col-md-4 {% else %}col-md-1 {% endif %} home-search-field">
<button type="submit" class="btn btn-default pl-5 pr-5 search-button"><i
class="fa fa-search"></i> {{ trans('theme::fields.search') }}
class="fa fa-search"></i> {{ trans('visiosoft.theme.base::fields.search') }}
</button>
</div>
{% if search_on_map_btn %}
<div class="col-md-3 home-search-field">
<button type="button" class="btn btn-default map-search-button pl-5 pr-5 "><i
class="fa fa-map-marker"></i> {{ trans('theme::fields.search_map') }}
class="fa fa-map-marker"></i> {{ trans('visiosoft.theme.base::fields.search_map') }}
</button>
</div>
{% endif %}
@ -76,7 +76,7 @@
<div class="last-search">
<a href="{{ app.request.cookies.get('last_search') }}" class="btn btn-default center-block">
<i class="fa fa-history"></i>
{{ trans('theme::fields.last_search') }}</a>
{{ trans('visiosoft.theme.base::fields.last_search') }}</a>
</div>
{% endif %}
{% endif %}
@ -96,7 +96,7 @@
<div class="row">
<div class="col-sm-12">
<div class="section-title featured-top">
<h4>{{ trans('theme::fields.featured_ads') }}</h4>
<h4>{{ trans('visiosoft.theme.base::fields.featured_ads') }}</h4>
</div>
</div>
</div>
@ -173,10 +173,10 @@
<!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist">
<li role="presentation" class="active"><a href="#recent-ads"
data-toggle="tab">{{ trans('theme::fields.recent_ads') }}</a>
data-toggle="tab">{{ trans('visiosoft.theme.base::fields.recent_ads') }}</a>
</li>
<li role="presentation"><a href="#popular"
data-toggle="tab">{{ trans('theme::fields.trending_ads') }}</a>
data-toggle="tab">{{ trans('visiosoft.theme.base::fields.trending_ads') }}</a>
</li>
</ul>
</div>
@ -325,7 +325,7 @@
<div class="hidden-xs hidden-sm col-md-2">
{#{% if homepageAdvs['homepage_right_advertisement_place'] %}#}
{#<div class="advertisement text-center">#}
{#<a href="#"><img src="{{ img('theme::images/ads/1.jpg').url }}" alt="Images" class="img-responsive"></a>#}
{#<a href="#"><img src="{{ img('visiosoft.theme.base::images/ads/1.jpg').url }}" alt="Images" class="img-responsive"></a>#}
{#</div>#}
{{ blocks('right-home-banner-area') }}

View File

@ -1,10 +1,10 @@
{% include "theme::home/carsearch" %}
{% include "visiosoft.theme.base::home/carsearch" %}
<div class="page">
<div class="container">
{% include "theme::home/featured" %}
{% include "theme::home/trend" %}
{% include "theme::home/singlecta" %}
{% include "visiosoft.theme.base::home/featured" %}
{% include "visiosoft.theme.base::home/trend" %}
{% include "visiosoft.theme.base::home/singlecta" %}
</div>

View File

@ -1,26 +1,26 @@
<div class="col-xs-12 col-sm-12 col-md-12 text-center s-home-banner visible-xs">
<div class="col-md-12 visible-xs">
{% set banner_default = img('theme::images/s-home-banner.png').url %}
{{ setting_value('visiosoft.default.theme::s-type-banner-mobile-code','<img src="'~banner_default~'">')|raw }}
{% set banner_default = img('visiosoft.theme.base::images/s-home-banner.png').url %}
{{ setting_value('visiosoft.default.visiosoft.theme.base::s-type-banner-mobile-code','<img src="'~banner_default~'">')|raw }}
</div>
</div>
{% include "theme::partials/s-mobile-categories" %}
{% include "visiosoft.theme.base::partials/s-mobile-categories" %}
<div class="container s-container">
{% include "theme::partials/categories-s" %}
{% include "visiosoft.theme.base::partials/categories-s" %}
<div class="col-sm-9 s-home-show">
<div class="row s-home-showcase">
<div class="col-xs-12 col-sm-12 col-md-12 text-center s-home-banner hidden-xs">
<div class="col-md-12 hidden-xs">
{% set banner_default = img('theme::images/s-home-banner-web.png').url %}
{{ setting_value('visiosoft.default.theme::s-type-banner-code','<img src="'~banner_default~'"/>')|raw }}
{% set banner_default = img('visiosoft.theme.base::images/s-home-banner-web.png').url %}
{{ setting_value('visiosoft.default.visiosoft.theme.base::s-type-banner-code','<img src="'~banner_default~'"/>')|raw }}
</div>
</div>
{% include "theme::partials/home-showcase-s" %}
{% include "visiosoft.theme.base::partials/home-showcase-s" %}
<div class="col-md-12 s-container">
{% include "theme::partials/home-latest-s" %}
{% include "visiosoft.theme.base::partials/home-latest-s" %}
</div>
</div>

View File

@ -12,14 +12,14 @@
<html>
<head>
{% include "theme::partials/metadata" %}
{% include "visiosoft.theme.base::partials/metadata" %}
{% block ogdata %}
{% if app.request.pathInfo == "/" %}
<meta property="og:site_name" content="{{ template.get('og_site_name', setting_value('streams::name', config_get('streams::distribution.name'))) }}"/>
<meta property="og:description" content="{{ template.get('og_description', trans(template.meta_description)) }}"/>
<meta property="og:title" content="{{ template.get('og_title', trans(template.meta_title)) }}"/>
<meta property="og:url" content="{{ template.get('og_url', url_current()) }}"/>
<meta property="og:image" content="{{ entries('advs').isOgImage(img('theme::images/logo-horizontal.png').url) }}">
<meta property="og:image" content="{{ entries('advs').isOgImage(img('visiosoft.theme.base::images/logo-horizontal.png').url) }}">
<meta property="og:type" content="website"/>
{% endif %}
{% endblock %}
@ -28,15 +28,15 @@
<body>
{% include "theme::partials/header" %}
{% include "visiosoft.theme.base::partials/header" %}
{% block content %}{% endblock %}
{% if entries('advs').isEnabled('pushnotifications') %}
{% include "visiosoft.module.pushnotifications::pushbar" %}
{% endif %}
{% include "theme::partials/footer" %}
{% include "theme::partials/assets" %}
{% include "visiosoft.theme.base::partials/footer" %}
{% include "visiosoft.theme.base::partials/assets" %}
{% block customjs %}{% endblock %}

View File

@ -1,14 +1,14 @@
{% extends "theme::layouts/default" %}
{% extends layout('list') %}
{% block content %}
<section id="main" class="clearfix category-page">
<div class="container">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<!-- breadcrumb -->
{% include "theme::list/partials/breadcrumb" %}
{% include "visiosoft.theme.base::list/partials/breadcrumb" %}
<!-- breadcrumb -->
{% block listContent %}
@ -16,15 +16,15 @@
<div class="row">
{% include "theme::list/partials/user-section" %}
{% include "visiosoft.theme.base::list/partials/user-section" %}
<form action="{{ url_route('visiosoft.module.advs::list') }}" method="get">
{% include "theme::list/partials/list-filter" %}
{% include "visiosoft.theme.base::list/partials/list-filter" %}
<div class="col-sm-8 col-md-9">
{% include "theme::list/partials/list-section" %}
{% include "visiosoft.theme.base::list/partials/list-section" %}
</div>

View File

@ -1,4 +1,4 @@
{% extends "theme::list/list" %}
{% extends "visiosoft.theme.base::list/list" %}
{% block listContent %}
<div class="category-info">
<div class="row">

View File

@ -22,7 +22,7 @@
href="{% if(type == "list") %}{{ url_route('visiosoft.module.advs::list') }}{% else %}{{ url_route('advs_map_list') }}{% endif %}?cat={{ maincat.id }}"> {% if maincat.files[0].path != "" %}
<img class="catIcon" src="{{ url('files/' ~ maincat.files[0].path) }}"
alt="">{% else %}<img class="catIcon"
src="{{ img('theme::images/plus-categories.png').url }}"
src="{{ img('visiosoft.theme.base::images/plus-categories.png').url }}"
alt="">{% endif %}{{ maincat.name }}</a>
{% for subcat in subCats %}
<ul>
@ -49,7 +49,7 @@
<div class="panel-heading">
<a data-toggle="collapse" data-parent="#accordion" href="#accordion-three">
<h4 class="panel-title">
{{ trans('theme::fields.price.name') }}
{{ trans('visiosoft.theme.base::fields.price.name') }}
<span class="pull-right"><i class="fa fa-minus"></i></span>
</h4>
</a>
@ -94,7 +94,7 @@
<button type="submit" class="btn btn-primary search-filter-button">
{{ trans("visiosoft.module.advs::field.search") }}
</button>
<h5><font color="#333">{{ trans('theme::message.filter_by_search_msg') }}</font></h5>
<h5><font color="#333">{{ trans('visiosoft.theme.base::message.filter_by_search_msg') }}</font></h5>
</div>
</div>
</div>

View File

@ -3,7 +3,7 @@
<div class="row list-header">
<div class="col-md-6">
{% include "theme::list/partials/list-sort-by" %}
{% include "visiosoft.theme.base::list/partials/list-sort-by" %}
</div>
<div class="col-md-6">
{% include "visiosoft.theme.base::list/partials/display-mode" %}
@ -18,10 +18,10 @@
<div class="category-tabs"></div>
{% include "theme::list/partials/featured-ads" %}
{% include "visiosoft.theme.base::list/partials/featured-ads" %}
{% include "theme::list/partials/ads" %}
{% include "visiosoft.theme.base::list/partials/ads" %}
<!-- pagination -->

View File

@ -9,7 +9,7 @@
</div>
</div>
{% if userProfile.adv_listing_banner.url == '' %}
<img src="{{ img('theme::images/bg/1.png').url }}">
<img src="{{ img('visiosoft.theme.base::images/bg/1.png').url }}">
{% else %}
<img src="{{ userProfile.adv_listing_banner.url }}">
{% endif %}

View File

@ -1,10 +1,10 @@
{% extends "theme::list/list" %}
{% extends "visiosoft.theme.base::list/list" %}
{% block listContent %}
<div class="category-info">
<div class="row">
{% include "theme::list/partials/user-section" %}
{% include "visiosoft.theme.base::list/partials/user-section" %}
<form action="{{ url_route('visiosoft.module.advs::list') }}" method="get">
@ -16,7 +16,7 @@
<div class="row">
<div class="col-md-6">
{% include "theme::list/partials/list-sort-by" %}
{% include "visiosoft.theme.base::list/partials/list-sort-by" %}
</div>
<div class="col-md-6">
{% include "visiosoft.theme.base::list/partials/display-mode" %}
@ -88,5 +88,5 @@
{% endblock %}
{% block customjs %}
{{ asset_add("scripts.js", "visiosoft.theme.base::js/list-table.js") }}
{% include "theme::scroll-modal" %}
{% include "visiosoft.theme.base::scroll-modal" %}
{% endblock %}

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}
<section id="main" class="clearfix user-page">
<div class="container">
@ -6,7 +6,7 @@
<!-- user-login -->
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<div class="user-account">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<h2>User Login</h2>
<!-- form -->
{% set form = form('login').redirect('/').get() %}
@ -33,7 +33,7 @@
</div><!-- forgot-password -->
{% if isActiveSocial == 1 %}
<label>Login with:</label>
{% include "theme::loginWith" %}
{% include "visiosoft.theme.base::loginWith" %}
{% endif %}
{{ form.close()|raw }}
</div>

View File

@ -1,4 +1,5 @@
{% extends "theme::layouts/default" %}
{% extends layout('edit-cat') %}
{% block content %}
<section id="main" class="clearfix ad-post-page">
<div class="container">

View File

@ -1,10 +1,11 @@
{% extends "theme::layouts/default" %}
{% extends layout('new-ad') %}
{% block content %}
<section id="main" class="clearfix home-default">
<div class="container">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
{% include "theme::new-ad/partials/breadcrumb" %}
{% include "visiosoft.theme.base::new-ad/partials/breadcrumb" %}
<div class="adpost-details">
<div class="row">

View File

@ -1,8 +1,9 @@
{% extends "theme::layouts/default" %}
{% extends layout('post-cat') %}
{% block content %}
<section id="main" class="clearfix ad-post-page">
<div class="container">
{% include "theme::new-ad/partials/breadcrumb" %}
{% include "visiosoft.theme.base::new-ad/partials/breadcrumb" %}
<div id="ad-cat-section">
<form action="{{ url_route('visiosoft.module.advs::post_cat') }}" method="post">
<div class="row category-tab">
@ -118,7 +119,7 @@
}
#main {
background-image: {{ img('theme::images/bg/main.png').url }} !important;
background-image: {{ img('visiosoft.theme.base::images/bg/main.png').url }} !important;
}
.btn-1 {

View File

@ -41,16 +41,16 @@
<h2>{{ trans('visiosoft.module.advs::field.send_us_your_feedback') }}</h2>
<p>{{ form('contact').to('info@openclassify.com').from(setting_value('streams::email')).
handler('\\Anomaly\\ContactPlugin\\Form\\ContactFormHandler@handle').
fields({'email': {'label': trans('theme::fields.email.name'),'type': 'email','required': true,},
'name': {'label': trans('theme::fields.name.name'),'type': 'text','required': true,},
'subject': {'label': trans('theme::fields.subject.name'),'type': 'text','required': true,},
'content': {'label': trans('theme::fields.content.name'),'type': 'textarea','required': true,}})
.actions({'submit': {'text': trans('theme::button.send.name')}})|raw }}</p>
fields({'email': {'label': trans('visiosoft.theme.base::fields.email.name'),'type': 'email','required': true,},
'name': {'label': trans('visiosoft.theme.base::fields.name.name'),'type': 'text','required': true,},
'subject': {'label': trans('visiosoft.theme.base::fields.subject.name'),'type': 'text','required': true,},
'content': {'label': trans('visiosoft.theme.base::fields.content.name'),'type': 'textarea','required': true,}})
.actions({'submit': {'text': trans('visiosoft.theme.base::button.send.name')}})|raw }}</p>
</div>
</div><!-- feedback -->
</div><!-- row -->
</div>
</div><!-- container -->
</section><!-- main -->
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
{{ asset_add("scripts.js", "visiosoft.theme.base::js/map.js") }}

View File

@ -1,22 +1,23 @@
{#
Main CSS can be found in metadata.twig
#}
{# Core Theme Components #}
{{ asset_add("theme.js", "theme::js/vendor/jquery.min.js") }}
{{ asset_add("theme.js", "theme::js/vendor/bootstrap.min.js") }}
{{ asset_add("theme.js", "theme::js/vendor/vue.min.js") }}
{{ asset_add("theme.js", "theme::js/bootstrap-notify.js") }}
{{ asset_add("theme.js", "theme::js/nav.js") }}
{{ asset_add("theme.js", "theme::js/params.js") }}
{{ asset_add("theme.js", "theme::js/notification.js") }}
{{ asset_add("theme.js", "theme::js/ajaxLoader.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/vendor/jquery.min.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/vendor/bootstrap.min.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/vendor/vue.min.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/bootstrap-notify.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/nav.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/params.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/notification.js") }}
{{ asset_add("theme.js", "visiosoft.theme.base::js/ajaxLoader.js") }}
{{ asset_add("theme.js", "visiosoft.theme.defaultadmin::js/theme/select2.js") }}
{# Theme Scripts #}
{#{{ asset_add("theme.js", "theme::js/plugins/*") }}#}
{{ asset_add("theme.js", "theme::js/theme/initialize.js") }}
{#{{ asset_add("theme.js", "visiosoft.theme.base::js/plugins/*") }}#}
{{ asset_add("theme.js", "visiosoft.theme.base::js/theme/initialize.js") }}
{{ asset_script("theme.js", ["min"]) }}
@ -31,8 +32,8 @@
{% for style in asset_styles("styles.css") %}
{{ style|raw }}
{% endfor %}
{{ asset_style("theme::css/default/animate.css") }}
{{ asset_add("visiosoft_default.js", "theme::js/default/*") }}
{{ asset_style("visiosoft.theme.base::css/default/animate.css") }}
{{ asset_add("visiosoft_default.js", "visiosoft.theme.base::js/default/*") }}
{{ asset_script("visiosoft_default.js") }}
{{ asset_add("visiosoft_default_custom.js", "theme::js/zcustom.js") }}
{{ asset_add("visiosoft_default_custom.js", "visiosoft.theme.base::js/zcustom.js") }}
{{ asset_script("visiosoft_default_custom.js") }}

View File

@ -134,7 +134,7 @@
</footer>
{% include "theme::partials/s-search-modal" %}
{% include "visiosoft.theme.base::partials/s-search-modal" %}
{% if setting('visiosoft.module.advs::google_statistic_code') != "" %}

View File

@ -1,6 +1,6 @@
{% if setting_value('visiosoft.theme.base::template') == "s" %}
{% include "theme::partials/nav-s" %}
{% include "visiosoft.theme.base::partials/nav-s" %}
{% else %}
{% include "theme::partials/nav" %}
{% include "visiosoft.theme.base::partials/nav" %}
{% endif %}

View File

@ -42,27 +42,27 @@
{{ favicons(url('files/' ~ file(setting_value('visiosoft.module.advs::favicon')).path)) }}
{# Base Theme Components #}
{{ asset_add("theme.css", "theme::scss/bootstrap/bootstrap.scss") }}
{{ asset_add("theme.css", "theme::font-awesome/css/all.css") }}
{{ asset_add("theme.css", "visiosoft.theme.base::scss/bootstrap/bootstrap.scss") }}
{{ asset_add("theme.css", "visiosoft.theme.base::font-awesome/css/all.css") }}
{{ asset_add("theme.css", "visiosoft.theme.defaultadmin::css/select2.css") }}
{{ asset_style("theme.css") }}
{# Specific Build Files #}
{{ asset_add("build.css", "theme::scss/theme/theme.scss", ["live"]) }}
{{ asset_add("build.css", "visiosoft.theme.base::scss/theme/theme.scss", ["live"]) }}
{# Specific Build Files #}
{{ asset_add("build.css", "theme::scss/theme/theme.scss", ["live"]) }}
{{ asset_add("build.css", "visiosoft.theme.base::scss/theme/theme.scss", ["live"]) }}
{# Include Asset Collections #}
<style type="text/css">
{#{{ asset_inline("theme.css", ["min"]) }}#}
{{ asset_inline("build.css", ["parse", "min", "watch@theme::scss/theme"]) }}
{{ asset_inline("build.css", ["parse", "min", "watch@visiosoft.theme.base::scss/theme"]) }}
</style>
{{ asset_add("visiosoft_default.css", "theme::css/default/*") }}
{{ asset_add("visiosoft_default.css", "visiosoft.theme.base::css/default/*") }}
{% if setting_value('visiosoft.theme.base::template') == "s" %}
{{ asset_add("visiosoft_default.css", "theme::css/sahb.css") }}
{{ asset_add("visiosoft_default.css", "visiosoft.theme.base::css/sahb.css") }}
{% endif %}

View File

@ -48,7 +48,7 @@
class="caret"></span>
</a>
<ul class="dropdown-menu login-user-dropdown-menu">
{% include "theme::partials/links" %}
{% include "visiosoft.theme.base::partials/links" %}
</ul>
</li>
{# {% if entries('advs').isEnabled('messages') %}#}
@ -116,7 +116,7 @@
<i class="fa fa-user"></i> <span class="login-username"></span><span class="caret"></span>
</a>
<ul class="dropdown-menu login-user-dropdown-menu">
{% include "theme::partials/links" %}
{% include "visiosoft.theme.base::partials/links" %}
</ul>
</li>
<li class="new-ads-navigation-mobile-field pull-right">

View File

@ -11,7 +11,7 @@
<a class="navbar-brand" href="/">
{% if setting_value('visiosoft.module.advs::logo') == NULL %}
<img class="img-responsive" alt="{{ trans(template.meta_title) }}-Logo"
src="{{ img('theme::images/logo-horizontal.png').url }}">
src="{{ img('visiosoft.theme.base::images/logo-horizontal.png').url }}">
{% else %}
<img class="img-responsive"
src="{{ url('files/' ~ file(setting_value('visiosoft.module.advs::logo')).path) }}"
@ -73,7 +73,7 @@
<ul class="nav navbar-nav controls-menu-right" style="float: right;">
{% set current_locale = entries('advs').getCurrentLocale() %}
{{ languageSwitcher('openclassify-lang', {'toggle_title': '<img alt="'~config('app.locale')~'" src="'~img('theme::images/flags/'~config('app.locale')~'.png').url~'" class="lang-flag" >' ~current_locale~'','toggle_class':'navigation-lang-field-none'}) }}
{{ languageSwitcher('openclassify-lang', {'toggle_title': '<img alt="'~config('app.locale')~'" src="'~img('visiosoft.theme.base::images/flags/'~config('app.locale')~'.png').url~'" class="lang-flag" >' ~current_locale~'','toggle_class':'navigation-lang-field-none'}) }}
{% if auth_check() %}
<li class="dropdown profile-navigation-field">
@ -88,14 +88,14 @@
class="caret"></span>
</a>
<ul class="dropdown-menu login-user-dropdown-menu">
{% include "theme::partials/links" %}
{% include "visiosoft.theme.base::partials/links" %}
</ul>
</li>
{% else %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><b><i class="fa fa-user"></i>
{{ trans('theme::fields.login') }}</b> <span
{{ trans('visiosoft.theme.base::fields.login') }}</b> <span
class="caret"></span></a>
<ul id="login-dp" class="dropdown-menu">
<li>
@ -189,7 +189,7 @@
<i class="fa fa-user"></i> <span class="login-username"></span><span class="caret"></span>
</a>
<ul class="dropdown-menu login-user-dropdown-menu">
{% include "theme::partials/links" %}
{% include "visiosoft.theme.base::partials/links" %}
</ul>
</li>

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}
<section id="main" class="clearfix user-page">
<div class="container">
@ -6,7 +6,7 @@
<!-- user-login -->
<div class="col-lg-6 col-lg-offset-3">
<div class="user-account">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<h2>Password Forgot</h2>
<!-- form -->
{% set form = form('forgot_password').redirect(request_get('redirect', '/')).get() %}

View File

@ -7,7 +7,7 @@
<!-- user-login -->
<div class="col-lg-6 col-lg-offset-3">
<div class="user-account">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<h2>Password Reset</h2>
<!-- form -->
{% set form = form('reset_password').get() %}

View File

@ -1,4 +1,4 @@
{% extends "theme::layouts/default" %}
{% extends "visiosoft.theme.base::layouts/default" %}
{% block content %}
<section id="main" class="clearfix user-page">
<div class="container">
@ -6,7 +6,7 @@
<!-- user-login -->
<div class="col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
<div class="user-account">
{% include "theme::partials/messages" %}
{% include "visiosoft.theme.base::partials/messages" %}
<h2>Create an Account</h2>
{% set form = form('register2').redirect(request_get('redirect', '/')).get() %}
{{ form.open()|raw }}

View File

@ -1,10 +1,10 @@
<div id="swipeTableModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-body" onclick="$('#swipeTableModal').modal('hide');">
<img src="{{ img('theme::images/scroll-screen.gif').url }}">
<p>{{ trans('theme::fields.scroll-screen-for-details') }}</p>
<button>{{ trans('theme::fields.close') }}</button>
<img src="{{ img('visiosoft.theme.base::images/scroll-screen.gif').url }}">
<p>{{ trans('visiosoft.theme.base::fields.scroll-screen-for-details') }}</p>
<button>{{ trans('visiosoft.theme.base::fields.close') }}</button>
</div>
</div>
</div>
{{ asset_add("scripts.js", "theme::js/scroll-screen.js") }}
{{ asset_add("scripts.js", "visiosoft.theme.base::js/scroll-screen.js") }}