templates/cp/layout/default.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8"/>
  5.     <title>{% if page_title is defined %} {{ page_title }}  {% endif %} - Consolety</title>
  6.     {% block stylesheets %}
  7.         <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
  8.         {% if 'content-marketing' in app.request.attributes.get('_route') %}
  9.             <link rel="stylesheet" href="{{ asset('vendor/plugins/tagmanager/tagmanager.css') }}"/>
  10.         {% endif %}
  11.         <link rel="stylesheet" href="{{ asset('assets/skin/default_skin/css/theme.css') }}"/>
  12.         <link rel="stylesheet" href="{{ asset('assets/admin-tools/admin-forms/css/admin-forms.css') }}"/>
  13.         <link rel="stylesheet" href="{{ asset('vendor/plugins/magnific/magnific-popup.css') }}"/>
  14.         <link rel="stylesheet" href="{{ asset('vendor/plugins/select2/css/core.css') }}"/>
  15.         {% if 'content-marketing' in app.request.attributes.get('_route') %}
  16.             <link rel="stylesheet" href="{{ asset('vendor/plugins/summernote/summernote.css') }}"/>
  17.         {% endif %}
  18.     {% endblock %}
  19.     <style>
  20.         {% if 'content-marketing' in app.request.attributes.get('_route') %}
  21.         .form-horizontal .help-block ul.list-unstyled {
  22.             margin-bottom: 0;
  23.         }
  24.         .form-horizontal .help-block {
  25.             margin-bottom: 0;
  26.             margin-top: 0;
  27.             color: #fff;
  28.         }
  29.         .form-horizontal .alert {
  30.             padding: 10px;
  31.         }
  32.         {% endif %}
  33.         .header .logo {
  34.             margin-bottom: 0;
  35.             float: left;
  36.             margin-right: 10px;
  37.         }
  38.         .logo img {
  39.             float: left;
  40.             margin-right: 5px;
  41.             margin-top: 10px;
  42.             margin-left: 5px;
  43.             height: 26px;
  44.             width: 35px;
  45.         }
  46.         .logo .logo-text {
  47.             float: left;
  48.             margin-top: 10px;
  49.             line-height: 1;
  50.         }
  51.         .logo .logo-text .logo-title {
  52.             font-size: 24px;
  53.             text-transform: uppercase;
  54.         }
  55.         .logo .logo-text .logo-sub-title {
  56.             font-size: 10px;
  57.             text-transform: uppercase;
  58.         }
  59.         .logo .logo-text .logo-title, .logo .logo-text .logo-sub-title {
  60.             color: #2f2c2c;
  61.         }
  62.         .panel-heading {
  63.             font-size: 12px;
  64.         }
  65.         .sites-table .label {
  66.             font-size: 70%;
  67.         }
  68.         .sb-l-m .site-page .logo, .sb-l-c .site-page .logo {
  69.             display: none;
  70.         }
  71.         .select2-selection {
  72.             background-color: white !important;
  73.         }
  74.         .select2-search__field {
  75.             width: 100% !important;
  76.         }
  77.         .register .form-horizontal, .spec-form .form-horizontal {
  78.             width: 90%;
  79.             margin-top: 20px;
  80.         }
  81.         .login-page #content .admin-form {
  82.             max-width: 500px !important;
  83.         }
  84.         .white-popup-block .admin-form .switch, .white-popup-block .admin-form .option, .white-popup-block .admin-form .field-label {
  85.             font-size: 10px;
  86.         }
  87.         .tooltip-inner {
  88.             max-width: 400px;
  89.         }
  90.         .form-horizontal .radio, .form-horizontal .checkbox {
  91.             min-height: 100% !important;
  92.         }
  93.         .current_site {
  94.             /*background: #f2f2f2;*/
  95.             border-bottom: 1px solid #DDD;
  96.             box-shadow: inset 0px 0px 15px -6px #555555;
  97.         }
  98.         .not_current_site:hover {
  99.             /*background: #f2f2f2;*/
  100.             border-bottom: 1px solid #DDD;
  101.             box-shadow: inset 0px 0px 15px -6px #555555;
  102.             cursor: pointer;
  103.         }
  104.         ul.pagination a {
  105.             cursor: pointer;
  106.         }
  107.         #star12 {
  108.             display: inline-block;
  109.             margin-left: 5px;
  110.             width: 20px;
  111.             height: 20px;
  112.             position: relative;
  113.         }
  114.         #star12:before, #star12:after {
  115.             content: "";
  116.             position: absolute;
  117.             top: 0;
  118.             left: 0;
  119.             height: 20px;
  120.             width: 20px;
  121.             background: inherit;
  122.         }
  123.         #star12:before {
  124.             -webkit-transform: rotate(30deg);
  125.             -moz-transform: rotate(30deg);
  126.             -ms-transform: rotate(30deg);
  127.             -o-transform: rotate(30deg);
  128.         }
  129.         #star12:after {
  130.             -webkit-transform: rotate(60deg);
  131.             -moz-transform: rotate(60deg);
  132.             -ms-transform: rotate(60deg);
  133.             -o-transform: rotate(60deg);
  134.         }
  135.         #star12 span{
  136.             color:white;
  137.             font-weight: bold;
  138.             position: relative;
  139.             font-size: 12px;
  140.             z-index: 2;
  141.         }
  142.         header#topbar {
  143.             margin-top: 60px;
  144.         }
  145.     </style>
  146.     <link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}"/>
  147. </head>
  148. <body>
  149. <div id="main">
  150.     {% if no_header is not defined %}
  151.     {% include 'default/user-header.html.twig' %}
  152.     <section>
  153.         {% if app.user is not empty %}
  154.         <header id="topbar">        {% for message in app.flashes('act_notification') %}
  155.                 {% set message = message|my_json_decode %}
  156.                 <div class="alert alert-{{ message.type }} alert-dismissable" style="margin-bottom: 0;">
  157.                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  158.                     <i class="fa fa-check pr10"></i>
  159.                     <strong style="text-transform: capitalize;">{{ message.type }}!</strong> {{ message.message }}
  160.                 </div>
  161.             {% endfor %}</header>
  162.         {% endif %}
  163.         {% endif %}
  164.         <section id="content" class="">
  165.             {% block body %}{% endblock %}
  166.         </section>
  167.     </section>
  168. </div>
  169. </body>
  170. {% block javascripts %}
  171.     <script src="{{ asset("vendor/jquery/jquery-1.11.1.min.js") }}"></script>
  172.     <script src="{{ asset("vendor/jquery/jquery_ui/jquery-ui.min.js") }}"></script>
  173.     <script src="{{ asset("assets/js/utility/utility.js") }}"></script>
  174.     <script src="{{ asset("assets/js/main.js") }}"></script>
  175.     <script src="{{ asset("vendor/plugins/magnific/jquery.magnific-popup.js") }}"></script>
  176.     <script src="{{ asset("vendor/plugins/pnotify/pnotify.js") }}"></script>
  177.     <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
  178.     <script src="{{ asset("assets/js/sites.js") }}"></script>
  179.     {% if app.user.sites is not empty and app.user.sites[current_site_index].isOwnership %}
  180.     <script>
  181.         const queryString = window.location.search;
  182.         const urlParams = new URLSearchParams(queryString);
  183.         const firstPopup = urlParams.get('popup');
  184.         if(firstPopup){
  185.             $( document ).ready(function() {
  186.                 $('.popup-add-new').click();
  187.             })
  188.         }
  189.         </script>
  190.     {% endif %}
  191. {% endblock %}
  192. </html>