Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kohinos-tav
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agplv3
kohinos-tav
Commits
99e59a04
Commit
99e59a04
authored
May 17, 2021
by
Julien Jorry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issues #1 et #2 : delete <script type='text/javascript'> + add robots.txt
parent
a863907e
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
8 deletions
+11
-8
robots.txt
public/robots.txt
+3
-0
base_edit.html.twig
...mes/kohinos/bundles/SonataAdminBundle/base_edit.html.twig
+1
-1
standard_layout.html.twig
...hinos/bundles/SonataAdminBundle/standard_layout.html.twig
+2
-2
layout.html.twig
templates/themes/kohinos/common/layout.html.twig
+2
-2
cartejs.html.twig
templates/themes/kohinos/comptoir/block/cartejs.html.twig
+1
-1
cartejs.html.twig
...lates/themes/kohinos/groupepresta/block/cartejs.html.twig
+1
-1
cartejs.html.twig
templates/themes/kohinos/presta/block/cartejs.html.twig
+1
-1
No files found.
public/robots.txt
0 → 100644
View file @
99e59a04
User-agent: *
Disallow: /
\ No newline at end of file
templates/themes/kohinos/bundles/SonataAdminBundle/base_edit.html.twig
View file @
99e59a04
...
...
@@ -3,7 +3,7 @@
{{
parent
()
}}
{%
if
app.request.get
(
'_route'
)
==
'admin_app_user_edit'
or
app.request.get
(
'_route'
)
==
'admin_app_user_create'
%}
<script
type=
"text/javascript"
>
<script>
$
(
function
()
{
$
(
"input[name='
{{
admin.uniqid
}}
[groups][]']"
).
each
(
function
()
{
$
(
this
).
on
(
'ifChecked'
,
function
(
event
){
...
...
templates/themes/kohinos/bundles/SonataAdminBundle/standard_layout.html.twig
View file @
99e59a04
...
...
@@ -442,7 +442,7 @@ Modified for MLC from Sonata package.
{%
if
sonata_config.getOption
(
'use_bootlint'
)
%}
{%
block
bootlint
%}
{# Bootlint - https://github.com/twbs/bootlint
#
in-the-browser #}
<script
type=
"text/javascript"
>
<script>
javascript
:(
function
(){
var
s
=
document
.
createElement
(
"script"
);
s
.
onload
=
function
(){
bootlint
.
showLintReportForCurrentDocument
([],
{
hasProblems
:
false
,
problemFree
:
false
});};
s
.
src
=
"https://maxcdn.bootstrapcdn.com/bootlint/latest/bootlint.min.js"
;
document
.
body
.
appendChild
(
s
)})();
</script>
{%
endblock
%}
...
...
@@ -451,7 +451,7 @@ Modified for MLC from Sonata package.
{# MLC : AJOUT POUR EDITABLE BOOLEAN #}
{%
block
js
%}
{{
encore_entry_script_tags
(
'admin'
)
}}
<script
type=
"text/javascript"
>
<script>
$
(
'.viewChoiceGroup'
).
on
(
'click'
,
function
()
{
$
(
'#roleGroupeModal'
).
modal
(
'show'
);
});
...
...
templates/themes/kohinos/common/layout.html.twig
View file @
99e59a04
...
...
@@ -83,13 +83,13 @@
{# AFFICHAGE DE LA MODALE DE CHOIX DU RÔLE (groupe associé aux rôles) #}
{%
if
showModalGroupChoice
()
%}
<script
type=
"text/javascript"
>
<script>
$
(
document
).
ready
(
function
()
{
$
(
'#roleGroupeModal'
).
modal
(
'show'
);
});
</script>
{%
endif
%}
<script
type=
"text/javascript"
>
<script>
$
(
'.viewChoiceGroup'
).
on
(
'click'
,
function
()
{
$
(
'#roleGroupeModal'
).
modal
(
'show'
);
});
...
...
templates/themes/kohinos/comptoir/block/cartejs.html.twig
View file @
99e59a04
{%
set
idmap
=
id
|
default
(
'mapid'
)
%}
<script
type=
"text/javascript"
>
<script>
$
(
function
()
{
$
(
'[data-toggle="tooltip"]'
).
tooltip
()
if
(
$
(
'#
{{
idmap
}}
'
).
length
)
{
...
...
templates/themes/kohinos/groupepresta/block/cartejs.html.twig
View file @
99e59a04
{%
set
idmap
=
id
|
default
(
'mapid'
)
%}
<script
type=
"text/javascript"
>
<script>
$
(
function
()
{
$
(
'[data-toggle="tooltip"]'
).
tooltip
()
if
(
$
(
'#
{{
idmap
}}
'
).
length
)
{
...
...
templates/themes/kohinos/presta/block/cartejs.html.twig
View file @
99e59a04
{%
set
idmap
=
id
|
default
(
'mapid'
)
%}
<script
type=
"text/javascript"
>
<script>
$
(
function
()
{
$
(
'[data-toggle="tooltip"]'
).
tooltip
()
if
(
$
(
'#
{{
idmap
}}
'
).
length
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment