<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<title>{% if page_title is defined %} {{ page_title }} {% endif %} - Consolety</title>
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
{% if 'content-marketing' in app.request.attributes.get('_route') %}
<link rel="stylesheet" href="{{ asset('vendor/plugins/tagmanager/tagmanager.css') }}"/>
{% endif %}
<link rel="stylesheet" href="{{ asset('assets/skin/default_skin/css/theme.css') }}"/>
<link rel="stylesheet" href="{{ asset('assets/admin-tools/admin-forms/css/admin-forms.css') }}"/>
<link rel="stylesheet" href="{{ asset('vendor/plugins/magnific/magnific-popup.css') }}"/>
<link rel="stylesheet" href="{{ asset('vendor/plugins/select2/css/core.css') }}"/>
{% if 'content-marketing' in app.request.attributes.get('_route') %}
<link rel="stylesheet" href="{{ asset('vendor/plugins/summernote/summernote.css') }}"/>
{% endif %}
{% endblock %}
<style>
{% if 'content-marketing' in app.request.attributes.get('_route') %}
.form-horizontal .help-block ul.list-unstyled {
margin-bottom: 0;
}
.form-horizontal .help-block {
margin-bottom: 0;
margin-top: 0;
color: #fff;
}
.form-horizontal .alert {
padding: 10px;
}
{% endif %}
.header .logo {
margin-bottom: 0;
float: left;
margin-right: 10px;
}
.logo img {
float: left;
margin-right: 5px;
margin-top: 10px;
margin-left: 5px;
height: 26px;
width: 35px;
}
.logo .logo-text {
float: left;
margin-top: 10px;
line-height: 1;
}
.logo .logo-text .logo-title {
font-size: 24px;
text-transform: uppercase;
}
.logo .logo-text .logo-sub-title {
font-size: 10px;
text-transform: uppercase;
}
.logo .logo-text .logo-title, .logo .logo-text .logo-sub-title {
color: #2f2c2c;
}
.panel-heading {
font-size: 12px;
}
.sites-table .label {
font-size: 70%;
}
.sb-l-m .site-page .logo, .sb-l-c .site-page .logo {
display: none;
}
.select2-selection {
background-color: white !important;
}
.select2-search__field {
width: 100% !important;
}
.register .form-horizontal, .spec-form .form-horizontal {
width: 90%;
margin-top: 20px;
}
.login-page #content .admin-form {
max-width: 500px !important;
}
.white-popup-block .admin-form .switch, .white-popup-block .admin-form .option, .white-popup-block .admin-form .field-label {
font-size: 10px;
}
.tooltip-inner {
max-width: 400px;
}
.form-horizontal .radio, .form-horizontal .checkbox {
min-height: 100% !important;
}
.current_site {
/*background: #f2f2f2;*/
border-bottom: 1px solid #DDD;
box-shadow: inset 0px 0px 15px -6px #555555;
}
.not_current_site:hover {
/*background: #f2f2f2;*/
border-bottom: 1px solid #DDD;
box-shadow: inset 0px 0px 15px -6px #555555;
cursor: pointer;
}
ul.pagination a {
cursor: pointer;
}
#star12 {
display: inline-block;
margin-left: 5px;
width: 20px;
height: 20px;
position: relative;
}
#star12:before, #star12:after {
content: "";
position: absolute;
top: 0;
left: 0;
height: 20px;
width: 20px;
background: inherit;
}
#star12:before {
-webkit-transform: rotate(30deg);
-moz-transform: rotate(30deg);
-ms-transform: rotate(30deg);
-o-transform: rotate(30deg);
}
#star12:after {
-webkit-transform: rotate(60deg);
-moz-transform: rotate(60deg);
-ms-transform: rotate(60deg);
-o-transform: rotate(60deg);
}
#star12 span{
color:white;
font-weight: bold;
position: relative;
font-size: 12px;
z-index: 2;
}
header#topbar {
margin-top: 60px;
}
</style>
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
</head>
<body>
<div id="main">
{% if no_header is not defined %}
{% include 'default/user-header.html.twig' %}
<section>
{% if app.user is not empty %}
<header id="topbar"> {% for message in app.flashes('act_notification') %}
{% set message = message|my_json_decode %}
<div class="alert alert-{{ message.type }} alert-dismissable" style="margin-bottom: 0;">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<i class="fa fa-check pr10"></i>
<strong style="text-transform: capitalize;">{{ message.type }}!</strong> {{ message.message }}
</div>
{% endfor %}</header>
{% endif %}
{% endif %}
<section id="content" class="">
{% block body %}{% endblock %}
</section>
</section>
</div>
</body>
{% block javascripts %}
<script src="{{ asset("vendor/jquery/jquery-1.11.1.min.js") }}"></script>
<script src="{{ asset("vendor/jquery/jquery_ui/jquery-ui.min.js") }}"></script>
<script src="{{ asset("assets/js/utility/utility.js") }}"></script>
<script src="{{ asset("assets/js/main.js") }}"></script>
<script src="{{ asset("vendor/plugins/magnific/jquery.magnific-popup.js") }}"></script>
<script src="{{ asset("vendor/plugins/pnotify/pnotify.js") }}"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="{{ asset("assets/js/sites.js") }}"></script>
{% if app.user.sites is not empty and app.user.sites[current_site_index].isOwnership %}
<script>
const queryString = window.location.search;
const urlParams = new URLSearchParams(queryString);
const firstPopup = urlParams.get('popup');
if(firstPopup){
$( document ).ready(function() {
$('.popup-add-new').click();
})
}
</script>
{% endif %}
{% endblock %}
</html>