{% extends 'MDS/GreenPatioBundle/base-calendar.html.twig' %}
{% block pageid %}home-page{% endblock %}
{% block pageheadercontent %}
<div class="page-title">
<h4> <span class="text-semibold">{% trans %}Calendario Unificado de Green Patio y Covarrubias{% endtrans %}</span></h4>
</div>
<div class="heading-elements">
<div class="heading-btn-group">
</div>
</div>
{% endblock %}
{% block breadcrumbs %}
<ul class="breadcrumb">
<li><a href="/"><i class="icon-home4 position-left"></i> {% trans %}Home{% endtrans %}</a></li>
</ul>
<ul class="breadcrumb-elements">
</ul>
{% endblock %}
{% block content %}
<div class="col-sm-12 text-right" style="padding-bottom: 0px">
<style>
.legend-container {
display: flex;
align-items: center;
justify-content: flex-start;
padding: 15px;
}
.legend-item {
display: flex;
align-items: center;
margin-right: 20px;
}
.legend-color {
width: 20px;
height: 20px;
margin-right: 10px;
border: 1px solid #000;
}
.color-bloqueo { background-color: #b873bf; }
.color-confirmado { background-color: #13ad27; }
.color-confirmadocvr { background-color: #017362; }
.color-cotizado { background-color: #faafc3; }
.color-montaje { background-color: #a5b8a2; }
.color-agenteone { background-color: #f5229a; }
.color-agentetwo { background-color: #22cbf5; }
.color-agentethree { background-color: #157cc2; }
</style>
<div class="col-sm-12 text-right" style="padding-bottom: 15px">
<div class="legend-container">
<div class="legend-item">
<div class="legend-color color-montaje"></div>
<span>Montaje / Desmontaje</span>
</div>
<div class="legend-item">
<div class="legend-color color-cotizado"></div>
<span>Cotizado</span>
</div>
<div class="legend-item">
<div class="legend-color color-confirmado"></div>
<span>Confirmado / Facturado ( La Imprenta )</span>
</div>
<div class="legend-item">
<div class="legend-color color-confirmadocvr"></div>
<span>Confirmado / Facturado ( Covarrubias )</span>
</div>
<div class="legend-item">
<div class="legend-color color-agenteone"></div>
<span>Visita ( Gabriela )</span>
</div>
<div class="legend-item">
<div class="legend-color color-agentetwo"></div>
<span>Visita ( Angie )</span>
</div>
<div class="legend-item">
<div class="legend-color color-agentethree"></div>
<span>Visita ( Cristina )</span>
</div>
</div>
</div>
</div>
{{ parent() }}
<input id="user" class="hidden" value="{{ user }}">
{% for flashMessage in app.session.flashbag.get('mensaje') %}
<div class="hidden alertFlashMensaje" data-mensaje="{{ flashMessage }}"></div>
{% endfor %}
{% for flashMessage in app.session.flashbag.get('mensajeerror') %}
<div class="hidden alertFlashMensajeError" data-mensajeerror="{{ flashMessage }}"></div>
{% endfor %}
<!-- Main charts -->
<div class="row">
<div class="col-lg-12">
<!-- Event colors -->
<div class="panel">
<div class="panel-body">
<div class="fullcalendar-event-colors"></div>
</div>
</div>
<!-- /event colors -->
</div>
<div id="modal_form_vertical_notes" class="modal fade in" style="display: none; padding-right: 17px;">
<div class="modal-dialog">
<div class="modal-content">
{{ form_start(form, { 'attr' : {'class': 'form-horizontal', 'novalidate': 'novalidate', 'role' : 'form', 'autocomplete': 'off'} }) }}
<div class="panel-heading">
<button type="button" class="close" data-dismiss="modal">×</button>
<h5 class="modal-title">{% trans %}Add New Reminder{% endtrans %}</h5>
</div>
<div class="panel-body">
<div class="col-md-4 col-xs-4" style="padding-left: 15px;padding-right: 15px">
<div class="form-group form-group-material{% if form_errors(form.dateAt)|length > 0 %} has-error{% endif %}">
<label class="control-label is-visible">
{{ form_label(form.dateAt, 'Date', {'label_attr': {'class': 'control-label is-visible'}}) }}
</label>
<div class="input-group col-md-12">
{{ form_widget(form.dateAt, { 'attr' : {'class' : 'form-control', 'placeholder' : 'Date'} }) }}
</div>
<span class="help-block">{{ form_errors(form.dateAt) }}</span>
</div>
</div>
<div class="col-md-4 col-xs-4" style="padding-left: 15px;padding-right: 15px">
<div class="form-group form-group-material{% if form_errors(form.forAgent)|length > 0 %} has-error{% endif %}">
<label class="control-label is-visible">
{{ form_label(form.forAgent, 'For Agent', {'label_attr': {'class': 'control-label is-visible'}}) }}
</label>
<div class="input-group col-md-12">
{{ form_widget(form.forAgent, { 'attr' : {'class' : 'form-control', 'placeholder' : 'For Agent'} }) }}
</div>
<span class="help-block">{{ form_errors(form.forAgent) }}</span>
</div>
</div>
<div class="col-md-4 col-xs-4 text-center" style="padding-left: 15px;padding-right: 15px">
<div class="form-group form-group-material">
<label class="control-label is-visible">
{{ form_label(form.audience, 'Audience', {'label_attr': {'for': 'InputAudience','class': 'control-label'}}) }}
</label>
<div class="checkbox checkbox-switchery switchery-lg switchery-double">
<label>
<strong>{% trans %}Private{% endtrans %}</strong>
{{ form_widget(form.audience, {'attr': {'id': 'InputAudience', 'class': 'switchery-info normalButton'}}) }}
<strong>{% trans %}Public{% endtrans %}</strong>
</label>
</div>
</div>
</div>
<div class="col-md-12 col-xs-12" style="padding-left: 15px;padding-right: 15px">
<div class="form-group form-group-material{% if form_errors(form.title)|length > 0 %} has-error{% endif %}">
<label class="control-label is-visible">
{{ form_label(form.title, 'Title', {'label_attr': {'class': 'control-label is-visible'}}) }} *
</label>
<div class="input-group col-md-12">
{{ form_widget(form.title, { 'attr' : {'class' : 'form-control', 'placeholder' : 'Title'} }) }}
</div>
<span class="help-block">{{ form_errors(form.title) }}</span>
</div>
</div>
<div class="col-md-12 col-xs-12" style="padding-left: 15px;padding-right: 15px">
<div class="form-group form-group-material{% if form_errors(form.message)|length > 0 %} has-error{% endif %}">
<label class="control-label is-visible">
{{ form_label(form.message, 'Message', {'label_attr': {'class': 'control-label is-visible'}}) }} *
</label>
<div class="input-group col-md-12">
{{ form_widget(form.message, { 'attr' : {'class' : 'form-control', 'placeholder' : 'Message'} }) }}
</div>
<span class="help-block">{{ form_errors(form.message) }}</span>
</div>
</div>
</div>
<div class="modal-footer">
<div class="form-group form-group-material">
<div class="input-group col-md-12">
{{ form_widget(form.save, {'label' : 'Save', 'attr': {'class': 'btn btn-success btn-block', 'href' : 'h/widget/notes/update/{{form.id}}'}}) }}
</div>
</div>
{{ form_end(form) }}
</div>
</div>
</div>
</div>
</div>
<!-- /main charts -->
{% endblock %}
{% block javascripts %}
<!-- Theme JS files -->
<script type="text/javascript" src="{{ asset('assets/js/plugins/forms/styling/switchery.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/visualization/d3/d3.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/visualization/d3/d3_tooltip.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/forms/styling/uniform.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/forms/selects/bootstrap_multiselect.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/ui/moment/moment.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/ui/fullcalendar/fullcalendar.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/pickers/daterangepicker.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/pickers/color/spectrum.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/pickers/color/i18n/jquery.spectrum-es.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/plugins/notifications/sweet_alert.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('assets/js/pages/greenpatio/dashboard_greenpatio_covarrubias.js') }}"></script>
<script src="{{ asset( 'assets/js/pages/client/client-base.js') }}"></script>
{% endblock %}