Compare commits
200 Commits
master
...
dist/envol
Author | SHA1 | Date | |
---|---|---|---|
4959a10857 | |||
d42fdbfedd | |||
70e2d49e7c | |||
666b90d513 | |||
cbae74f041 | |||
ecbaed5c85 | |||
e2d9380f65 | |||
21fc95f71e | |||
3818a38106 | |||
d155d5331f | |||
f535e165ef | |||
fce9842064 | |||
fec7eff6c5 | |||
e41093d3b9 | |||
91d2febf2e | |||
0fc2346281 | |||
fbb5a4aca6 | |||
98718ccc1e | |||
5147a2b105 | |||
9a260e6ae5 | |||
8b794e8aa1 | |||
f228f01c62 | |||
de04ab9bdb | |||
729ed9fba9 | |||
39f45ab8b8 | |||
aef67571f6 | |||
2ec1ae6824 | |||
0ab5a40d98 | |||
edd59cd60c | |||
da0f0ad0f3 | |||
996651ca0e | |||
a78b2051f1 | |||
d61216216a | |||
1381e4f7be | |||
1d490ae066 | |||
a2a54c3501 | |||
2d88133e60 | |||
fdb7c9850e | |||
3b6095cec7 | |||
75925d4969 | |||
74c0a44f56 | |||
788e0f511f | |||
1461ceca06 | |||
4328e7b7c8 | |||
9433a39649 | |||
4247ead6bd | |||
3389eecb74 | |||
ee4c59a859 | |||
f2df26e0d9 | |||
429ce0ba1f | |||
4314cec399 | |||
aaaf22e3ba | |||
23219dd58e | |||
a11928569b | |||
b40e3c4eb8 | |||
b2d20b59cc | |||
0ed4fec378 | |||
e1458a0cac | |||
c17677e871 | |||
0904f306ce | |||
69848cf0cf | |||
8da037fd77 | |||
9cae1480bb | |||
34123aeb58 | |||
83eac6491c | |||
824a23e172 | |||
36a9b2e2bd | |||
3f9bd75d82 | |||
2bb89b008d | |||
c82afe13de | |||
3442eb0d12 | |||
30a89a23b8 | |||
0afd32a4e6 | |||
6890d67bba | |||
e684ee6701 | |||
031ca517ed | |||
ff9d07e0cb | |||
2077f643ab | |||
c88666dc9f | |||
4a92ef8dbb | |||
92923badd8 | |||
de2bf97fef | |||
258a7089d1 | |||
907ea53eb1 | |||
d69e869c10 | |||
ff71bfb5a4 | |||
d2dbe98e64 | |||
cce91c421a | |||
5dd372f2a2 | |||
0dba8c4dc1 | |||
8dc2d81ab3 | |||
0885efd1f4 | |||
b648137665 | |||
cd4472ee71 | |||
2c8cc7a987 | |||
f07b95f1e4 | |||
ae1a97bcbd | |||
632102c813 | |||
5326152ff4 | |||
c02d5f0869 | |||
6f752a6b44 | |||
9b6e140808 | |||
30e4609f6f | |||
cc71a435f7 | |||
d32ded9f5e | |||
b1d9c2dc63 | |||
173ceacc8e | |||
0999f11f8c | |||
273ce5a3df | |||
d8be4e06e1 | |||
d64c20519d | |||
a2ebec25f8 | |||
2e5a8d39a5 | |||
82b329ab8f | |||
6da8f15c2d | |||
8659a32942 | |||
68c8d599ff | |||
95784beed6 | |||
30eb0d07e2 | |||
87ef7fb6c7 | |||
af5fbf0a6a | |||
4ae4dabb9f | |||
2392318922 | |||
5ee9a52554 | |||
ec6cf7e062 | |||
5cdd0a6703 | |||
d1637e4efa | |||
ba41570721 | |||
0777934192 | |||
0a6a5abe38 | |||
220bb795ae | |||
1877f101ee | |||
50ae3ed4c4 | |||
e03af01666 | |||
36b8cee983 | |||
286e49653e | |||
3a0c0c1458 | |||
58a07356be | |||
de87ac1261 | |||
9f99fe2c3f | |||
2d2d8f0938 | |||
3f10684027 | |||
8fe1009186 | |||
314ec0e85c | |||
59e4b0ee28 | |||
d983e70f1d | |||
425eeb4f3b | |||
0cb286080d | |||
3eedb4d086 | |||
362047c295 | |||
f3d465f491 | |||
189ed35825 | |||
767dbe7230 | |||
c74f82e475 | |||
75e2737524 | |||
c788b97fca | |||
c813e78c69 | |||
e2da7e081f | |||
afaa822d50 | |||
90eb93eebe | |||
03526d3374 | |||
bb77cc0ea0 | |||
5adab0951c | |||
fc06da09c9 | |||
743e9b6d3b | |||
bc2e2b4e4c | |||
d649c11821 | |||
61c8ad37fd | |||
a97ba39dbd | |||
3e35acb028 | |||
5b14604d9c | |||
81740cd4e5 | |||
8211c08403 | |||
1acce9d3fd | |||
742383206e | |||
f54efc703c | |||
d31d2d8628 | |||
8e00e5765a | |||
5f933a67b9 | |||
72ad84e1b7 | |||
0c099b0784 | |||
99f29975d8 | |||
f141b15e48 | |||
7416dfaa3e | |||
03e0a1dc7c | |||
fb5e3c72ee | |||
a0bb903635 | |||
6ad1eb5569 | |||
9cbcdd28b9 | |||
2b1625b5f8 | |||
28e9c37e48 | |||
2262bebcda | |||
f0ae7eb4f4 | |||
df29e2ca71 | |||
ef0d452bc2 | |||
ab2129de6e | |||
b14a2b3434 | |||
faf244cf06 | |||
1acf74126e | |||
7ebc37268c |
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
7
|
24
debian/control
vendored
Normal file
24
debian/control
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
Source: eole-ninegate
|
||||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: Equipe Envole <eole@ac-dijon.fr>
|
||||
Build-Depends: debhelper (>= 7.0.50)
|
||||
Standards-Version: 3.8.4
|
||||
Homepage: http://eole.orion.education.fr/diff/
|
||||
Vcs-Git: http://dev-eole.ac-dijon.fr/git/ninegate
|
||||
Vcs-Browser: http://dev-eole.ac-dijon.fr/projects/ninegate/repository
|
||||
|
||||
Package: ninegate-sso
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, eole-sso
|
||||
Description: Filtre SSO pour ninegate "EOLE".
|
||||
|
||||
Package: eole-ninegate
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, eole-web (>= 2.6.1), ninegate-sso, eole-envole-dependances
|
||||
Description: Eolisation de l'application ninegate.
|
||||
|
||||
Package: ninegate-apps
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, eole-web-pkg (>= 2.6.1), envole-dependances-apps
|
||||
Description: Sources pour ninegate "EOLE".
|
44
debian/copyright
vendored
Normal file
44
debian/copyright
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
Format: http://dep.debian.net/deps/dep5
|
||||
Upstream-Name: {PROJECT}
|
||||
Source: {URL}
|
||||
|
||||
Files: *
|
||||
Copyright: YEAR {UPSTREAM} {AUTHOR} <{MAIL}>
|
||||
License: {UPSTREAM LICENSE}
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2012 Équipe EOLE <eole@ac-dijon.fr>
|
||||
License: CeCILL-2
|
||||
|
||||
License: {UPSTREAM LICENSE}
|
||||
{TEXT OF THE LICENSE}
|
||||
|
||||
License: CeCILL-2
|
||||
This software is governed by the CeCILL-2 license under French law and
|
||||
abiding by the rules of distribution of free software. You can use,
|
||||
modify and or redistribute the software under the terms of the CeCILL-2
|
||||
license as circulated by CEA, CNRS and INRIA at the following URL
|
||||
"http://www.cecill.info";.
|
||||
.
|
||||
As a counterpart to the access to the source code and rights to copy,
|
||||
modify and redistribute granted by the license, users are provided only
|
||||
with a limited warranty and the software's author, the holder of the
|
||||
economic rights, and the successive licensors have only limited
|
||||
liability.
|
||||
.
|
||||
In this respect, the user's attention is drawn to the risks associated
|
||||
with loading, using, modifying and/or developing or reproducing the
|
||||
software by the user in light of its specific status of free software,
|
||||
that may mean that it is complicated to manipulate, and that also
|
||||
therefore means that it is reserved for developers and experienced
|
||||
professionals having in-depth computer knowledge. Users are therefore
|
||||
encouraged to load and test the software's suitability as regards their
|
||||
requirements in conditions enabling the security of their systems and/or
|
||||
data to be ensured and, more generally, to use and operate it in the
|
||||
same conditions as regards security.
|
||||
.
|
||||
The fact that you are presently reading this means that you have had
|
||||
knowledge of the CeCILL-2 license and that you accept its terms.
|
||||
.
|
||||
On Eole systems, the complete text of the CeCILL-2 License can be found
|
||||
in '/usr/share/common-licenses/CeCILL-2-en'.
|
1
debian/eole-ninegate.install
vendored
Normal file
1
debian/eole-ninegate.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/share/eole
|
3
debian/gbp.conf
vendored
Normal file
3
debian/gbp.conf
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Set per distribution debian tag
|
||||
[DEFAULT]
|
||||
debian-tag = debian/envole/%(version)s
|
2
debian/ninegate-apps.install
vendored
Normal file
2
debian/ninegate-apps.install
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
var/www/html
|
||||
etc
|
1
debian/ninegate-sso.install
vendored
Normal file
1
debian/ninegate-sso.install
vendored
Normal file
@ -0,0 +1 @@
|
||||
usr/share/sso
|
8
debian/rules
vendored
Executable file
8
debian/rules
vendored
Executable file
@ -0,0 +1,8 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
@ -86,20 +86,6 @@ class SecurityController extends Controller
|
||||
if($masteridentity=="SSO") {
|
||||
if(empty($email)) $email = $username."@nomail.com";
|
||||
|
||||
// On s'assure qu'il n'y a pas déjà un utilisateur avec le même mail
|
||||
$usermail = $em->getRepository('CadolesCoreBundle:User')->findOneBy(array("email"=>$email));
|
||||
if($usermail) {
|
||||
return $this->render('CadolesCoreBundle:Registration:info.html.twig', [
|
||||
'useheader' => true,
|
||||
'usemenu' => false,
|
||||
'usesidebar' => false,
|
||||
'infotitle' => "Première connexion",
|
||||
'info' => "Votre compte ne peut être activé car votre adresse mel est déjà utilisée par un autre compte utilisateur.<br>Nous sommes désolés du désagrément et vous invitons à contacter un administrateur.",
|
||||
'mode' => "error",
|
||||
'redirectto' => "",
|
||||
]);
|
||||
}
|
||||
|
||||
// Là c'est normal que potentiellement il n'existe pas il faut donc l'autogénérer
|
||||
$user = new User();
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
@ -1,25 +1,13 @@
|
||||
{% extends '@CadolesCore/base.html.twig' %}
|
||||
|
||||
{% block pagewrapper %}
|
||||
<h1 class="page-header">{%if infotitle is defined%}{{infotitle}}{%else%}Inscriptions{%endif%}</h1>
|
||||
<h1 class="page-header">Inscriptions</h1>
|
||||
|
||||
<div style="padding-top:50px;max-width: 1000px; margin:auto; font-size:18px;">
|
||||
<div class='alert alert-{{ mode }}' style='margin: 5px 0px'>
|
||||
{% autoescape %}
|
||||
<p>{{ info|raw }}</p>
|
||||
{% endautoescape %}
|
||||
|
||||
{% if mode=="error" %}
|
||||
{% if mode_auth == "SAML" %}
|
||||
<a class="btn btn-primary" href="{{ path("lightsaml_sp.logout") }}">Déconnexion</a>
|
||||
{% elseif mode_auth == "CAS" %}
|
||||
<a class="btn btn-primary" href="{{ path("cas_sp.logout") }}">Déconnexion</a>
|
||||
{% elseif mode_auth == "SQL" %}
|
||||
<a class="btn btn-primary" href="{{ path("cadoles_core_logout") }}">Déconnexion</a>
|
||||
{% elseif mode_auth == "LDAP" %}
|
||||
<a class="btn btn-primary" href="{{ path("cadoles_core_ldap_logout") }}">Déconnexion</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -65,11 +65,7 @@ class ItemController extends Controller
|
||||
{
|
||||
// Initialisation de l'enregistrement
|
||||
$data = new Item();
|
||||
if($this->GetParameter("activate_widsonde")) {
|
||||
$data->setClicksonde(true);
|
||||
$data->setClicksondeservice("PAGE_ENT");
|
||||
}
|
||||
|
||||
|
||||
// Création du formulaire
|
||||
$form = $this->createForm(ItemType::class,$data,array(
|
||||
"mode" => "submit",
|
||||
@ -210,26 +206,6 @@ class ItemController extends Controller
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
public function forceorderAction(Request $request)
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
$categorys=$em->getRepository("CadolesPortalBundle:Itemcategory")->findAll();
|
||||
|
||||
foreach($categorys as $category) {
|
||||
$i=0;
|
||||
$items=$em->getRepository("CadolesPortalBundle:Item")->findBy(["itemcategory"=>$category],["title"=>"ASC"]);
|
||||
foreach($items as $item) {
|
||||
$i++;
|
||||
$item->setRowOrder($i);
|
||||
$em->flush();
|
||||
}
|
||||
}
|
||||
|
||||
// Retour à la liste
|
||||
return $this->redirectToRoute($this->labelroute);
|
||||
}
|
||||
|
||||
protected function getDatas()
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
@ -150,16 +150,13 @@ class ItemType extends AbstractType
|
||||
|
||||
if($options["activate_widsonde"]) {
|
||||
$builder
|
||||
/*
|
||||
->add('clicksonde', CheckboxType::class, [
|
||||
"label" => "Exécuter une sonde statistique sur le clic",
|
||||
"required" => false
|
||||
])
|
||||
*/
|
||||
])
|
||||
|
||||
->add('clicksondeservice', ChoiceType::class, [
|
||||
"label" => 'Type de Service associé à la sonde',
|
||||
"label_attr" => array("style" => "display:inline"),
|
||||
"placeholder" => 'Sélectionner un service',
|
||||
"required" => false,
|
||||
"choices" => [
|
||||
|
@ -7,7 +7,7 @@ use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
class ItemRepository extends EntityRepository
|
||||
{
|
||||
public function getUserItems($user,&$bookmarks,&$itemsordered,&$itemcategorys,$iditemcategory=null,$ssoitems=[],$withbookmark=1,$fgessential=false) {
|
||||
public function getUserItems($user,&$bookmarks,&$itemsordered,&$itemcategorys,$iditemcategory=null,$ssoitems,$withbookmark=1,$fgessential=false) {
|
||||
// Profilage
|
||||
$roles=($user?$user->getRoles():["ROLE_ANONYME"]);
|
||||
$groups=($user?$user->getGroups():[]);
|
||||
@ -114,28 +114,26 @@ class ItemRepository extends EntityRepository
|
||||
|
||||
// Récupération des items par ssoitem
|
||||
$itemsssoitems=[];
|
||||
if(is_array($ssoitems)) {
|
||||
foreach($ssoitems as $ssoitem) {
|
||||
$qb = $this->getEntityManager()->createQueryBuilder();
|
||||
$qb->select('item')
|
||||
->from("CadolesPortalBundle:Item", 'item')
|
||||
->where("item.ssoitem=:ssoitem ")
|
||||
->setParameter("ssoitem",$ssoitem);
|
||||
|
||||
if($iditemcategory && $itemcategoryfilter) {
|
||||
$qb->andWhere("item.itemcategory=:itemcategory")
|
||||
->setParameter("itemcategory",$itemcategoryfilter);
|
||||
foreach($ssoitems as $ssoitem) {
|
||||
$qb = $this->getEntityManager()->createQueryBuilder();
|
||||
$qb->select('item')
|
||||
->from("CadolesPortalBundle:Item", 'item')
|
||||
->where("item.ssoitem=:ssoitem ")
|
||||
->setParameter("ssoitem",$ssoitem);
|
||||
|
||||
if($iditemcategory && $itemcategoryfilter) {
|
||||
$qb->andWhere("item.itemcategory=:itemcategory")
|
||||
->setParameter("itemcategory",$itemcategoryfilter);
|
||||
}
|
||||
|
||||
$itemsssoitems=$qb->getQuery()->getResult();
|
||||
foreach($itemsssoitems as $itemssoitem) {
|
||||
if(!$bookmarksitems->contains($itemssoitem) && !$items->contains($itemssoitem)) {
|
||||
if(!$fgessential || ($fgessential && $itemssoitem->getEssential()))
|
||||
$items->add($itemssoitem);
|
||||
}
|
||||
|
||||
$itemsssoitems=$qb->getQuery()->getResult();
|
||||
foreach($itemsssoitems as $itemssoitem) {
|
||||
if(!$bookmarksitems->contains($itemssoitem) && !$items->contains($itemssoitem)) {
|
||||
if(!$fgessential || ($fgessential && $itemssoitem->getEssential()))
|
||||
$items->add($itemssoitem);
|
||||
}
|
||||
|
||||
if(!$itemalls->contains($itemssoitem)) $itemalls->add($itemssoitem);
|
||||
}
|
||||
if(!$itemalls->contains($itemssoitem)) $itemalls->add($itemssoitem);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -117,10 +117,6 @@ cadoles_portal_config_item_order:
|
||||
path: /config/item/order
|
||||
defaults: { _controller: CadolesPortalBundle:Item:order }
|
||||
|
||||
cadoles_portal_config_item_forceorder:
|
||||
path: /config/item/forceorder
|
||||
defaults: { _controller: CadolesPortalBundle:Item:forceorder }
|
||||
|
||||
cadoles_portal_config_ajax_item_seleclist:
|
||||
path: /config/item/ajax/selectlist
|
||||
defaults: { _controller: CadolesPortalBundle:Item:ajaxseleclist }
|
||||
|
@ -1,138 +0,0 @@
|
||||
<table class="table table-striped table-bordered table-hover dataTable no-footer">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Libellé du service</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tr>
|
||||
<td>ACCUEIL</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>ACTUALITES</td>
|
||||
<td>Création ou publication d’actualités, publiques ou privées. Le marquage de ce service ne comprend pas l’accès en consultation à ces actualités, qu’elles soient publiques ou privées</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>CAHIER_TEXTES</td>
|
||||
<td>Description du travail fait en classe par séquence, des points du programme abordés, des modalités pédagogiques utilisées…<br><br>Programmation du travail à faire en dehors de la classe (Devoirs).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>CAHIER_LIAISON</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>COURRIER_ELECTRONIQUE</td>
|
||||
<td>Courrier électronique, Carnet d'adresses, Annuaire, Liste de diffusion.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>MESSAGERIE_INSTANTANEE</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>VISIOCONFERENCE</td>
|
||||
<td>Services associés à l’organisation et l’animation de visioconférences. </td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>STOCKAGE_PARTAGE</td>
|
||||
<td>Chargement, stockage de fichiers pouvant ou non être partagés avec d’autres utilisateurs</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>PRODUCTION_COLLABORATIVE</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>DOCUMENTATION_CDI</td>
|
||||
<td>Accès au catalogue de ressources proposées par le CDI, consultation et gestion des ressources, prêts, …</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>PARCOURS_PEDAGOGIQUE</td>
|
||||
<td>Utilisation des outils permettant la production de nouvelles ressources pédagogiques (LMS).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESERVATION_SALLES_MATERIELS</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>SERVICE_COLLECTIVITE</td>
|
||||
<td>Utilisation des services proposés par les collectivités aux établissements ou aux familles (Exemples : cantine, transports, bourses, …).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>SERVICES_VIE_SCOLAIRE</td>
|
||||
<td>Accès à des logiciels de vie scolaire ne permettant pas de marquer finement le type de services utilisés.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>GESTION_TEMPS</td>
|
||||
<td>Gestion de l’agenda et des tâches personnelles ou de groupe. Visualisation de l’emploi du temps.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>ABSENCES</td>
|
||||
<td>Saisie ou visualisation des absences.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>GESTION_COMPETENCES</td>
|
||||
<td>Mise à jour, validation ou visualisation de compétences.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>NOTES</td>
|
||||
<td>Saisie ou visualisation des notes (relevés de notes, bulletins).</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>MANUEL_NUMERIQUE</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_MULTIMEDIA</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_ORIENTATION</td>
|
||||
<td>Accès aux contenus et services proposés dans le cadre des actions d’orientation.</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_PRODUCTION</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_ACCOMPAGNEMENT_ENTRAINEMENT</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_REFERENCE_DICTIONNAIRE</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>RESSOURCE_DOCUMENTAIRE</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>PAGE_ENT</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
@ -67,10 +67,11 @@
|
||||
{{ form_row(form.ssoitem) }}
|
||||
{% endif %}
|
||||
|
||||
{% if form.clicksondeservice is defined %}
|
||||
{{ form_label(form.clicksondeservice) }}
|
||||
<a id="dnmainfo" type="button" class="btn btn-link" data-toggle="modal" data-target="#dnma" style="float:right"><i class="fa fa-info"></i></a>
|
||||
{{ form_widget(form.clicksondeservice) }}<br>
|
||||
{% if form.clicksonde is defined %}
|
||||
{{ form_row(form.clicksonde) }}
|
||||
<div id="divclicksondeservice">
|
||||
{{ form_row(form.clicksondeservice) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{{ form_row(form.color) }}
|
||||
@ -89,23 +90,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ form_end(form) }}
|
||||
|
||||
<div id="dnma" class="modal fade bs-item-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||
<h4 class="modal-title">Services</h4>
|
||||
</div>
|
||||
|
||||
<div class="modal-body">
|
||||
{{ include('@CadolesPortal/Item/dnma.html.twig') }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block localjavascript %}
|
||||
@ -149,5 +133,13 @@
|
||||
if($("#item_target").val()=="frame") {
|
||||
$("#divhelp").show();
|
||||
}
|
||||
|
||||
|
||||
if($("#item_clicksonde").is(':checked')) {
|
||||
$("#divclicksondeservice").show();
|
||||
}
|
||||
else {
|
||||
$("#divclicksondeservice").hide();
|
||||
}
|
||||
}
|
||||
{% endblock %}
|
||||
|
@ -11,8 +11,6 @@
|
||||
<p>
|
||||
<a href="{{ path('cadoles_portal_config_item_submit') }}" class="btn btn-success">Ajouter un Item</a>
|
||||
<a href="{{ path('cadoles_portal_config_itemcategory_submit') }}" class="btn btn-success">Ajouter une Categorie</a>
|
||||
|
||||
<a href="{{ path('cadoles_portal_config_item_forceorder') }}" class="btn btn-success pull-right">Ordonner les items en alpha</a>
|
||||
</p>
|
||||
|
||||
<div class="category-list">
|
||||
|
Loading…
Reference in New Issue
Block a user