templates/Theme/layoutbaselogin.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <link rel="icon" href="{{ asset('admintemplate/images/logo.png') }}" sizes="32x32">
  8. {% block meta %} {% endblock %}
  9. <title>{% block title %}{{ site }}{% endblock %}</title>
  10. {% block stylesheets %}
  11. <link rel="stylesheet" href="{{ asset('template/css/bootstrap2.css') }}" type="text/css" />
  12. <style> 
  13.     body{
  14.       background: rgba(0, 0, 0, 0.1);
  15.       line-height: 1.45rem;
  16.       color: #444;
  17.     }
  18.     body.freeze {
  19.       pointer-events: none;
  20.     }
  21.     h1 {
  22.       margin: 0;
  23.       margin-bottom: 2rem;
  24.       text-align: center;
  25.       font-weight: normal;
  26.       line-height: 2.2rem;
  27.     }
  28.     .section {
  29.       max-width: 500px;
  30.       padding: 4rem;
  31.       margin: 5vh auto 0 auto;
  32.       background: white;
  33.       box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  34.     }
  35.     .section:before {
  36.       content: "";
  37.       width: 100%;
  38.       background: #092759;
  39.       height: 170px;
  40.       position: absolute;
  41.       top: 0;
  42.       left: 0;
  43.       z-index: -1;
  44.       border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  45.     }
  46.     .form-instructions {
  47.       text-align: center;
  48.     }
  49.     form {
  50.       margin: 2rem auto;
  51.       width: 100%;
  52.       max-width: 330px;
  53.       will-change: transform;
  54.     }
  55.     .fieldgroup {
  56.       margin: 1.5rem 0;
  57.       position: relative;
  58.     }
  59.     label {
  60.       position: absolute;
  61.       top: .8rem;
  62.       left: 0;
  63.       display: block;
  64.       font-size: 1rem;
  65.       transition: 0.2s ease-out;
  66.       opacity: .5;
  67.       will-change: top, font-size;
  68.     }
  69.     label:hover {
  70.       cursor: text;
  71.     }
  72.     input {
  73.       border: 1px solid #fff;
  74.       font-size: 1.2rem;
  75.       padding: .6rem;
  76.       padding-left: 0;
  77.       background: transparent;
  78.       border: none;
  79.       border-bottom: 2px solid #444;
  80.       transition: 0.2s;
  81.       width: calc(100% - .6rem);
  82.       max-width: 350px;
  83.       border-radius: 0;
  84.     }
  85.     input:focus {
  86.       outline: none;
  87.     }
  88.     input:valid {
  89.       border-color: #444;
  90.     }
  91.     input:focus + label, input.hasInput + label {
  92.       top: -.8rem;
  93.       font-size: .7rem;
  94.     }
  95.     .btn {
  96.       color: #fff;
  97.       background-color: #092759;
  98.       padding: .8rem;
  99.       font-size: 1.2rem;
  100.       line-height: 1.2rem;
  101.       border-radius: 5px;
  102.       border: 2px solid transparent;
  103.       min-width: 45px !important;
  104.     }
  105.     .btn:hover, .btn.hover {
  106.       color: #fff;
  107.       background-color: #092759;
  108.       text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  109.       transition: .2s;
  110.       cursor: pointer;
  111.     }
  112.     .btn:active, .btn.active {
  113.       color: #fff;
  114.       background-color: #00b858;
  115.       box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
  116.       outline: 2px solid #092759;
  117.     }
  118.     .btn:focus, .btn.focus {
  119.       color: #fff;
  120.       outline: 2px solid #092759;
  121.       outline-offset: 2px;
  122.     }
  123.     .btn:active:focus, .btn.active.focus {
  124.       outline: 4px solid #092759;
  125.     }
  126.     .btn.hover, .btn.active {
  127.       outline: none;
  128.     }
  129.     .btn-alt {
  130.       background-color: transparent;
  131.       color: #0bcc6c;
  132.       border: 2px solid #0bcc6c;
  133.     }
  134.     .btn-alt:hover, .btn-alt.hover {
  135.       background-color: transparent;
  136.       color: #00a444;
  137.       border-color: #00a444;
  138.       text-shadow: none;
  139.     }
  140.     .btn-alt:focus, .btn-alt.focus {
  141.       color: #00b858;
  142.     }
  143.     .btn-alt:active, .btn-alt.active {
  144.       color: #fff;
  145.       background-color: #0bcc6c;
  146.       text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.2);
  147.     }
  148.     .btn-alt.hover, .btn-alt.active {
  149.       outline: none;
  150.     }
  151.     .buttons {
  152.       display: flex;
  153.     }
  154.     .buttons .btn {
  155.       margin-right: 15px;
  156.     }
  157.     form .btn {
  158.       display: inline-block;
  159.       width: 100%;
  160.       max-width: 220px;
  161.       margin: 4rem auto 0 auto;
  162.     }
  163.     [data-step="4"] button.btn {
  164.       display: block;
  165.       margin: 0 auto;
  166.     }
  167.     .form-progress {
  168.       position: relative;
  169.       display: block;
  170.       margin: 3rem auto;
  171.       width: 100%;
  172.       max-width: 400px;
  173.     }
  174.     progress {
  175.       display: block;
  176.       position: relative;
  177.       top: 5px;
  178.       left: 5px;
  179.       -webkit-appearance: none;
  180.       -moz-appearance: none;
  181.            appearance: none;
  182.       background: #0bcc6c;
  183.       width: 100%;
  184.       height: 5px;
  185.       background: none;
  186.       transition: 1s;
  187.       will-change: contents;
  188.     }
  189.     progress::-webkit-progress-bar {
  190.       background-color: #ddd;
  191.     }
  192.     progress::-webkit-progress-value {
  193.       background-color: #0bcc6c;
  194.       transition: all 0.5s ease-in-out;
  195.     }
  196.     .form-progress-indicator {
  197.       position: absolute;
  198.       top: -6px;
  199.       left: 0;
  200.       display: inline-block;
  201.       width: 20px;
  202.       height: 20px;
  203.       background: white;
  204.       border: 3px solid #ddd;
  205.       border-radius: 50%;
  206.       transition: all .2s ease-in-out;
  207.       transition-delay: .3s;
  208.       will-change: transform;
  209.     }
  210.     .form-progress-indicator.one {
  211.       left: 0;
  212.     }
  213.     .form-progress-indicator.two {
  214.       left: 33%;
  215.     }
  216.     .form-progress-indicator.three {
  217.       left: 66%;
  218.     }
  219.     .form-progress-indicator.four {
  220.       left: 100%;
  221.     }
  222.     .form-progress-indicator.active {
  223.       -webkit-animation: bounce .5s forwards;
  224.               animation: bounce .5s forwards;
  225.       -webkit-animation-delay: .5s;
  226.               animation-delay: .5s;
  227.       border-color: #0bcc6c;
  228.     }
  229.     .animation-container {
  230.       position: relative;
  231.       width: 100%;
  232.       transition: .3s;
  233.       will-change: padding;
  234.       overflow: hidden;
  235.     }
  236.     .form-step {
  237.       position: absolute;
  238.       transition: 1s ease-in-out;
  239.       transition-timing-function: ease-in-out;
  240.       will-change: transform, opacity;
  241.     }
  242.     .form-step.leaving {
  243.       -webkit-animation: left-and-out .5s forwards;
  244.               animation: left-and-out .5s forwards;
  245.     }
  246.     .form-step.waiting {
  247.       -webkit-transform: translateX(400px);
  248.               transform: translateX(400px);
  249.     }
  250.     .form-step.coming {
  251.       -webkit-animation: right-and-in .5s forwards;
  252.               animation: right-and-in .5s forwards;
  253.     }
  254.     @-webkit-keyframes left-and-out {
  255.       100% {
  256.         opacity: 0;
  257.         -webkit-transform: translateX(-400px);
  258.                 transform: translateX(-400px);
  259.       }
  260.     }
  261.     @keyframes left-and-out {
  262.       100% {
  263.         opacity: 0;
  264.         -webkit-transform: translateX(-400px);
  265.                 transform: translateX(-400px);
  266.       }
  267.     }
  268.     @-webkit-keyframes right-and-in {
  269.       100% {
  270.         opacity: 1;
  271.         -webkit-transform: translateX(0);
  272.                 transform: translateX(0);
  273.       }
  274.     }
  275.     @keyframes right-and-in {
  276.       100% {
  277.         opacity: 1;
  278.         -webkit-transform: translateX(0);
  279.                 transform: translateX(0);
  280.       }
  281.     }
  282.     @-webkit-keyframes bounce {
  283.       50% {
  284.         -webkit-transform: scale(1.5);
  285.                 transform: scale(1.5);
  286.       }
  287.       100% {
  288.         -webkit-transform: scale(1);
  289.                 transform: scale(1);
  290.       }
  291.     }
  292.     @keyframes bounce {
  293.       50% {
  294.         -webkit-transform: scale(1.5);
  295.                 transform: scale(1.5);
  296.       }
  297.       100% {
  298.         -webkit-transform: scale(1);
  299.                 transform: scale(1);
  300.       }
  301.     }
  302.     .sr-only {
  303.       position: absolute;
  304.       width: 1px;
  305.       height: 1px;
  306.       padding: 0;
  307.       margin: -1px;
  308.       overflow: hidden;
  309.       clip: rect(0, 0, 0, 0);
  310.       border: 0;
  311.     }
  312.     .hidden {
  313.       display: none;
  314.     }
  315.     
  316.     .or-spacer {
  317.       margin-top: 10px;
  318.       margin-left: 0px;
  319.       width: 300px;
  320.       position: relative;
  321.       display: inline-block;
  322.     }
  323.     .or-spacer .mask {
  324.       overflow: hidden;
  325.       height: 20px;
  326.     }
  327.     .or-spacer .mask:after {
  328.       content: '';
  329.       display: block;
  330.       margin: -25px auto 0;
  331.       width: 100%;
  332.       height: 25px;
  333.       border-radius: 125px / 12px;
  334.       box-shadow: 0 0 8px black;
  335.     }
  336.     .or-spacer span {
  337.       width: 50px;
  338.       height: 50px;
  339.       position: absolute;
  340.       bottom: 100%;
  341.       margin-bottom: -25px;
  342.       left: 50%;
  343.       margin-left: -25px;
  344.       border-radius: 100%;
  345.       box-shadow: 0 2px 4px #999;
  346.       background: white;
  347.     }
  348.     .or-spacer span i {
  349.       position: absolute;
  350.       top: 4px;
  351.       bottom: 4px;
  352.       left: 4px;
  353.       right: 4px;
  354.       border-radius: 100%;
  355.       border: 1px dashed #aaa;
  356.       text-align: center;
  357.       line-height: 40px;
  358.       font-style: normal;
  359.       color: #999;
  360.     }
  361.     .or-spacer-vertical {
  362.       display: inline-block;
  363.       margin-top: 100px;
  364.       margin-left: 100px;
  365.       width: 100px;
  366.       position: relative;
  367.     }
  368.     .or-spacer-vertical .mask {
  369.       overflow: hidden;
  370.       width: 20px;
  371.       height: 200px;
  372.     }
  373.     .or-spacer-vertical.left .mask:after {
  374.       content: '';
  375.       display: block;
  376.       margin-left: -20px;
  377.       width: 20px;
  378.       height: 100%;
  379.       border-radius: 12px / 125px;
  380.       box-shadow: 0 0 8px black;
  381.     }
  382.     .or-spacer-vertical.right .mask:before {
  383.       content: '';
  384.       display: block;
  385.       margin-left: 20px;
  386.       width: 20px;
  387.       height: 100%;
  388.       border-radius: 12px / 125px;
  389.       box-shadow: 0 0 8px black;
  390.     }
  391. </style> 
  392. <link href="http://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" rel="stylesheet">
  393. <script src="{{ asset('template/js/jquery.min.js') }}"></script>
  394. <script src="{{ asset('template/js/bootstrap-3.1.1.min.js') }}"></script>
  395. {% endblock %}
  396. </head> 
  397. <body class="homepage" style="padding: 0px; overflow-x: hidden;">
  398.   {% block body %}
  399.         
  400.   {% endblock %}
  401.   {{ render(controller("App\\Controller\\General\\Template\\MenuController:footer", {'position': 'login'})) }}
  402.     
  403.     <script type="text/javascript">
  404.         var $body = $('body');
  405.         var $progressBar = $('progress');
  406.         var $animContainer = $('.animation-container');
  407.         var value = 0;
  408.         var transitionEnd = 'webkitTransitionEnd transitionend';
  409.         /**
  410.          * Resets the form back to the default state.
  411.          * ==========================================
  412.          */
  413.         function formReset() {
  414.             value = 0;
  415.             $animContainer.css({
  416.                 'paddingBottom': $('.js-form-step[data-step="1"]').height() + 'px'
  417.             });
  418.             
  419.             console.warn('Form reset.');
  420.             return false;
  421.         }
  422.         /**
  423.          * Sets up the click handlers on the form. Next/reset.
  424.          * ===================================================
  425.          */
  426.         function setupClickHandlers() {
  427.             return false;
  428.         }
  429.         /**
  430.          * Sets up and handles the float labels on the inputs.
  431.          =====================================================
  432.          */
  433.         function setupFloatLabels() {
  434.             // Check the inputs to see if we should keep the label floating or not
  435.             $('form input').not('button').on('blur', function() {
  436.                 // Different validation for different inputs
  437.                 switch (this.tagName) {
  438.                     case 'SELECT':
  439.                         if (this.value > 0) {
  440.                             this.className = 'hasInput';
  441.                         } else {
  442.                             this.className = '';
  443.                         }
  444.                         break;
  445.                     case 'INPUT':
  446.                         if (this.value !== '') {
  447.                             this.className = 'hasInput';
  448.                         } else {
  449.                             this.className = '';
  450.                         }
  451.                         break;
  452.                     default:
  453.                         break;
  454.                 }
  455.             });
  456.             
  457.             return false;
  458.         }
  459.         /**
  460.          * Gets the party started.
  461.          * =======================
  462.          */
  463.         function init() {
  464.             formReset();
  465.             setupFloatLabels();
  466.         }
  467.         init();
  468.     </script>
  469.     {% block srcjavascript %}
  470.     {% endblock %}
  471.     <script type="text/javascript">
  472.  
  473.   {% block javascript %}
  474.   {% endblock %}
  475.   
  476.   </script>
  477. </body>
  478. </html>