Compare commits

..

8 Commits

Author SHA1 Message Date
llaniau e4cd963ffd cv theque 2020-09-03 18:49:58 +02:00
llaniau 96367dd0af cv videotheque 2020-09-03 17:34:07 +02:00
llaniau 857e32e574 base temporaire pour avoir des pages en mode V1 meme en V2 2020-09-02 18:40:24 +02:00
llaniau 6b4581bd5d Amelioration dashboard entreprise sur la gestion des offres 2020-09-01 16:57:24 +02:00
llaniau 52ec51b973 Fix : dashboard entreprise - ajout ad 2020-09-01 14:24:44 +02:00
llaniau 1b5a4ff368 Dashboard / gestion annonce 2020-09-01 13:03:27 +02:00
llaniau b9b93ee8f1 modif user dashboard entreprise 2020-09-01 12:04:04 +02:00
llaniau 5bcc995f81 Modif inscription 2020-09-01 11:33:16 +02:00
32 changed files with 595 additions and 160 deletions
@@ -27,4 +27,5 @@
{% block metarobot %}
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="refresh" content="3; URL=/">
{% endblock %}
@@ -46,6 +46,12 @@
</main>
{% endblock %}
{% block metarobot %}
<meta name="robots" content="noindex,nofollow">
{% block javascripts %}
{% javascripts
'@vendors'
'@global'
output='assetic/main.js' filter='?uglifyjs2' %}
<script src="{{ asset_url }}"></script>
{% endjavascripts %}
{% endblock %}
@@ -14,23 +14,14 @@
<div class="dropdown pull-right d-lg-block d-none">
<button class="profile-dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="profile dropdown">
<span class="thumbnail-wrapper d32 circular inline">
<img src="{{ asset('dashboard/img/profiles/avatar.jpg') }}" alt="" data-src="{{ asset('dashboard/img/profiles/avatar.jpg') }}"
data-src-retina="{{ asset('dashboard/img/profiles/avatar_small2x.jpg') }}" width="32" height="32">
<img src="{{ asset('dashboard/img/profiles/account-avatar-default.svg') }}" alt="" data-src="{{ asset('dashboard/img/profiles/account-avatar-default.svg') }}"
data-src-retina="{{ asset('dashboard/img/profiles/account-avatar-default.svg') }}" width="32" height="32">
</span>
</button>
<div class="dropdown-menu dropdown-menu-right profile-dropdown" role="menu">
<a href="#" class="dropdown-item"><span>Signed in as <br /><b>David Aunsberg</b></span></a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">Your Profile</a>
<a href="#" class="dropdown-item">Your Activity</a>
<a href="#" class="dropdown-item">Your Archive</a>
<div class="dropdown-divider"></div>
<a href="#" class="dropdown-item">Features</a>
<a href="#" class="dropdown-item">Help</a>
<a href="#" class="dropdown-item">Settings</a>
<a href="#" class="dropdown-item">Logout</a>
<div class="dropdown-divider"></div>
<span class="dropdown-item fs-12 hint-text">Last edited by David<br />on Friday at 5:27PM</span>
<a href="/logout" class="dropdown-item">Se déconnecter</a>
</div>
</div>
<!-- END User Info-->
@@ -0,0 +1,49 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<!-- Title -->
<title>{% block title %}{% endblock %}</title>
<!-- Required Meta Tags Always Come First -->
<meta charset="utf-8">
<meta name="robots" content="noindex,nofollow">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% block meta %}
{% endblock %}
<!-- Google Fonts -->
<link href="//fonts.googleapis.com/css?family=Roboto:300,400,500,700" rel="stylesheet">
<!-- CSS Implementing Plugins -->
<link rel="stylesheet" href="{{ asset('v2/vendor/font-awesome/css/all.min.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/hs-megamenu/src/hs.megamenu.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/custombox/dist/custombox.min.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/animate.css/animate.min.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/slick-carousel/slick/slick.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/cubeportfolio/css/cubeportfolio.min.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/fancybox/jquery.fancybox.css') }}">
<!-- CSS Space Template -->
<link rel="stylesheet" href="{{ asset('v2/css/theme.css') }}">
<script type="text/javascript"> window.$crisp=[];window.CRISP_WEBSITE_ID="78ec5756-1cd5-4f3f-b0db-cb408c8171da";(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script>
</head>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-P4G65WJ"
height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
{#{% include 'default/alert.html.twig' %}#}
{# {% include 'defaultv2/user_switch.html.twig' %}#}
{#{% include 'defaultv2/props_settings.html.twig' %} #}
{% block content %}
{% endblock %}
{% block javascripts %}
{% endblock %}
{# {% include 'defaultv2/footer.html.twig' %} #}
{{ include('FairlaneCookieConsentBundle::cookie-info.html.twig') }}
</body>
</html>
@@ -42,7 +42,6 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
<meta property="og:url" content="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
{% endblock %}
<meta http-equiv="refresh" content="3; URL=/">
{# Canonical #}
<link rel="canonical"
href="{% block urlCanonical %}{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}{% endblock %}">
@@ -68,7 +67,7 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
{% include 'default/props_settings.html.twig' %}
{% block content %}
{% endblock %}
{% include 'default/footertemporaire.html.twig' %}
{# {% include 'default/footertemporaire.html.twig' %} #}
{% block javascripts %}
{% javascripts
'@vendors'
@@ -22,7 +22,7 @@
<link rel="stylesheet" href="{{ asset('v2/vendor/slick-carousel/slick/slick.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/cubeportfolio/css/cubeportfolio.min.css') }}">
<link rel="stylesheet" href="{{ asset('v2/vendor/fancybox/jquery.fancybox.css') }}">
<!-- CSS Space Template -->
<link rel="stylesheet" href="{{ asset('v2/css/theme.css') }}">
<script type="text/javascript"> window.$crisp=[];window.CRISP_WEBSITE_ID="78ec5756-1cd5-4f3f-b0db-cb408c8171da";(function(){ d=document;s=d.createElement("script"); s.src="https://client.crisp.chat/l.js"; s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})(); </script>
@@ -39,6 +39,9 @@
{% include 'defaultv2/header.html.twig' %}
{#{% include 'defaultv2/props_settings.html.twig' %} #}
{% block content %}
{% endblock %}
{% block javascripts %}
{% endblock %}
{# {% include 'defaultv2/footer.html.twig' %} #}
{{ include('FairlaneCookieConsentBundle::cookie-info.html.twig') }}
@@ -1,66 +1,119 @@
{% extends 'company/base_dashboard_company.html.twig' %}
{# {% extends 'company/base_dashboard_company.html.twig' %} #}
{% extends 'admin/base_dashboard.html.twig' %}
{% block dashContent %}
{% if type == "spontaneous" %}
{% include 'company/job_submenu.html.twig' with {
'tab' : 3
} %}
{% else %}
{% include 'company/job_submenu.html.twig' with {
'tab' : 2
} %}
{% endif %}
<div class="row bg-bordered p-20">
{% include 'company/ad_breadcrumb.html.twig' with {'step': 2,'ad': ad} %}
<div id="reponses" class="col s12">
<table id="table-answers" class="bordered highlight responsive-table">
<thead>
<tr>
<th>{{ 'profile.talent.lastname'|trans }} {{ 'profile.talent.firstname'|trans }}</th>
<th>{{ 'global.datereception.label'|trans }}</th>
<th>{{ 'ad.company.list.status'|trans }}</th>
<th class="center-align">{{ 'ad.company.list.actions'|trans }}</th>
</tr>
</thead>
<tbody>
{% for answer in answers %}
<tr>
<td>
<a href="{{ path('company_answer_show',{'id':answer.id }) }}">{{ answer.user.lastname }} {{ answer.user.firstname }}</a>
</td>
<td>{{ answer.sendTime()|date('d/m/Y') }}</td>
{% if answer.firstMessage %}
<td>{{ answer.firstMessage.status|trans }}</td>
{% else %}
{% if answer.isViewed %}
{% if answer.isViewed.status == "DRAFT" %}
<td>{{ 'VIEWED'|trans }}</td>
{% endif %}
{% else %}
<td>{{ 'NEW'|trans }}</td>
{% endif %}
{% endif %}
<td class="center-align">
<a title="{{ad.title}}" href="{{ path('company_answer_show',{'id':answer.id }) }}">
<i class="fa fa-eye"></i>
</a>
<a href="#" class="note-action c-pointer" data-func="add" data-answer="{{ answer.id }}">
<i class="fa fa-sticky-note"></i>
</a>
{% for note in answer.notes %}
<a class="tooltipped note-action c-pointer" data-position="top" data-delay="50"
data-tooltip="{{ note.content }}" data-note="{{ note.id }}" data-func="edit">
<i class="fa fa-commenting" aria-hidden="true"></i>
</a>
{% endfor %}
</td>
</tr>
{% endfor %}
</table>
<!-- START JUMBOTRON -->
<div class="jumbotron" data-pages="parallax">
<div class=" container-fluid container-fixed-lg sm-p-l-0 sm-p-r-0">
<div class="inner">
<!-- START BREADCRUMB -->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Accueil</a></li>
<li class="breadcrumb-item"><a href="{{ path('company_ad') }}">Offres d'emploi</a></li>
<li class="breadcrumb-item"><a href="{{ path('company_ad_answer_list',{'id':ad.id}) }}">{{ ad.title }}
</a></li>
</ol>
<!-- END BREADCRUMB -->
</div>
</div>
</div>
{# {% if type == "spontaneous" %}
{% include 'company/job_submenu.html.twig' with {
'tab' : 3
} %}
{% else %}
{% include 'company/job_submenu.html.twig' with {
'tab' : 2
} %}
{% endif %} #}
<div class="row bg-bordered p-20">
<div id="note-modal"></div>
<!-- START CONTAINER FLUID -->
<div class=" container-fluid container-fixed-lg bg-white">
<!-- START card -->
<div class="card card-transparent">
<div class="card-header ">
<div class="card-title">Candidatures de l'offre {{ ad.title }}
</div>
</div>
<div class="card-body">
<div id="reponses" class="table-responsive">
<table class="table table-hover" id="basicTable">
<thead>
<tr>
<!-- NOTE * : Inline Style Width For Table Cell is Required as it may differ from user to user
Comman Practice Followed
-->
<th>{{ 'profile.talent.lastname'|trans }} {{ 'profile.talent.firstname'|trans }}</th>
<th>{{ 'global.datereception.label'|trans }}</th>
<th>{{ 'ad.company.list.status'|trans }}</th>
<th class="center-align">{{ 'ad.company.list.actions'|trans }}</th>
</tr>
</thead>
<tbody>
{% for answer in answers %}
<tr>
<td >
<a href="{{ path('company_answer_show',{'id':answer.id }) }}">{{ answer.user.lastname }}
{{ answer.user.firstname }}</a>
</td>
<td >
{{ answer.sendTime()|date('d/m/Y') }}
</td>
{% if answer.firstMessage %}
<td>{{ answer.firstMessage.status|trans }}</td>
{% else %}
{% if answer.isViewed %}
{% if answer.isViewed.status == "DRAFT" %}
<td>{{ 'VIEWED'|trans }}</td>
{% endif %}
{% else %}
<td>{{ 'NEW'|trans }}</td>
{% endif %}
{% endif %}
<td class="v-align-middle">
<a title="{{ad.title}}" href="{{ path('company_answer_show',{'id':answer.id }) }}">
<i class="pg-icon">eye</i>
</a>
<a href="#" class="note-action c-pointer" data-func="add" data-answer="{{ answer.id }}">
<i class="pg-icon">note</i>
</a>
{% for note in answer.notes %}
<a class="tooltipped note-action c-pointer" data-position="top" data-delay="50"
data-tooltip="{{ note.content }}" data-note="{{ note.id }}" data-func="edit">
<i class="pg-icon">comment</i>
</a>
{% endfor %}
</td>
</tr>
{% endfor %}
{% if answers|length == 0 %}
<tr><th colspan="4" class="text-center">Aucune candidature pour le moment</th></tr>
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
<!-- END card -->
</div>
<!-- END CONTAINER FLUID -->
</div>
<div id="note-modal"></div>
{% endblock %}
@@ -10,7 +10,7 @@
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Accueil</a></li>
<li class="breadcrumb-item"><a href="{{ path('company_ad') }}">Offres d'emploi</a></li>
<li class="breadcrumb-item active">Ajouter une offre d'emploi</li>
</ol>
<!-- END BREADCRUMB -->
@@ -27,11 +27,8 @@
{% include 'company/ad_stepsV2.html.twig' with {'tab':1} %}
{% endif %}
<div class="tab-content">
{{ form_start(form, {'attr': {'class': 'form-horizontal'}}) }}
{{ form_start(form, {'attr': {'class': ''}}) }}
<div class="tab-pane padding-20 sm-no-padding active slide-left" id="tab1">
<div class="row row-same-height">
@@ -49,7 +46,7 @@
<div class="col-md-7">
<div class="padding-30 sm-padding-5">
<table class="table table-condensed form-horizontal">
<table class="table table-condensed ">
<tr>
<td class="col-lg-12 col-md-12 col-sm-12 ">
{% if form_errors(form) %}
@@ -88,6 +85,12 @@
{{ form_row(form.contract_type) }}
</td>
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12">
{{ form_row(form.status) }}
</td>
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12">
{{ form_row(form.publicTag) }}
@@ -2,23 +2,22 @@
{% extends 'admin/base_dashboard.html.twig' %}
{% block dashContent %}
<div class="row bg-bordered p-0">
{# {% include 'company/ad_steps.html.twig' with {'tab':1} %} #}
<div class="p-20">
{# {% if form_errors(form) %}
<span class="red-text text-darken-2">{{ form_errors(form) }}</span>
{% endif %}
{{ form_start(form) }}
{{ form_widget(form) }}
<br />
<div style="text-align: right;">
<button class="btn btn-default" type="submit">Je crée mon annonce!</button>
<!-- START JUMBOTRON -->
<div class="jumbotron" data-pages="parallax">
<div class=" container-fluid container-fixed-lg sm-p-l-0 sm-p-r-0">
<div class="inner">
<!-- START BREADCRUMB -->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Accueil</a></li>
<li class="breadcrumb-item"><a href="{{ path('company_ad') }}">Offres d'emploi</a></li>
</ol>
<!-- END BREADCRUMB -->
</div>
{{ form_end(form) }} #}
</div>
</div>
<!-- END JUMBOTRON -->
<!-- START CONTAINER FLUID -->
<div class=" container-fluid container-fixed-lg">
<div id="rootwizard" class="m-t-50">
@@ -50,12 +49,16 @@
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12 ">
{% if form.reference is defined%}
{{ form_row(form.reference) }}
{% endif %}
</td>
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12 ">
{{ form_row(form.title) }}
{% if form.title is defined%}
{{ form_row(form.title) }}
{% endif %}
</td>
</tr>
<tr>
@@ -84,6 +87,12 @@
{{ form_row(form.publicTag) }}
</td>
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12">
{{ form_row(form.status) }}
</td>
</tr>
<tr>
<td class="col-lg-12 col-md-12 col-sm-12 ">
@@ -14,14 +14,14 @@
<div>Je <b>télécharge</b> ma vidéo</div>
</a>
</div>
<div class="tab col s4">
{# <div class="tab col s4">
<a {% if tab == 3 %}class="active"{% endif %} href="#!">
<div class="btn btn-circle">3</div>
<div>
Je <b>planifie</b> et <b>commande</b> mon annonce
</div>
</a>
</div>
</div> #}
</div>
</div>
</div>
@@ -11,9 +11,9 @@
data-target="#tab2" role="tab"><i class="material-icons fs-14 tab-icon">local_shipping</i> <span>Je
<b>télécharge</b> ma vidéo</span></a>
</li>
<li class="nav-item">
{# <li class="nav-item">
<a class="{% if tab == 3 %}active {% else %}disabled {% endif %} d-flex align-items-center" data-toggle="tab" href="#tab3"
data-target="#tab3" role="tab"><i class="material-icons fs-14 tab-icon">payment</i> <span>Je <b>planifie</b>
et <b>commande</b> mon annonce</span></a>
</li>
</li> #}
</ul>
@@ -126,36 +126,40 @@
{% if ad.getStatus() == "PUBLISHED" %}
{#Extension#}
<a class="tooltipped td-none" data-position="top" data-delay="0"
{# ENLEVE LE 01/09 #}
{# <a class="tooltipped td-none" data-position="top" data-delay="0"
data-tooltip="{{ 'ad.company.dates.extension.label'|trans }}"
href="{{ path('company_ad_extension', { 'id': ad.id }) }}"
style="margin-right: 10px">
<i class="pg-icon">calendar</i>
</a>
</a> #}
{#Force ending#}
<a class="tooltipped td-none" data-position="top" data-delay="0"
{# <a class="tooltipped td-none" data-position="top" data-delay="0"
data-tooltip="{{ 'ad.company.closed.label'|trans }}"
href="{{ path('company_ad_closed', { 'id': ad.id }) }}" style="margin-right: 10px">
<i class="material-icons">
close
</i>
</a>
</a> #}
{% endif %}
{% if ad.getStatus() == "TO_PUBLISH" or ad.getStatus() == "VALIDATED" or ad.getStatus() == "CLOSED" or ad.getStatus() == "EXPIRED" %}
{#Edit Dates#}
<a class="tooltipped td-none" data-position="top" data-delay="0"
{# <a class="tooltipped td-none" data-position="top" data-delay="0"
data-tooltip="{{ 'ad.company.dates.edit.label'|trans }}"
href="{{ path('company_ad_step3', { 'id': ad.id }) }}" style="margin-right: 10px">
<i class="material-icons">
close
</i>
</a>
</a> #}
{% endif %}
</td>
</tr>
{% endfor %}
{% if ads|length == 0 %}
<tr><th colspan="5" class="text-center">Aucune offre pour le moment</th></tr>
{% endif %}
</tbody>
@@ -71,6 +71,9 @@
</td>
</tr>
{% endfor %}
{% if answers|length == 0 %}
<th colspan="4" class="text-center">Aucune candidature pour le moment</th>
{% endif %}
</tbody>
</table>
</div>
@@ -128,6 +131,9 @@
</td>
</tr>
{% endfor %}
{% if answers|length == 0 %}
<tr><th colspan="3" class="text-center">Aucune candidature pour le moment</th></tr>
{% endif %}
</tbody>
</table>
</div>
@@ -45,6 +45,22 @@
</div>
</div>
<!-- START CONTAINER FLUID -->
<!-- START JUMBOTRON -->
<div class="jumbotron" data-pages="parallax">
<div class=" container-fluid container-fixed-lg sm-p-l-0 sm-p-r-0">
<div class="inner">
<!-- START BREADCRUMB -->
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Accueil</a></li>
<li class="breadcrumb-item"><a href="{{ path('company_ad') }}">Offres d'emploi</a></li>
</ol>
<!-- END BREADCRUMB -->
</div>
</div>
</div>
<!-- END JUMBOTRON -->
<div class=" container-fluid container-fixed-lg">
<div id="rootwizard" class="m-t-50">
{% include 'company/ad_stepsV2.html.twig' with {'tab':2} %}
@@ -79,11 +95,11 @@
Two-step verification, which we encourage all our customers to use.</p>
<p class="small hint-text">Below is a sample page for your cart , Created using pages design
UI Elementes</p>
<ul id="tabs-video" class="tabs">
{# <ul id="tabs-video" class="tabs">
<li class="tab col s4"><a class="active" href="#tab-video-new">Ajouter une nouvelle vidéo</a>
</li>
<li class="tab col s4"><a href="#tab-video-select">Utiliser une vidéo existante</a></li>
</ul>
</ul> #}
</div>
</div>
<div class="col-md-7">
@@ -2,19 +2,7 @@
{% extends 'admin/base_dashboard.html.twig' %}
{% block dashContent %}
<div class="row bg-bordered p-20">
{% if app.user.company.brandname == null %}
<div class="row flexcontainer">
<div class="col s12 m12 l12">
<div class="card-panel grey lighten-3 ">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
Vous n'avez pas encore complété le profil de votre entreprise. <br>
Ces informations sont importantes au bon fonctionnement de la plateforme, nous vous invitons
<a href="{{ path('company_profile') }}">à les remplir ici. <i class="fa fa-link"
aria-hidden="true"></i></a>
</div>
</div>
</div>
{% endif %}
{# <div class="col s3">
<h5 class="blue-text no-margin-top">Volumes des visites</h5>
</div>
@@ -51,9 +39,20 @@
<p><span class="btn-count btn-countVisitsAnonymByCompany">&nbsp;</span>Visites d'internautes non-inscrits</p>
</div> #}
</div>
{% if app.user.company.brandname == null %}
<div class=" container-fluid container-fixed-lg bg-white">
<div class="card card-transparent">
<div class="card-body">
<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
Vous n'avez pas encore complété le profil de votre entreprise. <br>
Ces informations sont importantes au bon fonctionnement de la plateforme, nous vous invitons
<a href="{{ path('company_profile') }}">à les remplir ici. <i class="fa fa-link" aria-hidden="true"></i></a>
</div>
</div>
</div>
{% endif %}
{% include 'company/ad_table_listing.html.twig' with {'ads':ads} %}
{% include 'company/ad_table_listing.html.twig' with {'ads':ads} %}
{% endblock %}
@@ -80,7 +80,9 @@
</tr>
{% endfor %}
{% if users|length == 0 %}
<tr><th colspan="4" class="text-center">Aucun utilisateur pour le moment</th></tr>
{% endif %}
</tbody>
</table>
@@ -26,11 +26,11 @@
</div>
</div>
<div id="newApp" class="container-fluid">
{# <div id="newApp" class="container-fluid">
<div class="row">
</div>
</div>
</div> #}
</div>
<div class="nav-wrapper">
<ul class="side-nav collapsible" data-collapsible="accordion" id="mobile-demo">
@@ -1,4 +1,4 @@
{% extends 'base.html.twig' %}
{% extends 'basetemporaire.html.twig' %}
{% block metarobot %}
{% if robot is defined and robot == 0 %}
@@ -6,6 +6,7 @@
{% else %}
<meta name="robots" content="index,follow">
{% endif %}
{% endblock %}
{% block title %}{{ page.title }}{% endblock %}
@@ -56,7 +56,7 @@
<div class="col-md-4 mb-7 mb-md-0">
<!-- Icon Blocks -->
<div class="text-center px-lg-3">
<img src="{{ asset('v2/svg/components/Diffusion-offres-emploi-video-marque-employeur.svg') }}" alt="Logo">
<img src="{{ asset('v2/svg/components/Diffusion-offres-emploi-video-marque-employeur.svg') }}" alt="Diffusez vos offres d'emploi et marque employeur en video">
<h3 class="h4 text-white text300">Diffusez vos offres d'emploi et marque employeur en <a href="#">vidéo</a></h3>
</div>
<!-- End Icon Blocks -->
@@ -65,7 +65,7 @@
<div class="col-md-4 mb-7 mb-md-0">
<!-- Icon Blocks -->
<div class="text-center px-lg-3">
<img src="{{ asset('v2/svg/components/candidature-en-video.svg') }}" alt="Logo">
<img src="{{ asset('v2/svg/components/candidature-en-video.svg') }}" alt="Recevez les candidatures en video">
<h3 class="h4 text-white text300">Recevez les candidatures en <a href="#">vidéo</a></h3>
</div>
<!-- End Icon Blocks -->
@@ -74,7 +74,7 @@
<div class="col-md-4">
<!-- Icon Blocks -->
<div class="text-center px-lg-3">
<img src="{{ asset('v2/svg/components/Gestion-des-candidatures-video.svg') }}" alt="Logo">
<img src="{{ asset('v2/svg/components/Gestion-des-candidatures-video.svg') }}" alt="Gérez vos candidatures en vidéo">
<h3 class="h4 text-white text300">Gérez vos candidatures en <a href="#">vidéo</a></h3>
</div>
<!-- End Icon Blocks -->
@@ -0,0 +1,196 @@
{% extends 'baseVideotheque.html.twig' %}
{% block title %}Vidéothèque : Découvrez les talents de votre territoire - Talents Tube{% endblock %}
{% block meta %}
<meta name="description" content="Vidéothèque : Découvrez les talents de votre territoire">
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@TalentsTube">
<meta name="twitter:title" content="Vidéothèque : Découvrez les talents de votre territoire">
<meta name="twitter:description" content="Découvrez le savoir-faire, le savoir-être et les motivations des candidats en vidéo. Gagnez du temps et optimisez votre processus de recrutement.">
<meta name="twitter:image" content="{{ absolute_url(asset('img/mail/logo-talents-tube.png')) }}">
{#Open Graph data pour le partage sur les réseaux sociaux (ex Facebook..)#}
<meta property="og:title" content="Vidéothèque : Découvrez les talents de votre territoire" />
<meta property="og:type" content="article" />
<meta property="og:image" content="{{ absolute_url(asset('img/mail/logo-talents-tube.png')) }}" />
<meta property="og:description" content="Découvrez le savoir-faire, le savoir-être et les motivations des candidats en vidéo. Gagnez du temps et optimisez votre processus de recrutement." />
<meta property="og:site_name" content="Talents Tube" />
<meta property="og:url" content="{{ url(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}" />
{% endblock %}
{% block content %}
<main id="content">
<div class="bg-img-hero" style="background-image: url({{ asset('v2/img/1920x1080/img17.jpg') }}">
<div class="d-sm-flex align-items-sm-center height-100vh--sm">
<div class="container text-center space-3-top space-2-bottom space-3-bottom--lg">
<div class="w-lg-60 text-center mx-lg-auto">
<!-- Title -->
<div class="mb-9">
<h1 class="display-3 font-size-48--md-down font-weight-medium">Bientôt ici votre vidéothèque</h1>
<p class="lead">Revenez plus tard. Nous travaillons sur le sujet ;-)</p>
</div>
<!-- End Title -->
</div>
</div>
</div>
</div>
</main>
<!-- ========== END MAIN CONTENT ========== -->
<!-- Begin Panel Login -->
{% include 'defaultv2/accueil/blocLogin.html.twig'
with {
'csrf_token': csrf_token,
'error' : error
} %}
<!-- End Panel Login -->
<!-- Go to Top -->
<a class="js-go-to u-go-to" href="javascript:;" data-position='{"bottom": 30, "right": 100 }' data-type="fixed"
data-offset-top="400" data-compensation="#header" data-show-effect="slideInUp" data-hide-effect="slideOutDown">
<i class="fa fa-arrow-up u-go-to__inner"></i>
</a>
<!-- End Go to Top -->
<!-- JS Global Compulsory -->
<script src="{{ asset('v2/vendor/jquery/dist/jquery.min.js') }}"></script>
<script src="{{ asset('v2/vendor/jquery-migrate/dist/jquery-migrate.min.js') }}"></script>
<script src="{{ asset('v2/vendor/popper.js/dist/umd/popper.min.js') }}"></script>
<script src="{{ asset('v2/vendor/bootstrap/bootstrap.min.js') }}"></script>
<!-- JS Implementing Plugins -->
<script src="{{ asset('v2/vendor/hs-megamenu/src/hs.megamenu.js') }}"></script>
<script src="{{ asset('v2/vendor/jquery-validation/dist/jquery.validate.min.js') }}"></script>
<script src="{{ asset('v2/vendor/malihu-custom-scrollbar-plugin/jquery.mCustomScrollbar.concat.min.js') }}"></script>
<script src="{{ asset('v2/vendor/custombox/dist/custombox.min.js') }}"></script>
<script src="{{ asset('v2/vendor/custombox/dist/custombox.legacy.min.js') }}"></script>
<script src="{{ asset('v2/vendor/typed.js/lib/typed.min.js') }}"></script>
<script src="{{ asset('v2/vendor/slick-carousel/slick/slick.js') }}"></script>
<script src="{{ asset('v2/vendor/cubeportfolio/js/jquery.cubeportfolio.min.js') }}"></script>
<script src="{{ asset('v2/vendor/fancybox/jquery.fancybox.min.js') }}"></script>
<!-- JS Space -->
<script src="{{ asset('v2/js/hs.core.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.header.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.unfold.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.validation.js') }}"></script>
<script src="{{ asset('v2/js/helpers/hs.focus-state.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.malihu-scrollbar.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.fancybox.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.modal-window.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.show-animation.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.slick-carousel.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.cubeportfolio.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.g-map.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.go-to.js') }}"></script>
<script src="{{ asset('v2/js/components/hs.video-player.js') }}"></script>
<!-- JS Plugins Init. -->
<script>
// initialization of google map
{# function initMap() {
$.HSCore.components.HSGMap.init('.js-g-map');
} #}
$(window).on('load', function () {
// initialization of HSMegaMenu component
$('.js-mega-menu').HSMegaMenu({
event: 'hover',
pageContainer: $('.container'),
breakpoint: 767,
hideTimeOut: 0
});
});
$(document).on('ready', function () {
// initialization of header
$.HSCore.components.HSHeader.init($('#header'));
// initialization of fancybox
$.HSCore.components.HSFancyBox.init('.js-fancybox');
// initialization of unfold component
$.HSCore.components.HSUnfold.init($('[data-unfold-target]'), {
afterOpen: function () {
if (!$('body').hasClass('IE11')) {
$(this).find('input[type="search"]').focus();
}
}
});
// initialization of form validation
$.HSCore.components.HSValidation.init('.js-validate', {
rules: {
confirmPassword: {
equalTo: '#password'
}
}
});
// initialization of forms
$.HSCore.helpers.HSFocusState.init();
// initialization of malihu scrollbar
$.HSCore.components.HSMalihuScrollBar.init($('.js-scrollbar'));
// initialization of autonomous popups
$.HSCore.components.HSModalWindow.init('[data-modal-target]', '.js-signup-modal', {
autonomous: true
});
// initialization of show animations
$.HSCore.components.HSShowAnimation.init('.js-animation-link');
// initialization of slick carousel
$.HSCore.components.HSSlickCarousel.init('.js-slick-carousel');
// initialization of video player
$.HSCore.components.HSVideoPlayer.init('.js-inline-video-player');
$('.u-text-animation.u-text-animation').html("");
// initialization of text animation (typing)
var typed = new Typed(".u-text-animation.u-text-animation--typing", {
strings: ["Recevez des candidatures", "Découvrez le potentiel des candidats", "Recevez des candidatures"],
typeSpeed: 60,
loop: true,
backSpeed: 25,
backDelay: 3000
});
// initialization of cubeportfolio
$.HSCore.components.HSCubeportfolio.init('.cbp');
// initialization of go to
$.HSCore.components.HSGoTo.init('.js-go-to');
});
$(document).ready(function () {
$(window).scroll(function () { // check if scroll event happened
if ($(document).scrollTop() > 50) { // check if user scrolled more than 50 from top of the browser window
$("#logoAndNav").css("background-color","#000"); // if yes, then change the color of class "navbar-fixed-top" to white (#f8f8f8)
$("#sidebarNavToggler").css("color","#fff");
} else {
$("#logoAndNav").css("background-color", "transparent"); // if not, change it back to transparent
$("#sidebarNavToggler").css("color", "#000");
}
});
});
</script>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src="https://player.vimeo.com/api/player.js"></script>
{% endblock %}
@@ -1,4 +1,4 @@
{% extends 'base.html.twig' %}
{% extends 'basetemporaire.html.twig' %}
{% block title %}Recruter un(e) employé(e) spécialisé(e)
{% for t in user.company.publicTag %}{{ t }}
@@ -39,7 +39,7 @@ class AdController extends Controller
$dateArray = null;
$records = $stats->getCompanyDashboard($this->getUser()->getCompany()->getId(), $dateArray);
$ads = $em->getRepository('AppBundle:Ad')->findBy(array('creator' => $this->getUser()));
$ads = $em->getRepository('AppBundle:Ad')->findBy(array('company' => $this->getUser()->getCompany()));
return $this->render('company/ad_list.html.twig', array(
'ads' => $ads,
'arrayByAds' => $records['arrayByAds']
@@ -28,7 +28,7 @@ class CompanyController extends Controller
setlocale(LC_ALL, 'fr_FR.utf-8');
$stats = $this->get("app.stats_manager");
$em = $this->getDoctrine()->getManager();
$ads = $em->getRepository('AppBundle:Ad')->findBy(array('creator' => $this->getUser()));
$ads = $em->getRepository('AppBundle:Ad')->findBy(array('company' => $this->getUser()->getCompany()));
$records = $stats->getCompanyDashboard($this->getUser()->getCompany()->getId(), null);
return $this->render('company/dashboard.html.twig', [
'ads' => $ads,
@@ -125,6 +125,28 @@ class DefaultController extends Controller
);
}
/**
* @Route("/cvtheque", name="talent_index")
*/
public function talentIndexAction(Request $request)
{
$params = $this->getParams($request);
$usename = $params["lastUsername"];
$csrfToken = $params["csrfToken"];
$error = $params["error"];
$destination_login = "admin/dashboard";
return $this->render(
'defaultv2/talents/index.html.twig', [
'last_username' => $usename,
'csrf_token' => $csrfToken,
'error' => $error,
'destination_login' => $destination_login
]
);
}
/**
* @Route("/candidatures-video", name="candidaturesVideo")
*/
@@ -182,7 +182,13 @@ class MediaController extends Controller
$mediaManager = $this->get('media_manager');
$message = $mediaManager->upload($ad, $uploadedFile, $ad->getCreator());
}
$em = $this->getDoctrine()->getManager();
$ad->setIsVerified(true);
$ad->setPrivate(false);
$ad->setPromoted(true);
$em->persist($ad);
dump($ad);
$em->flush();
return new JsonResponse($message);
}
@@ -396,4 +396,10 @@ class TalentController extends Controller
return $res;
}
/***********************
* This route must stay at the end
***********************/
}
@@ -42,23 +42,30 @@ class AdSoftType extends AbstractType
'mapped' => false,
'label' => 'Localisation de l\'annonce',
'attr' => array(
'value' => $location_gmap
'value' => $location_gmap,
'class' => 'form-control'
)
))
->add('location', HiddenType::class, array(
'data' => $location,
'attr' => array(
'class' => 'form-control'
)
))
->add('description', TextareaType::class, array(
'label' => 'Description de l\'annonce',
'attr' => array(
'class' => 'materialize-textarea',
'placeholder' => 'Décrire votre annonce'
'placeholder' => 'Décrire votre annonce',
'class' => 'form-control'
)
))
->add('beneficiaire', TextType::class, array(
'label' => 'Bénéficiaire (En cas de gestion multi entreprise)',
'label' => 'Client ',
'required' => false,
'attr' => array(
'placeholder' => 'Indiquer un bénéficiaire'
'placeholder' => 'Indiquer un client',
'class' => 'form-control'
)
))
->add('contract_type', ChoiceType::class, array(
@@ -72,11 +79,30 @@ class AdSoftType extends AbstractType
'Professionalisation' => 'Professionalisation',
'Stage' => 'Stage',
'Indépendant' => 'Indépendant'
),
'attr' => array(
'class' => 'form-control'
)
))
->add('status', ChoiceType::class, array(
'label' =>'Status',
'choices' => array(
'Brouillon' => 'DRAFT',
'A publier' => 'TO_PUBLISH',
'Fermée' => 'CLOSED',
'Publié' => 'PUBLISHED',
),
'attr' => array(
'class' => 'form-control'
)
))
->add('publicTag', TextType::class, array(
'label' => 'profile.company.tags',
'data' => $publicTags,
'attr' => array(
'class' => 'form-control'
)
));
}
}
@@ -53,9 +53,10 @@ class AdType extends AbstractType
)
))
->add('beneficiaire', TextType::class, array(
'label' => 'Bénéficiaire (En cas de gestion multi entreprise)',
'label' => 'Client',
'required' => false,
'attr' => array(
'placeholder' => 'Indiquer un bénéficiaire',
'placeholder' => 'Indiquer un client',
'class' => 'form-control'
)
))
@@ -101,6 +102,19 @@ class AdType extends AbstractType
'value' => $publicTags,
'class' => 'form-control'
)
))
->add('status', ChoiceType::class, array(
'label' =>'Statut',
'choices' => array(
'Brouillon' => 'DRAFT',
'A publier' => 'TO_PUBLISH',
'Fermée' => 'CLOSED',
'Publié' => 'PUBLISHED',
),
'attr' => array(
'class' => 'form-control'
)
));
// ->add('privateTag', TextType::class, array(
// 'label' => 'private Tags',
@@ -34,34 +34,44 @@ class AdType extends AbstractType
->add('reference', TextType::class, array(
'label' => 'Référence de l\'annonce',
'attr' => array(
'placeholder' => 'Indiquer une référence'
'placeholder' => 'Indiquer une référence',
'class' => 'form-control'
)
))
->add('title', TextType::class, array(
'label' => 'Titre de l\'annonce',
'attr' => array(
'placeholder' => 'Indiquer un titre'
'placeholder' => 'Indiquer un titre',
'class' => 'form-control'
)
))
->add('location_gmap', TextType::class, array(
'mapped' => false,
'label' => 'Localisation de l\'annonce',
'attr' => array(
'value' => $location_gmap
'value' => $location_gmap,
'class' => 'form-control'
)
))
->add('location', HiddenType::class, array(
'data' => $location,
'attr' => array(
'class' => 'form-control'
)
))
->add('description', TextareaType::class, array(
'label' => 'Description de l\'annonce',
'attr' => array(
'placeholder' => 'Décrire votre annonce'
'placeholder' => 'Décrire votre annonce',
'class' => 'form-control'
)
))
->add('publicTag', TextType::class, array(
'label' => 'Tags de l\'annonce (séparés par une virgules)',
'data' => $publicTags,
'attr' => array(
'class' => 'form-control'
)
))
->add('status', ChoiceType::class, array(
'label' =>'Status',
@@ -72,31 +82,41 @@ class AdType extends AbstractType
'Publiée' => 'PUBLISHED',
'Fermée' => 'CLOSED',
'Expirée' => 'EXPIRED',
),
'attr' => array(
'class' => 'form-control'
)
))
->add('isPromoted', CheckboxType::class, array(
'label' => 'Offre pourvue',
'required' => false
'required' => false,
))
->add('isVerified', CheckboxType::class, array(
'label' => 'Vérifiée',
'required' => false
'required' => false,
))
->add('isPrivate', CheckboxType::class, array(
'label' => 'Annonce privé ( non listée en front )',
'required' => false
'required' => false,
));
// Emphasis
$builder
->add('emphasis', CheckboxType::class, array(
'label' => 'A la une',
'required' => false
'required' => false,
))
->add('emphasisOrder', IntegerType::class, array(
'label' => 'Ordre',
'required' => false
'required' => false,
'attr' => array(
'class' => 'form-control'
)
));
}
}
@@ -187,6 +187,7 @@ class MediaManager
} elseif ($entity instanceof Ad) {
$media->setTitle("Video annonce de : " . $entity->getTitle());
$entity->setVideo($media);
//$entity->setStatus("PUBLISHED");
$this->em->persist($entity);
} elseif ($entity instanceof User) {
$media->setTitle("Video générique");
File diff suppressed because one or more lines are too long
+9 -8
View File
@@ -1,8 +1,9 @@
$('.roleUser').click(function(){
$('.roleUser').removeClass('btn-default');
$('.roleUser').addClass('btn-dark');
var valueData = $(this).data('value');
$('#fos_user_registration_form_role').val(valueData);
$(this).removeClass('btn-dark');
$(this).addClass('btn-default');
});
// $('.roleUser').click(function(){
// $('.roleUser').removeClass('btn-default');
// $('.roleUser').addClass('btn-dark');
// var valueData = $(this).data('value');
// $('#fos_user_registration_form_role').val(valueData);
// $(this).removeClass('btn-dark');
// $(this).addClass('btn-default');
// });
$('#fos_user_registration_form_role').val("COMPANY");