Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
histoiredelart.fr
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
11
Issues
11
List
Boards
Labels
Milestones
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Karl Pineau
histoiredelart.fr
Commits
cfae2701
Commit
cfae2701
authored
Oct 11, 2019
by
KarlPineau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
96c169d5
Changes
200
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
200 changed files
with
3713 additions
and
4136 deletions
+3713
-4136
app/Resources/FOSUserBundle/views/ChangePassword/changePassword.html.twig
...SUserBundle/views/ChangePassword/changePassword.html.twig
+1
-0
app/Resources/FOSUserBundle/views/ChangePassword/mail.html.twig
...sources/FOSUserBundle/views/ChangePassword/mail.html.twig
+1
-1
app/Resources/FOSUserBundle/views/Profile/edit.html.twig
app/Resources/FOSUserBundle/views/Profile/edit.html.twig
+7
-5
app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig
...rces/FOSUserBundle/views/Registration/confirmed.html.twig
+3
-3
app/Resources/FOSUserBundle/views/Registration/register_content.html.twig
...SUserBundle/views/Registration/register_content.html.twig
+1
-1
app/Resources/FOSUserBundle/views/Remove/mail.html.twig
app/Resources/FOSUserBundle/views/Remove/mail.html.twig
+1
-1
app/Resources/translations/KnpPaginatorBundle.en.yml
app/Resources/translations/KnpPaginatorBundle.en.yml
+2
-0
app/Resources/translations/KnpPaginatorBundle.fr.yml
app/Resources/translations/KnpPaginatorBundle.fr.yml
+2
-0
app/Resources/views/CAS/cas_layout.html.twig
app/Resources/views/CAS/cas_layout.html.twig
+1
-2
app/Resources/views/CLICHES/cliches_layout.html.twig
app/Resources/views/CLICHES/cliches_layout.html.twig
+4
-2
app/Resources/views/DATA/data_layout.html.twig
app/Resources/views/DATA/data_layout.html.twig
+3
-2
app/Resources/views/HOME/home_layout.html.twig
app/Resources/views/HOME/home_layout.html.twig
+2
-1
app/Resources/views/property-single.html.twig
app/Resources/views/property-single.html.twig
+9
-2
app/Resources/views/property.html.twig
app/Resources/views/property.html.twig
+39
-63
app/Resources/views/view-item-card.html.twig
app/Resources/views/view-item-card.html.twig
+33
-0
app/config/config.yml
app/config/config.yml
+2
-1
app/config/security.yml
app/config/security.yml
+3
-3
assets/css/autocomplete.css
assets/css/autocomplete.css
+0
-71
assets/css/main.css
assets/css/main.css
+9
-0
assets/css/mainKP.css
assets/css/mainKP.css
+0
-43
assets/css/style.css
assets/css/style.css
+0
-152
assets/js/CLICHESPlayerBundle/resultField.js
assets/js/CLICHESPlayerBundle/resultField.js
+94
-3
composer.json
composer.json
+1
-0
composer.lock
composer.lock
+8
-8
src/API/DataBundle/Controller/EntityController.php
src/API/DataBundle/Controller/EntityController.php
+150
-5
src/API/DataBundle/Controller/SearchController.php
src/API/DataBundle/Controller/SearchController.php
+7
-4
src/API/DataBundle/Controller/TeachingController.php
src/API/DataBundle/Controller/TeachingController.php
+80
-0
src/API/DataBundle/Resources/config/default.yml
src/API/DataBundle/Resources/config/default.yml
+5
-2
src/API/DataBundle/Resources/config/services.yml
src/API/DataBundle/Resources/config/services.yml
+3
-0
src/API/DataBundle/Service/teaching.php
src/API/DataBundle/Service/teaching.php
+47
-0
src/CAS/AdministrationBundle/Controller/UserController.php
src/CAS/AdministrationBundle/Controller/UserController.php
+3
-6
src/CAS/AdministrationBundle/Resources/views/User/view.html.twig
.../AdministrationBundle/Resources/views/User/view.html.twig
+1
-31
src/CAS/UserBundle/Resources/views/Profile/show.html.twig
src/CAS/UserBundle/Resources/views/Profile/show.html.twig
+1
-1
src/CAS/UserBundle/Resources/views/Remove/mail.html.twig
src/CAS/UserBundle/Resources/views/Remove/mail.html.twig
+1
-1
src/CAS/UserBundle/Resources/views/UserPreferences/Cliches/edit.html.twig
...le/Resources/views/UserPreferences/Cliches/edit.html.twig
+7
-2
src/CAS/UserBundle/Resources/views/UserPreferences/Cliches/edit_content.html.twig
...rces/views/UserPreferences/Cliches/edit_content.html.twig
+9
-12
src/CAS/UserBundle/Resources/views/UserPreferences/Mail/edit.html.twig
...undle/Resources/views/UserPreferences/Mail/edit.html.twig
+9
-2
src/CAS/UserBundle/Resources/views/UserPreferences/Mail/edit_content.html.twig
...sources/views/UserPreferences/Mail/edit_content.html.twig
+33
-38
src/CAS/UserBundle/Service/remove.php
src/CAS/UserBundle/Service/remove.php
+3
-16
src/CLICHES/AdministrationBundle/Controller/PlayerSessionViewController.php
...strationBundle/Controller/PlayerSessionViewController.php
+1
-4
src/CLICHES/AdministrationBundle/Controller/StatisticsController.php
.../AdministrationBundle/Controller/StatisticsController.php
+2
-2
src/CLICHES/AdministrationBundle/Resources/views/Home/index.html.twig
...AdministrationBundle/Resources/views/Home/index.html.twig
+1
-3
src/CLICHES/AdministrationBundle/Resources/views/PlayerSessionView/index.html.twig
...nBundle/Resources/views/PlayerSessionView/index.html.twig
+1
-3
src/CLICHES/AdministrationBundle/Resources/views/PlayerSessionView/view.html.twig
...onBundle/Resources/views/PlayerSessionView/view.html.twig
+28
-35
src/CLICHES/AdministrationBundle/Resources/views/PlayerSuggest/archives.html.twig
...onBundle/Resources/views/PlayerSuggest/archives.html.twig
+0
-128
src/CLICHES/AdministrationBundle/Resources/views/PlayerSuggest/index.html.twig
...ationBundle/Resources/views/PlayerSuggest/index.html.twig
+0
-140
src/CLICHES/AdministrationBundle/Resources/views/PlayerSuggest/mailInfoNo.html.twig
...Bundle/Resources/views/PlayerSuggest/mailInfoNo.html.twig
+0
-20
src/CLICHES/AdministrationBundle/Resources/views/PlayerSuggest/mailInfoYes.html.twig
...undle/Resources/views/PlayerSuggest/mailInfoYes.html.twig
+0
-20
src/CLICHES/HomeBundle/Controller/HomeController.php
src/CLICHES/HomeBundle/Controller/HomeController.php
+3
-2
src/CLICHES/HomeBundle/Controller/PrivatePlayerController.php
...CLICHES/HomeBundle/Controller/PrivatePlayerController.php
+35
-0
src/CLICHES/HomeBundle/Form/HomeLoadType.php
src/CLICHES/HomeBundle/Form/HomeLoadType.php
+5
-2
src/CLICHES/HomeBundle/Resources/views/Home/discover.html.twig
...LICHES/HomeBundle/Resources/views/Home/discover.html.twig
+7
-5
src/CLICHES/HomeBundle/Resources/views/Home/index.html.twig
src/CLICHES/HomeBundle/Resources/views/Home/index.html.twig
+5
-4
src/CLICHES/HomeBundle/Resources/views/PrivatePlayer/view.html.twig
...S/HomeBundle/Resources/views/PrivatePlayer/view.html.twig
+58
-0
src/CLICHES/PersonalPlaceBundle/Controller/PrivatePlayerController.php
...ersonalPlaceBundle/Controller/PrivatePlayerController.php
+144
-14
src/CLICHES/PersonalPlaceBundle/Entity/PrivatePlayer.php
src/CLICHES/PersonalPlaceBundle/Entity/PrivatePlayer.php
+64
-61
src/CLICHES/PersonalPlaceBundle/Form/AddToPrivatePlayerType.php
...ICHES/PersonalPlaceBundle/Form/AddToPrivatePlayerType.php
+67
-0
src/CLICHES/PersonalPlaceBundle/Form/PrivatePlayerType.php
src/CLICHES/PersonalPlaceBundle/Form/PrivatePlayerType.php
+7
-2
src/CLICHES/PersonalPlaceBundle/Resources/config/services.yml
...CLICHES/PersonalPlaceBundle/Resources/config/services.yml
+5
-3
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/AddToPrivatePlayer/register.html.twig
...views/PrivatePlayer/AddToPrivatePlayer/register.html.twig
+17
-0
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/Edit/edit.html.twig
...eBundle/Resources/views/PrivatePlayer/Edit/edit.html.twig
+36
-0
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/Edit/edit_content.html.twig
...Resources/views/PrivatePlayer/Edit/edit_content.html.twig
+29
-0
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/Register/register.html.twig
...Resources/views/PrivatePlayer/Register/register.html.twig
+13
-6
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/Register/register_content.html.twig
...s/views/PrivatePlayer/Register/register_content.html.twig
+11
-13
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/index.html.twig
...PlaceBundle/Resources/views/PrivatePlayer/index.html.twig
+34
-11
src/CLICHES/PersonalPlaceBundle/Resources/views/PrivatePlayer/view.html.twig
...lPlaceBundle/Resources/views/PrivatePlayer/view.html.twig
+56
-17
src/CLICHES/PersonalPlaceBundle/Service/privatePlayerService.php
...CHES/PersonalPlaceBundle/Service/privatePlayerService.php
+57
-0
src/CLICHES/PlayerBundle/Controller/EndController.php
src/CLICHES/PlayerBundle/Controller/EndController.php
+0
-4
src/CLICHES/PlayerBundle/Controller/ProposalChoiceController.php
...CHES/PlayerBundle/Controller/ProposalChoiceController.php
+2
-2
src/CLICHES/PlayerBundle/Controller/ProposalFieldController.php
...ICHES/PlayerBundle/Controller/ProposalFieldController.php
+4
-5
src/CLICHES/PlayerBundle/Controller/ProposalTestController.php
...LICHES/PlayerBundle/Controller/ProposalTestController.php
+1
-1
src/CLICHES/PlayerBundle/Controller/ResultChoiceController.php
...LICHES/PlayerBundle/Controller/ResultChoiceController.php
+4
-4
src/CLICHES/PlayerBundle/Controller/ResultFieldController.php
...CLICHES/PlayerBundle/Controller/ResultFieldController.php
+5
-5
src/CLICHES/PlayerBundle/Controller/SelectionController.php
src/CLICHES/PlayerBundle/Controller/SelectionController.php
+14
-4
src/CLICHES/PlayerBundle/Controller/SessionController.php
src/CLICHES/PlayerBundle/Controller/SessionController.php
+24
-9
src/CLICHES/PlayerBundle/Entity/PlayerEndViews.php
src/CLICHES/PlayerBundle/Entity/PlayerEndViews.php
+0
-127
src/CLICHES/PlayerBundle/Entity/PlayerError.php
src/CLICHES/PlayerBundle/Entity/PlayerError.php
+0
-275
src/CLICHES/PlayerBundle/Entity/PlayerSession.php
src/CLICHES/PlayerBundle/Entity/PlayerSession.php
+29
-0
src/CLICHES/PlayerBundle/Entity/PlayerZoomView.php
src/CLICHES/PlayerBundle/Entity/PlayerZoomView.php
+0
-96
src/CLICHES/PlayerBundle/Resources/config/services.yml
src/CLICHES/PlayerBundle/Resources/config/services.yml
+1
-4
src/CLICHES/PlayerBundle/Resources/views/End/endGame-templateEntity-choice.html.twig
...sources/views/End/endGame-templateEntity-choice.html.twig
+0
-42
src/CLICHES/PlayerBundle/Resources/views/End/endGame-templateEntity-field.html.twig
...esources/views/End/endGame-templateEntity-field.html.twig
+0
-44
src/CLICHES/PlayerBundle/Resources/views/End/endGame-templateEntity-test.html.twig
...Resources/views/End/endGame-templateEntity-test.html.twig
+0
-43
src/CLICHES/PlayerBundle/Resources/views/End/endGame-templateEntity.html.twig
...ndle/Resources/views/End/endGame-templateEntity.html.twig
+0
-5
src/CLICHES/PlayerBundle/Resources/views/End/endGame.html.twig
...LICHES/PlayerBundle/Resources/views/End/endGame.html.twig
+11
-26
src/CLICHES/PlayerBundle/Resources/views/Proposal/proposal.html.twig
.../PlayerBundle/Resources/views/Proposal/proposal.html.twig
+1
-1
src/CLICHES/PlayerBundle/Resources/views/Result/result.html.twig
...CHES/PlayerBundle/Resources/views/Result/result.html.twig
+1
-1
src/CLICHES/PlayerBundle/Resources/views/Result/result_information.html.twig
...undle/Resources/views/Result/result_information.html.twig
+15
-11
src/CLICHES/PlayerBundle/Resources/views/Result/result_sources.html.twig
...yerBundle/Resources/views/Result/result_sources.html.twig
+7
-4
src/CLICHES/PlayerBundle/Service/playerEndService.php
src/CLICHES/PlayerBundle/Service/playerEndService.php
+0
-25
src/CLICHES/PlayerBundle/Service/playerProposalFieldService.php
...ICHES/PlayerBundle/Service/playerProposalFieldService.php
+3
-14
src/CLICHES/PlayerBundle/Service/playerSelectionService.php
src/CLICHES/PlayerBundle/Service/playerSelectionService.php
+49
-6
src/CLICHES/PlayerBundle/Service/playerSessionService.php
src/CLICHES/PlayerBundle/Service/playerSessionService.php
+1
-18
src/DATA/AdministrationBundle/Controller/HomeController.php
src/DATA/AdministrationBundle/Controller/HomeController.php
+8
-4
src/DATA/AdministrationBundle/Resources/views/Entity/normalization.html.twig
...tionBundle/Resources/views/Entity/normalization.html.twig
+0
-2
src/DATA/AdministrationBundle/Resources/views/Home/index.html.twig
...AdministrationBundle/Resources/views/Home/index.html.twig
+6
-7
src/DATA/AdministrationBundle/Resources/views/Reporting/mailInfoNo.html.twig
...tionBundle/Resources/views/Reporting/mailInfoNo.html.twig
+4
-4
src/DATA/AdministrationBundle/Resources/views/Reporting/mailInfoYes.html.twig
...ionBundle/Resources/views/Reporting/mailInfoYes.html.twig
+4
-4
src/DATA/AdministrationBundle/Resources/views/Search/statistics.html.twig
...trationBundle/Resources/views/Search/statistics.html.twig
+0
-2
src/DATA/DataBundle/Controller/EntityController.php
src/DATA/DataBundle/Controller/EntityController.php
+3
-3
src/DATA/DataBundle/Controller/EntityPropertiesAlignmentController.php
...Bundle/Controller/EntityPropertiesAlignmentController.php
+0
-39
src/DATA/DataBundle/Controller/EntityViewsController.php
src/DATA/DataBundle/Controller/EntityViewsController.php
+0
-6
src/DATA/DataBundle/Controller/EntityWikidataController.php
src/DATA/DataBundle/Controller/EntityWikidataController.php
+0
-1
src/DATA/DataBundle/Entity/Entity.php
src/DATA/DataBundle/Entity/Entity.php
+3
-5
src/DATA/DataBundle/Form/EntityPostType.php
src/DATA/DataBundle/Form/EntityPostType.php
+70
-0
src/DATA/DataBundle/Form/EntitySameAsType.php
src/DATA/DataBundle/Form/EntitySameAsType.php
+3
-3
src/DATA/DataBundle/Form/EntityType.php
src/DATA/DataBundle/Form/EntityType.php
+3
-3
src/DATA/DataBundle/Resources/views/Entity/Edit/edit.html.twig
...ATA/DataBundle/Resources/views/Entity/Edit/edit.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/SameAs/editSameAs.html.twig
...Bundle/Resources/views/Entity/SameAs/editSameAs.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/Sources/editSources.html.twig
...ndle/Resources/views/Entity/Sources/editSources.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/Teaching/editTeaching.html.twig
...le/Resources/views/Entity/Teaching/editTeaching.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/View/Views/view-views-actions.html.twig
...rces/views/Entity/View/Views/view-views-actions.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/View/Views/view-views-informations.html.twig
...views/Entity/View/Views/view-views-informations.html.twig
+1
-4
src/DATA/DataBundle/Resources/views/Entity/View/Views/view-views-proposals.html.twig
...es/views/Entity/View/Views/view-views-proposals.html.twig
+0
-1
src/DATA/DataBundle/Resources/views/Entity/View/Views/view-views-teaching.html.twig
...ces/views/Entity/View/Views/view-views-teaching.html.twig
+0
-1
src/DATA/DataBundle/Resources/views/Entity/View/view-informations.html.twig
...e/Resources/views/Entity/View/view-informations.html.twig
+1
-1
src/DATA/DataBundle/Resources/views/Entity/index.html.twig
src/DATA/DataBundle/Resources/views/Entity/index.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Entity/view.html.twig
src/DATA/DataBundle/Resources/views/Entity/view.html.twig
+0
-2
src/DATA/DataBundle/Resources/views/Merge/merge.html.twig
src/DATA/DataBundle/Resources/views/Merge/merge.html.twig
+1
-1
src/DATA/DataBundle/Service/entity.php
src/DATA/DataBundle/Service/entity.php
+117
-279
src/DATA/DataBundle/Service/entityRouting.php
src/DATA/DataBundle/Service/entityRouting.php
+0
-5
src/DATA/DataBundle/Service/property.php
src/DATA/DataBundle/Service/property.php
+12
-33
src/DATA/DataBundle/Service/twig.php
src/DATA/DataBundle/Service/twig.php
+1
-0
src/DATA/DataBundle/Service/wikidata.php
src/DATA/DataBundle/Service/wikidata.php
+6
-33
src/DATA/ImageBundle/Controller/FileImageController.php
src/DATA/ImageBundle/Controller/FileImageController.php
+0
-104
src/DATA/ImageBundle/Controller/ImageController.php
src/DATA/ImageBundle/Controller/ImageController.php
+24
-5
src/DATA/ImageBundle/Entity/FileImage.php
src/DATA/ImageBundle/Entity/FileImage.php
+0
-134
src/DATA/ImageBundle/Entity/Image.php
src/DATA/ImageBundle/Entity/Image.php
+243
-32
src/DATA/ImageBundle/Entity/View.php
src/DATA/ImageBundle/Entity/View.php
+71
-154
src/DATA/ImageBundle/Entity/ViewProperty.php
src/DATA/ImageBundle/Entity/ViewProperty.php
+76
-75
src/DATA/ImageBundle/Form/FileImageType.php
src/DATA/ImageBundle/Form/FileImageType.php
+0
-45
src/DATA/ImageBundle/Form/ImageRegisterType.php
src/DATA/ImageBundle/Form/ImageRegisterType.php
+6
-1
src/DATA/ImageBundle/Form/ImageType.php
src/DATA/ImageBundle/Form/ImageType.php
+6
-0
src/DATA/ImageBundle/Form/ImageWithoutViewRegisterType.php
src/DATA/ImageBundle/Form/ImageWithoutViewRegisterType.php
+0
-43
src/DATA/ImageBundle/Resources/views/FileImage/index.html.twig
...ATA/ImageBundle/Resources/views/FileImage/index.html.twig
+0
-33
src/DATA/ImageBundle/Resources/views/FileImage/register.html.twig
.../ImageBundle/Resources/views/FileImage/register.html.twig
+0
-37
src/DATA/ImageBundle/Resources/views/FileImage/register_content.html.twig
...ndle/Resources/views/FileImage/register_content.html.twig
+0
-24
src/DATA/ImageBundle/Resources/views/Image/Edit/edit.html.twig
...ATA/ImageBundle/Resources/views/Image/Edit/edit.html.twig
+7
-4
src/DATA/ImageBundle/Resources/views/Image/Edit/edit_content.html.twig
...eBundle/Resources/views/Image/Edit/edit_content.html.twig
+20
-9
src/DATA/ImageBundle/Resources/views/Image/Register/register.html.twig
...eBundle/Resources/views/Image/Register/register.html.twig
+0
-33
src/DATA/ImageBundle/Resources/views/Image/Register/register_content.html.twig
...Resources/views/Image/Register/register_content.html.twig
+0
-55
src/DATA/ImageBundle/Resources/views/Image/renderImage.html.twig
...A/ImageBundle/Resources/views/Image/renderImage.html.twig
+14
-2
src/DATA/ImageBundle/Resources/views/View/register.html.twig
src/DATA/ImageBundle/Resources/views/View/register.html.twig
+0
-2
src/DATA/ImageBundle/Resources/views/ViewTeaching/editTeaching.html.twig
...undle/Resources/views/ViewTeaching/editTeaching.html.twig
+0
-2
src/DATA/ImageBundle/Service/image.php
src/DATA/ImageBundle/Service/image.php
+72
-0
src/DATA/ImageBundle/Service/view.php
src/DATA/ImageBundle/Service/view.php
+6
-33
src/DATA/ImportBundle/Controller/AdministrationController.php
...DATA/ImportBundle/Controller/AdministrationController.php
+7
-11
src/DATA/ImportBundle/Controller/WikidataController.php
src/DATA/ImportBundle/Controller/WikidataController.php
+26
-33
src/DATA/ImportBundle/Resources/views/Administration/archives.html.twig
...tBundle/Resources/views/Administration/archives.html.twig
+0
-2
src/DATA/ImportBundle/Resources/views/Administration/index.html.twig
...portBundle/Resources/views/Administration/index.html.twig
+2
-4
src/DATA/ImportBundle/Resources/views/Administration/mailthanks.html.twig
...undle/Resources/views/Administration/mailthanks.html.twig
+4
-4
src/DATA/ImportBundle/Resources/views/Administration/mass/importForm.html.twig
.../Resources/views/Administration/mass/importForm.html.twig
+1
-1
src/DATA/ImportBundle/Resources/views/Administration/mass/importResult.html.twig
...esources/views/Administration/mass/importResult.html.twig
+0
-2
src/DATA/ImportBundle/Resources/views/Administration/test.html.twig
...mportBundle/Resources/views/Administration/test.html.twig
+0
-2
src/DATA/ImportBundle/Resources/views/Wikidata/index.html.twig
...ATA/ImportBundle/Resources/views/Wikidata/index.html.twig
+0
-2
src/DATA/ImportBundle/Resources/views/Wikidata/test.html.twig
...DATA/ImportBundle/Resources/views/Wikidata/test.html.twig
+0
-2
src/DATA/PersonalPlaceBundle/Resources/views/Favorite/index.html.twig
...sonalPlaceBundle/Resources/views/Favorite/index.html.twig
+0
-2
src/DATA/PublicBundle/Controller/EntityController.php
src/DATA/PublicBundle/Controller/EntityController.php
+9
-44
src/DATA/PublicBundle/Resources/views/Entity/View/view-informations.html.twig
...e/Resources/views/Entity/View/view-informations.html.twig
+1
-2
src/DATA/PublicBundle/Resources/views/Entity/View/view-meta.html.twig
...licBundle/Resources/views/Entity/View/view-meta.html.twig
+2
-4
src/DATA/PublicBundle/Resources/views/Entity/View/view-sources.html.twig
...Bundle/Resources/views/Entity/View/view-sources.html.twig
+0
-1
src/DATA/PublicBundle/Resources/views/Entity/View/view-teaching.html.twig
...undle/Resources/views/Entity/View/view-teaching.html.twig
+0
-1
src/DATA/PublicBundle/Resources/views/Entity/View/view-views.html.twig
...icBundle/Resources/views/Entity/View/view-views.html.twig
+29
-0
src/DATA/PublicBundle/Resources/views/Entity/View/view-wikipedia.html.twig
...ndle/Resources/views/Entity/View/view-wikipedia.html.twig
+1
-1
src/DATA/PublicBundle/Resources/views/Entity/index.html.twig
src/DATA/PublicBundle/Resources/views/Entity/index.html.twig
+10
-20
src/DATA/PublicBundle/Resources/views/Entity/view.html.twig
src/DATA/PublicBundle/Resources/views/Entity/view.html.twig
+15
-14
src/DATA/PublicBundle/Resources/views/Entity/viewJson.html.twig
...TA/PublicBundle/Resources/views/Entity/viewJson.html.twig
+0
-8
src/DATA/PublicBundle/Resources/views/Home/contribute.html.twig
...TA/PublicBundle/Resources/views/Home/contribute.html.twig
+1
-3
src/DATA/PublicBundle/Resources/views/Teaching/view.html.twig
...DATA/PublicBundle/Resources/views/Teaching/view.html.twig
+19
-21
src/DATA/SearchBundle/Controller/SearchController.php
src/DATA/SearchBundle/Controller/SearchController.php
+2
-2
src/DATA/SearchBundle/Resources/views/Search/results.html.twig
...ATA/SearchBundle/Resources/views/Search/results.html.twig
+10
-25
src/DATA/SearchBundle/Resources/views/Search/test.html.twig
src/DATA/SearchBundle/Resources/views/Search/test.html.twig
+0
-2
src/DATA/TeachingBundle/Controller/TeachingController.php
src/DATA/TeachingBundle/Controller/TeachingController.php
+39
-2
src/DATA/TeachingBundle/Entity/Teaching.php
src/DATA/TeachingBundle/Entity/Teaching.php
+30
-0
src/DATA/TeachingBundle/Resources/views/Teaching/edit.html.twig
...TA/TeachingBundle/Resources/views/Teaching/edit.html.twig
+7
-2
src/DATA/TeachingBundle/Resources/views/Teaching/edit_content.html.twig
...ingBundle/Resources/views/Teaching/edit_content.html.twig
+23
-25
src/DATA/TeachingBundle/Resources/views/Teaching/index.html.twig
...A/TeachingBundle/Resources/views/Teaching/index.html.twig
+22
-21
src/DATA/TeachingBundle/Resources/views/Teaching/register.html.twig
...eachingBundle/Resources/views/Teaching/register.html.twig
+7
-2
src/DATA/TeachingBundle/Resources/views/Teaching/register_content.html.twig
...undle/Resources/views/Teaching/register_content.html.twig
+21
-24
src/DATA/TeachingBundle/Resources/views/Teaching/view.html.twig
...TA/TeachingBundle/Resources/views/Teaching/view.html.twig
+12
-18
src/HOME/HomeBundle/Resources/views/EmailNotification/mail.html.twig
...meBundle/Resources/views/EmailNotification/mail.html.twig
+1
-1
src/HOME/HomeBundle/Resources/views/Home/mentionsLegales.html.twig
...HomeBundle/Resources/views/Home/mentionsLegales.html.twig
+12
-12
src/TB/HomeBundle/Controller/HomeController.php
src/TB/HomeBundle/Controller/HomeController.php
+3
-2
src/TB/ModelBundle/Form/TestedGameAddItemsType.php
src/TB/ModelBundle/Form/TestedGameAddItemsType.php
+0
-2
src/TB/ModelBundle/Form/TestedGameEditType.php
src/TB/ModelBundle/Form/TestedGameEditType.php
+0
-1
src/TB/ModelBundle/Form/TestedGameIconEditType.php
src/TB/ModelBundle/Form/TestedGameIconEditType.php
+2
-1
src/TB/ModelBundle/Form/TestedGameType.php
src/TB/ModelBundle/Form/TestedGameType.php
+1
-3
src/TB/ModelBundle/Form/TestedItemEditType.php
src/TB/ModelBundle/Form/TestedItemEditType.php
+0
-1
src/TB/ModelBundle/Form/TestedItemType.php
src/TB/ModelBundle/Form/TestedItemType.php
+2
-2
src/TB/PersonalPlaceBundle/Controller/TestedGameController.php
...B/PersonalPlaceBundle/Controller/TestedGameController.php
+4
-4
src/TB/PersonalPlaceBundle/Resources/views/TestedGame/Edit/edit_content.html.twig
...le/Resources/views/TestedGame/Edit/edit_content.html.twig
+1
-1
src/TB/PersonalPlaceBundle/Resources/views/TestedGame/EditIcon/editIcon_content.html.twig
...rces/views/TestedGame/EditIcon/editIcon_content.html.twig
+1
-1
src/TB/PlayerBundle/Controller/PlayerController.php
src/TB/PlayerBundle/Controller/PlayerController.php
+2
-2
src/TB/TestedGameBundle/Controller/TestedGameController.php
src/TB/TestedGameBundle/Controller/TestedGameController.php
+2
-2
src/TB/TestedGameBundle/Resources/views/TestedGame/Edit/edit_content.html.twig
...le/Resources/views/TestedGame/Edit/edit_content.html.twig
+1
-1
src/TB/TestedGameBundle/Resources/views/TestedGame/EditIcon/editIcon_content.html.twig
...rces/views/TestedGame/EditIcon/editIcon_content.html.twig
+1
-1
web/modele.xlsx
web/modele.xlsx
+0
-0
web/properties.yml
web/properties.yml
+199
-0
webpack.config.js
webpack.config.js
+0
-3
yarn.lock
yarn.lock
+950
-752
No files found.
app/Resources/FOSUserBundle/views/ChangePassword/changePassword.html.twig
View file @
cfae2701
{%
extends
"::CAS/cas_layout.html.twig"
%}
{%
trans_default_domain
'FOSUserBundle'
%}
{%
block
title
%}
Mot de passe -
{{
parent
()
}}
...
...
app/Resources/FOSUserBundle/views/ChangePassword/mail.html.twig
View file @
cfae2701
<div
class=
"jumbotron"
>
<h1
style=
"text-align: center;"
>
Votre mot de passe a été modifié
</h1>
<div
style=
"text-align: center;"
><a
href=
"
http://cliches.histoiredelart.fr"
><img
src=
"http://histoiredelart.fr/
web/images/logo-big.png"
style=
"max-width: 150px;"
/></a></div>
<div
style=
"text-align: center;"
><a
href=
"
{{
app.request.getSchemeAndHttpHost
()
}}
"
><img
src=
"
{{
app.request.getSchemeAndHttpHost
()
}}
web/images/logo-big.png"
style=
"max-width: 150px;"
/></a></div>
<br
/>
<p>
Vous avez modifié le mot de passe associé à l'adresse mail
<strong>
{{
email
}}
</strong>
.Cette modification a bien été prise en compte.
</p>
<br
/>
...
...
app/Resources/FOSUserBundle/views/Profile/edit.html.twig
View file @
cfae2701
...
...
@@ -20,11 +20,13 @@
{%
block
content
%}
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<div
class=
"jumbotron"
>
{%
block
fos_user_content
%}
{%
include
"FOSUserBundle:Profile:edit_content.html.twig"
%}
{%
endblock
fos_user_content
%}
<div
class=
"col-12"
>
<div
class=
"card"
>
<div
class=
"card-body"
>
{%
block
fos_user_content
%}
{%
include
"FOSUserBundle:Profile:edit_content.html.twig"
%}
{%
endblock
fos_user_content
%}
</div>
</div>
</div>
</div>
...
...
app/Resources/FOSUserBundle/views/Registration/confirmed.html.twig
View file @
cfae2701
...
...
@@ -18,9 +18,9 @@
{%
if
targetUrl
%}
<p><a
href=
"
{{
targetUrl
}}
"
>
{{
'registration.back'
|
trans
}}
</a></p>
{%
endif
%}
<
br
/
>
<div
class=
"text-center"
>
<a
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
class=
"btn btn-success btn-lg"
>
DATA
</a>
-
<a
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
class=
"btn btn-success btn-lg"
>
Clichés
</a>
-
<a
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
class=
"btn btn-success btn-lg"
>
ConfusArt
</a
>
<
p
>
<a
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
>
Accéder à Clichés
</a
>
</p
>
{%
endblock
fos_user_content
%}
</div>
</div>
...
...
app/Resources/FOSUserBundle/views/Registration/register_content.html.twig
View file @
cfae2701
...
...
@@ -30,7 +30,7 @@
{{
form_rest
(
form
)
}}
<br
/>
<input
type=
"submit"
class=
"btn btn-lg btn-success btn-block"
/>
<input
type=
"submit"
class=
"btn btn-lg btn-success btn-block"
value=
"Inscription"
/>
<div
class=
"text-center"
style=
"margin: 10px"
>
OU
</div>
<a
class=
"btn btn-lg btn-primary btn-block"
href=
"
{{
path
(
'fos_user_security_login'
)
}}
"
>
Connexion
</a>
{{
form_end
(
form
)
}}
\ No newline at end of file
app/Resources/FOSUserBundle/views/Remove/mail.html.twig
View file @
cfae2701
<div
class=
"jumbotron"
>
<h1
style=
"text-align: center;"
>
Au revoir !
</h1>
<div
style=
"text-align: center;"
><a
href=
"
http://cliches.histoiredelart.fr"
><img
src=
"http://histoiredelart.fr/
web/images/logo-big.png"
style=
"max-width: 150px;"
/></a></div>
<div
style=
"text-align: center;"
><a
href=
"
{{
app.request.getSchemeAndHttpHost
()
}}
"
><img
src=
"
{{
app.request.getSchemeAndHttpHost
()
}}
web/images/logo-big.png"
style=
"max-width: 150px;"
/></a></div>
<br
/>
<p>
Hey ! Votre compte a bien été supprimé.
<br
/>
Nous sommes désolés de vous voir partir :( . Mais bon, nous espérons secrètement vous revoir bientôt sur Clichés! ;).
</p>
...
...
app/Resources/translations/KnpPaginatorBundle.en.yml
0 → 100644
View file @
cfae2701
label_next
:
Next
label_previous
:
Previous
\ No newline at end of file
app/Resources/translations/KnpPaginatorBundle.fr.yml
0 → 100644
View file @
cfae2701
label_next
:
Suivant
label_previous
:
Précédent
\ No newline at end of file
app/Resources/views/CAS/cas_layout.html.twig
View file @
cfae2701
...
...
@@ -12,7 +12,6 @@
{{
parent
()
}}
{{
encore_entry_link_tags
(
'css_stickyFooter'
)
}}
{{
encore_entry_link_tags
(
'css_autocomplete'
)
}}
{%
endblock
%}
{%
block
header
%}
...
...
@@ -48,7 +47,7 @@
<div
class=
"dropdown-menu dropdown-menu-right"
aria-labelledby=
"dropdownSitesLink"
>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
>
Clichés!
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
>
Data
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
>
ConfusArt
</a>
{#<a class="dropdown-item" href="
{{
path('tb_home_home_index') }}">ConfusArt</a>#}
</div>
</li>
</ul>
...
...
app/Resources/views/CLICHES/cliches_layout.html.twig
View file @
cfae2701
...
...
@@ -33,6 +33,7 @@
<a
class=
"dropdown-toggle"
href=
"#"
role=
"button"
id=
"dropdownUserLink"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
{{
app.user.username
}}
</a>
<div
class=
"dropdown-menu"
aria-labelledby=
"dropdownUserLink"
>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'fos_user_profile_show'
)
}}
"
>
Mon profil
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cliches_personalplace_privateplayer_index'
)
}}
"
>
Mes collections
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cliches_personalplace_stats_stats'
)
}}
"
>
Mes statistiques
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'fos_user_security_logout'
)
}}
"
>
Déconnexion
</a>
{%
if
is_granted
(
"ROLE_MODO"
)
%}
...
...
@@ -48,7 +49,7 @@
<a
class=
"dropdown-toggle"
href=
"#"
role=
"button"
id=
"dropdownSitesLink"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Sites
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
aria-labelledby=
"dropdownSitesLink"
>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
>
DATA
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
>
ConfusArt
</a>
{#<a class="dropdown-item" href="
{{
path('tb_home_home_index') }}">ConfusArt</a>#}
{%
if
is_granted
(
"ROLE_ADMIN"
)
%}
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cas_administration_user_index'
)
}}
"
>
CAS
</a>
...
...
@@ -88,7 +89,7 @@
<div
class=
"col-12 col-sm-4"
>
<ul
class=
"list-unstyled"
>
<li><a
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
class=
"text-muted"
>
Clichés!
</a></li>
<li><a
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
class=
"text-muted"
>
ConfusArt
</a></li>
{#<li><a href="
{{
path('tb_home_home_index') }}" class="text-muted">ConfusArt</a></li>#}
<li><a
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
class=
"text-muted"
>
Data
</a></li>
</ul>
</div>
...
...
@@ -97,6 +98,7 @@
<li><a
href=
"
{{
path
(
'data_public_home_contribute'
)
}}
"
class=
"text-muted"
>
Contribuer
</a></li>
<li><a
href=
"
{{
path
(
'home_home_home_mentionsLegales'
)
}}
"
class=
"text-muted"
>
Mentions légales
</a></li>
<li><a
href=
"mailto:
{{
cliches_mail
}}
"
class=
"text-muted"
title=
"Questions / Suggestions / Remarques / Aide"
>
{{
cliches_mail
}}
</a></li>
<li><a
href=
"https://framagit.org/karlpineau/histoiredelart.fr"
class=
"text-muted"
>
Répertoire Framagit
</a></li>
</ul>
</div>
<div
class=
"col-12 col-sm-4"
>
...
...
app/Resources/views/DATA/data_layout.html.twig
View file @
cfae2701
...
...
@@ -55,7 +55,7 @@
<a
class=
"dropdown-toggle"
href=
"#"
role=
"button"
id=
"dropdownSitesLink"
data-toggle=
"dropdown"
aria-haspopup=
"true"
aria-expanded=
"false"
>
Sites
</a>
<div
class=
"dropdown-menu dropdown-menu-right"
aria-labelledby=
"dropdownSitesLink"
>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
>
Clichés!
</a>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
>
ConfusArt
</a>
{#<a class="dropdown-item" href="
{{
path('tb_home_home_index') }}">ConfusArt</a>#}
{%
if
is_granted
(
"ROLE_ADMIN"
)
%}
<div
class=
"dropdown-divider"
></div>
<a
class=
"dropdown-item"
href=
"
{{
path
(
'cas_administration_user_index'
)
}}
"
>
CAS
</a>
...
...
@@ -93,7 +93,7 @@
<div
class=
"col-12 col-sm-4"
>
<ul
class=
"list-unstyled"
>
<li><a
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
class=
"text-muted"
>
Clichés!
</a></li>
<li><a
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
class=
"text-muted"
>
ConfusArt
</a></li>
{#<li><a href="
{{
path('tb_home_home_index') }}" class="text-muted">ConfusArt</a></li>#}
<li><a
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
class=
"text-muted"
>
Data
</a></li>
</ul>
</div>
...
...
@@ -102,6 +102,7 @@
<li><a
href=
"
{{
path
(
'data_public_home_contribute'
)
}}
"
class=
"text-muted"
>
Contribuer
</a></li>
<li><a
href=
"
{{
path
(
'home_home_home_mentionsLegales'
)
}}
"
class=
"text-muted"
>
Mentions légales
</a></li>
<li><a
href=
"mailto:
{{
cliches_mail
}}
"
class=
"text-muted"
title=
"Questions / Suggestions / Remarques / Aide"
>
{{
cliches_mail
}}
</a></li>
<li><a
href=
"https://framagit.org/karlpineau/histoiredelart.fr"
class=
"text-muted"
>
Répertoire Framagit
</a></li>
</ul>
</div>
<div
class=
"col-12 col-sm-4"
>
...
...
app/Resources/views/HOME/home_layout.html.twig
View file @
cfae2701
...
...
@@ -64,7 +64,7 @@
<div
class=
"col-12 col-sm-4"
>
<ul
class=
"list-unstyled"
>
<li><a
href=
"
{{
path
(
'cliches_home_home_index'
)
}}
"
class=
"text-muted"
>
Clichés!
</a></li>
<li><a
href=
"
{{
path
(
'tb_home_home_index'
)
}}
"
class=
"text-muted"
>
ConfusArt
</a></li>
{#<li><a href="
{{
path('tb_home_home_index') }}" class="text-muted">ConfusArt</a></li>#}
<li><a
href=
"
{{
path
(
'data_public_home_index'
)
}}
"
class=
"text-muted"
>
Data
</a></li>
</ul>
</div>
...
...
@@ -73,6 +73,7 @@
<li><a
href=
"
{{
path
(
'data_public_home_contribute'
)
}}
"
class=
"text-muted"
>
Contribuer
</a></li>
<li><a
href=
"
{{
path
(
'home_home_home_mentionsLegales'
)
}}
"
class=
"text-muted"
>
Mentions légales
</a></li>
<li><a
href=
"mailto:
{{
cliches_mail
}}
"
class=
"text-muted"
title=
"Questions / Suggestions / Remarques / Aide"
>
{{
cliches_mail
}}
</a></li>
<li><a
href=
"https://framagit.org/karlpineau/histoiredelart.fr"
class=
"text-muted"
>
Répertoire Framagit
</a></li>
</ul>
</div>
<div
class=
"col-12 col-sm-4"
>
...
...
app/Resources/views/property-single.html.twig
View file @
cfae2701
...
...
@@ -24,7 +24,7 @@
{%
for
value
in
propertyContainer.values
%}
{%
if
loop.first
==
false
%}
,
{%
endif
%}
{%
if
value.mainsnak
is
defined
and
value.mainsnak.time
is
defined
%}
{{
value.mainsnak.time
}}
{{
data_data_wikidata_service.computeTime
(
value.mainsnak
)
}}
{%
else
%}
(Valeur non définie)
{%
endif
%}
...
...
@@ -51,5 +51,12 @@
{%
endfor
%}
{%
elseif
propertyContainer.type
==
"string"
%}
{%
for
value
in
propertyContainer.values
%}
{%
if
loop.first
==
false
%}
,
{%
endif
%}
{%
if
value.mainsnak
is
defined
%}
{{
value.mainsnak
|
capitalize
}}
{%
else
%}
(Valeur non définie)
{%
endif
%}
{%
endfor
%}
{%
endif
%}
\ No newline at end of file
app/Resources/views/property.html.twig
View file @
cfae2701
{%
if
entityProperty.property
==
"wd-label"
%}
{%
if
"label"
in
entityProperty.property
%}
<div
class=
"list-group-item"
>
<strong>
Label
</strong>
<strong>
Nom
</strong>
<div>
{%
for
labelC
in
entityProperty.value
|
json_decode
%}
{%
if
labelC.language
==
'fr'
%}{{
labelC.value
}}{%
endif
%}
{%
endfor
%}
</div>
</div>
{%
elseif
entityProperty.property
==
"wd-description"
%}
{%
elseif
"description"
in
entityProperty.property
%}
<div
class=
"list-group-item"
>
<strong>
Description
</strong>
<div>
...
...
@@ -16,7 +16,7 @@
{%
endfor
%}
</div>
</div>
{%
elseif
entityProperty.property
==
"wd-aliases"
%}
{%
elseif
"aliases"
in
entityProperty.property
%}
<div
class=
"list-group-item"
>
<strong>
Noms alternatifs
</strong>
<div>
...
...
@@ -28,7 +28,7 @@
{%
endfor
%}
</div>
</div>
{%
elseif
entityProperty.property
!=
"wd-P18"
and
entityProperty.property
!=
"wd-label"
and
entityProperty.property
!=
"wd-description"
and
entityProperty.property
!=
"wd-aliases"
%}
{%
elseif
"label"
not
in
entityProperty.property
and
"description"
not
in
entityProperty.property
and
"aliases"
not
in
entityProperty.property
%}
<div
class=
"list-group-item"
>
<strong>
{%
if
entityProperty.value
!=
null
%}
...
...
@@ -45,69 +45,45 @@
{%
endif
%}
</strong>
<div>
{%
if
entityProperty.property
matches
'/^wd-/'
%}
{%
if
entityProperty.value
!=
null
%}
{%
set
entityPropertyValue
=
entityProperty.value
|
json_decode
%}
{%
if
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"entity"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
loop.index
>
1
%}
,
{%
endif
%}
{%
if
value.mainsnak
is
defined
%}
<a
href=
"https://www.wikidata.org/wiki/
{{
value.mainsnak.value
}}
"
target=
"_blank"
>
{%
if
value.mainsnak.labels.fr
is
defined
%}
{{
value.mainsnak.labels.fr.value
}}
{%
elseif
value.mainsnak.labels.en
is
defined
%}
{{
value.mainsnak.labels.en.value
}}
{%
else
%}
(Valeur non définie)
{%
endif
%}
</a>
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"string"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
"://"
in
value.mainsnak
%}
<a
href=
"
{{
value.mainsnak
}}
"
target=
"_blank"
>
{%
endif
%}
{{
value.mainsnak
}}
{%
if
"://"
in
value.mainsnak
%}
</a>
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"monolingualtext"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
"://"
in
value.mainsnak.text
%}
<a
href=
"
{{
value.mainsnak.text
}}
"
target=
"_blank"
>
{%
endif
%}
{{
value.mainsnak.text
}}
{%
if
"://"
in
value.mainsnak.text
%}
</a>
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"quantity"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{{
value.mainsnak.amount
}}
(
{{
data_data_wikidata_service.getLabelFromEntity
(
data_data_wikidata_service.getEntity
(
value.mainsnak.unit
|
replace
(
{
'http://www.wikidata.org/entity/'
:
''
}
)),
'fr'
)
}}
)
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"time"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{{
data_data_wikidata_service.computeTime
(
value.mainsnak
)
}}
{%
endfor
%}
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
{%
elseif
entityProperty.property
matches
'/^hda-/'
%}
{%
if
entityProperty.value
!=
null
%}
{%
set
entityPropertyValue
=
entityProperty.value
|
json_decode
%}
{%
if
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
loop.index
>
1
%}
,
{%
endif
%}
{%
if
value.mainsnak
is
defined
%}
{%
if
entityProperty.value
!=
null
%}
{%
set
entityPropertyValue
=
entityProperty.value
|
json_decode
%}
{%
if
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"entity"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
loop.index
>
1
%}
,
{%
endif
%}
{%
if
value.mainsnak
is
defined
%}
<a
href=
"https://www.wikidata.org/wiki/
{{
value.mainsnak.value
}}
"
target=
"_blank"
>
{%
if
value.mainsnak.labels.fr
is
defined
%}
{{
value.mainsnak.labels.fr.value
}}
{%
elseif
value.mainsnak.labels.en
is
defined
%}
{{
value.mainsnak.labels.en.value
}}
{%
else
%}
(Valeur non définie)
{%
endif
%}
{%
endif
%}
{%
endfor
%}
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
</a>
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"string"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
"://"
in
value.mainsnak
%}
<a
href=
"
{{
value.mainsnak
}}
"
target=
"_blank"
>
{%
endif
%}
{{
value.mainsnak
}}
{%
if
"://"
in
value.mainsnak
%}
</a>
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"monolingualtext"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{%
if
"://"
in
value.mainsnak.text
%}
<a
href=
"
{{
value.mainsnak.text
}}
"
target=
"_blank"
>
{%
endif
%}
{{
value.mainsnak.text
}}
{%
if
"://"
in
value.mainsnak.text
%}
</a>
{%
endif
%}
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"quantity"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{{
value.mainsnak.amount
}}
(
{{
data_data_wikidata_service.getLabelFromEntity
(
data_data_wikidata_service.getEntity
(
value.mainsnak.unit
|
replace
(
{
'http://www.wikidata.org/entity/'
:
''
}
)),
'fr'
)
}}
)
{%
endfor
%}
{%
elseif
entityPropertyValue.type
is
defined
and
entityPropertyValue.type
==
"time"
and
entityPropertyValue.values
is
defined
%}
{%
for
value
in
entityPropertyValue.values
%}
{{
data_data_wikidata_service.computeTime
(
value.mainsnak
)
}}
{%
endfor
%}
{%
else
%}
{# dump(entityProperty) #}
{%
endif
%}
...
...
app/Resources/views/view-item-card.html.twig
0 → 100644
View file @
cfae2701
<div
class=
"col-12 col-sm-3"
>
<div
class=
"card mt-2"
>
<a
class=
"no-link"
href=
"
{{
path
(
"data_public_entity_view"
,
{
'id'
:
entity.id
}
)
}}
"
>
{%
if
view
is
defined
and
view
!=
null
%}{{
render
(
controller
(
'DATAImageBundle:Image:renderImage'
,
{
'view_id'
:
view.id
,
'class'
:
'card-img-top size-small'
}
))
}}{%
endif
%}
<div
class=
"card-body"
>
<div>
{%
if
index
is
defined
%}
<div
class=
"float-right"
>
#
{{
index
}}
</div>
{%
endif
%}
<h4
class=
"card-title"
>
{{
data_data_entity_service.get
(
entity
,
'label'
)
}}
</h4>
</div>
<p
class=
"card-text"
>
{%
set
resumeArray
=
[]
%}
{%
if
data_data_entity_service.get
(
entity
,
'description'
)
!=
null
%}
{%
set
resumeArray
=
resumeArray
|
merge
([
data_data_entity_service.get
(
entity
,
'description'
)])
%}
{%
elseif
data_data_entity_service.get
(
entity
,
'P170'
)
!=
null
%}
{%
set
resumeArray
=
resumeArray
|
merge
([
data_data_entity_service.get
(
entity
,
'P170'
)])
%}
{%
endif
%}
{%
if
data_data_entity_service.getDateOfCreation
(
entity
)
!=
null
%}
{%
set
resumeArray
=
resumeArray
|
merge
([
data_data_entity_service.getDateOfCreation
(
entity
)])
%}
{%
endif
%}
{%
if
data_data_entity_service.get
(
entity
,
'P276'
)
!=
null
%}
{# P276 = localisation #}
{%
set
resumeArray
=
resumeArray
|
merge
([
data_data_entity_service.get
(
entity
,
'P276'
)])
%}
{%
endif
%}
{{
resumeArray
|
join
(
' | '
)
}}
</p>
</div>
</a>
</div>
</div>
\ No newline at end of file
app/config/config.yml
View file @
cfae2701
...
...
@@ -43,6 +43,7 @@ framework:
validation
:
{
enable_annotations
:
true
}
#serializer: { enable_annotations: true }
default_locale
:
'
%locale%'
translator
:
{
fallbacks
:
[
'
%locale%'
]
}
trusted_hosts
:
~
session
:
# https://symfony.com/doc/current/reference/configuration/framework.html#handler-id
...
...
@@ -77,7 +78,7 @@ twig:
cliches_player_playerproposalfield_service
:
"
@cliches_player.player_proposal_field"
cliches_player_playerresult_service
:
"
@cliches_player.player_result"
cliches_player_playerexclude_service
:
"
@cliches_player.player_exclude"
cliches_p
layer_playerend_service
:
"
@cliches_player.player_end
"
cliches_p
ersonalplace_privateplayer_service
:
"
@cliches_personalplace.private_player
"
tb_model_testeditem
:
"
@tb_model.testeditem"
tb_model_testeditemresult
:
"
@tb_model.testeditemresult"
tb_model_testeditemresultsession
:
"
@tb_model.testeditemresultsession"
...
...
app/config/security.yml
View file @
cfae2701
...
...
@@ -41,6 +41,6 @@ security:
access_control
:
-
{
path
:
/super-administration
,
roles
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
/administration
,
roles
:
IS_AUTHENTICATED_ANONYMOUSLY
}
-
{
path
:
/profile
,
roles
:
IS_AUTHENTICATED_ANONYMOUSLY
}
\ No newline at end of file
-
{
path
:
/super-administration
,
roles
:
ROLE_ADMIN
}
-
{
path
:
/administration
,
roles
:
ROLE_MODO
}
-
{
path
:
/profile
,
roles
:
ROLE_USER
}
\ No newline at end of file
assets/css/autocomplete.css
deleted
100755 → 0
View file @
96c169d5
.autocomplete
{
position
:
absolute
;
transition
:
all
0.5s
ease
0s
;
max-height
:
0
;
overflow-y
:
hidden
;
transition-duration
:
0.3s
;
transition-property
:
all
;
transition-timing-function
:
cubic-bezier
(
0
,
1
,
0.5
,
1
);
}
.autocomplete.open
{
display
:
block
;
transition
:
all
0.5s
ease
0s
;
background-color
:
#FAFAFA
;
max-height
:
500px
;
overflow-y
:
hidden
;
transition-duration
:
0.3s
;
transition-property
:
all
;
transition-timing-function
:
cubic-bezier
(
0
,
1
,
0.5
,
1
);
}
.autocomplete
:empty
,
.autocomplete.open
:empty
{
display
:
none
;
}
.autocomplete
:active
,
.autocomplete
:focus
,
.autocomplete
:hover
{
background-color
:
#FAFAFA
;
transition
:
all
0.5s
ease
0s
;
}
.autocomplete
>
ul
{
list-style-type
:
none
;
margin
:
0
;
padding
:
0
;
}
.autocomplete
>
ul
>
li
{
cursor
:
pointer
;
padding
:
5px
0
5px
10px
;
}
.autocomplete
>
ul
>
li
.locked
{
cursor
:
inherit
;
}
.autocomplete
>
ul
>
li
.active
,
.autocomplete
>
ul
>
li
:active
,
.autocomplete
>
ul
>
li
:focus
,
.autocomplete
>
ul
>
li
:hover
{
background-color
:
#EEEEEE
;
transition
:
all
0.5s
ease
0s
;
}
.autocomplete
>
ul
>
li
.active
a
:active
,
.autocomplete
>
ul
>
li
:active
a
:active
,
.autocomplete
>
ul
>
li
:focus
a
:active
,
.autocomplete
>
ul
>
li
:hover
a
:active
,
.autocomplete
>
ul
>
li
.active
a
:focus
,
.autocomplete
>
ul
>
li
:active
a
:focus
,
.autocomplete
>
ul
>
li
:focus
a
:focus
,
.autocomplete
>
ul
>
li
:hover
a
:focus
,
.autocomplete
>
ul
>
li
.active
a
:hover
,
.autocomplete
>
ul
>
li
:active
a
:hover
,
.autocomplete
>
ul
>
li
:focus
a
:hover
,
.autocomplete
>
ul
>
li
:hover
a
:hover
{
text-decoration
:
none
;
}
input
[
data-autocomplete
]
{
border-color
:
#808080
;
border-style
:
none
none
solid
none
;
border-width
:
0px
0px
1px
0px
;
margin
:
0px
;
padding
:
5px
;
width
:
100%
;
}
assets/css/main.css
View file @
cfae2701
...
...
@@ -29,4 +29,13 @@ body {
.mt-8
{
margin-top
:
7rem
!important
;
}
.card-title
{
margin-bottom
:
0
;
}
.no-link
,
.no-link
:hover
,
.no-link
:active
,
.no-link
:visited
,
.no-link
:focus
{
color
:
rgba
(
0
,
0
,
0
,
0.9
);
text-decoration
:
none
;
}
\ No newline at end of file
assets/css/mainKP.css
deleted
100644 → 0
View file @
96c169d5
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
Created on : 11 sept. 2015, 15:07:44
Author : karlpineau
*/
html
{
width
:
100%
;
}
body
{
width
:
100%
;
background-image
:
url("../../web/images/background-kp.jpg")
;
background-attachment
:
fixed
;
background-repeat
:
no-repeat
;
background-position
:
center
;
}
.container
{
width
:
100%
;
}
@media
(
min-width
:
1200px
)
{
body
{
background-size
:
100%
;
}
}
@media
(
min-width
:
800px
)
and
(
max-width
:
1200px
)
{
body
{
background-size
:
130%
;
}
}
@media
(
max-width
:
800px
)
{
body
{
background-size
:
220%
;
}
}
\ No newline at end of file
assets/css/style.css
deleted
100644 → 0
View file @
96c169d5
body
{
padding-top
:
40px
;
padding-bottom
:
40px
;
background-color
:
#f5f5f5
;
font-family
:
'Roboto'
,
sans-serif
;
}
h1
{
font-size
:
30px
;
}
.form-signin
{
padding
:
15px
;
}
.form-label-group
{
position
:
relative
;
margin-bottom
:
1rem
;
}
.form-label-group
input
,
.form-label-group
label
.label-spe
{
height
:
3.125rem
;
padding
:
.75rem
;
}
.form-label-group
textarea
{
height
:
6.125rem
;
padding
:
.75rem
;
}
.form-label-group
.label-spe
{
position
:
absolute
;
top
:
0
;
left
:
0
;
display
:
block
;
width
:
100%
;
margin-bottom
:
0
;
/* Override default `<label>` margin */
line-height
:
1.5
;
color
:
#606060
;
pointer-events
:
none
;
cursor
:
text
;
/* Match the input under the label */
border
:
1px
solid
transparent
;
border-radius
:
.25rem
;
transition
:
all
.1s
ease-in-out
;
font-size
:
13px
;
}
label
:not
(
.label-spe
)
{
font-size
:
13px
;
margin-top
:
10px
;
}
.form-label-group
input
::-webkit-input-placeholder
{
color
:
transparent
;
}
.form-label-group
input
:-ms-input-placeholder
{
color
:
transparent
;
}
.form-label-group
input
::-ms-input-placeholder
{
color
:
transparent
;
}
.form-label-group
input
::-moz-placeholder
{
color
:
transparent
;
}
.form-label-group
input
::placeholder
{
color
:
transparent
;
}
.form-label-group
textarea
::placeholder
,
.form-label-group
select
::placeholder
{
font-size
:
13px
;
color
:
#606060
;
}
.form-label-group
input
:not
(
:placeholder-shown
)
{