Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
GrammaColor
Commits
c7101a2f
Commit
c7101a2f
authored
Nov 29, 2020
by
Sylvain Coulange
Browse files
ajout icone et logo
parent
92c18060
Changes
5
Hide whitespace changes
Inline
Side-by-side
grammacolorapp/views.py
View file @
c7101a2f
...
...
@@ -2,8 +2,8 @@ from django.shortcuts import render
from
django.http
import
JsonResponse
import
re
,
json
,
spacy
,
subprocess
nlpFr
=
spacy
.
load
(
'fr_core_news_
lg
'
)
nlpZh
=
spacy
.
load
(
'zh_core_web_
lg
'
)
nlpFr
=
spacy
.
load
(
'fr_core_news_
md
'
)
nlpZh
=
spacy
.
load
(
'zh_core_web_
md
'
)
def
home
(
request
):
updateTimeStr
=
updateTime
()
...
...
static/grammachrome.ico
0 → 100644
View file @
c7101a2f
37.6 KB
static/im/logo_grammachrome.png
0 → 100644
View file @
c7101a2f
52.1 KB
static/wikicolor.ico
deleted
100644 → 0
View file @
92c18060
87.5 KB
templates/coloriser.html
View file @
c7101a2f
...
...
@@ -5,7 +5,7 @@
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
GrammaChrome
</title>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"{% static '
wikicolor
.ico' %}"
/>
<link
rel=
"shortcut icon"
type=
"image/png"
href=
"{% static '
grammachrome
.ico' %}"
/>
<link
rel=
"stylesheet"
href=
"https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity=
"sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'styles/styles.css'%}"
>
<script
type=
"text/javascript"
src=
"{% static 'languages/languages.js' %}"
></script>
...
...
@@ -13,8 +13,8 @@
<body>
<div
class=
"header"
><span
id=
"sp_header"
class=
"langspan"
></span></div>
<!--
<a href="https://alem.hypotheses.org/outils-alem-app/wikicolor" target="_blank"><img src="{% static 'im/logo_
wikicolor6b
.png'%}" width="40%" class="langtitle" id="ti_titre"></a>
-->
<h1>
GrammaChrome
</h1>
<a
href=
"https://alem.hypotheses.org/outils-alem-app/wikicolor"
target=
"_blank"
><img
src=
"{% static 'im/logo_
grammachrome
.png'%}"
width=
"40%"
class=
"langtitle"
id=
"ti_titre"
></a>
<!--
<h1>GrammaChrome</h1>
-->
<h2
id=
"subtitle"
><span
id=
"sp_subtitle"
class=
"contours langspan"
></span></h2>
<div
class=
"choixLang"
>
...
...
Write
Preview
Supports
Markdown
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