Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
95397aef
Commit
95397aef
authored
Apr 22, 2016
by
delanoe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN] Generated pages not needed any more, (maybe in the future).
parent
2437729e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
156 deletions
+0
-156
urls.py
gargantext/urls.py
+0
-1
css.py
gargantext/views/generated/css.py
+0
-32
img.py
gargantext/views/generated/img.py
+0
-16
urls.py
gargantext/views/generated/urls.py
+0
-10
bootstrap.css
templates/generated/css/bootstrap.css
+0
-0
logo.svg
templates/generated/img/logo.svg
+0
-97
No files found.
gargantext/urls.py
View file @
95397aef
...
@@ -30,7 +30,6 @@ from graphExplorer.views import explorer
...
@@ -30,7 +30,6 @@ from graphExplorer.views import explorer
from
scrapers
import
urls
as
scrapers_urls
from
scrapers
import
urls
as
scrapers_urls
urlpatterns
=
[
url
(
r'^admin/'
,
admin
.
site
.
urls
)
urlpatterns
=
[
url
(
r'^admin/'
,
admin
.
site
.
urls
)
,
url
(
r'^generated/'
,
include
(
gargantext
.
views
.
generated
.
urls
))
,
url
(
r'^api/'
,
include
(
gargantext
.
views
.
api
.
urls
)
)
,
url
(
r'^api/'
,
include
(
gargantext
.
views
.
api
.
urls
)
)
,
url
(
r'^'
,
include
(
gargantext
.
views
.
pages
.
urls
)
)
,
url
(
r'^'
,
include
(
gargantext
.
views
.
pages
.
urls
)
)
...
...
gargantext/views/generated/css.py
deleted
100644 → 0
View file @
2437729e
from
gargantext.util.http
import
*
def
bootstrap
(
request
):
template
=
get_template
(
'generated/css/bootstrap.css'
)
css
=
dict
()
group
=
"mines"
#group = "cnrs"
if
group
==
"mines"
:
css
[
'color'
]
=
'#666666'
css
[
'background'
]
=
'#f8f8f7'
css
[
'a'
]
=
'#bd2525'
css
[
'focus'
]
=
'#7d1818'
css
[
'hr'
]
=
'#eaafae'
css
[
'text'
]
=
'#a2a3a2'
css
[
'form'
]
=
'#a5817f'
css
[
'help'
]
=
'#a6a6a6'
else
:
css
[
'color'
]
=
'#E2E7EB'
css
[
'background'
]
=
'#8C9DAD'
#container background
css
[
'a'
]
=
'#093558'
css
[
'focus'
]
=
'#556F86'
css
[
'hr'
]
=
'#426A8A'
css
[
'text'
]
=
'#214A6D'
css
[
'form'
]
=
'#093558'
css
[
'help'
]
=
'#093558'
css_data
=
template
.
render
({
'css'
:
css
,
})
return
HttpResponse
(
css_data
,
content_type
=
"text/css"
)
gargantext/views/generated/img.py
deleted
100644 → 0
View file @
2437729e
from
gargantext.util.http
import
*
def
logo
(
request
):
template
=
get_template
(
'generated/img/logo.svg'
)
group
=
'mines'
#group = 'cnrs'
if
group
==
'cnrs'
:
color
=
'#093558'
else
:
# color of the css adapted to the logo
color
=
'#5A9AFF'
svg_data
=
template
.
render
({
'color'
:
color
,
})
return
HttpResponse
(
svg_data
,
content_type
=
'image/svg+xml'
)
gargantext/views/generated/urls.py
deleted
100644 → 0
View file @
2437729e
from
django.conf.urls
import
include
,
url
from
.
import
css
,
img
urlpatterns
=
[
url
(
r'^img/logo\.svg$'
,
img
.
logo
),
url
(
r'^css/bootstrap\.css'
,
css
.
bootstrap
),
]
templates/generated/css/bootstrap.css
deleted
100755 → 0
View file @
2437729e
templates/generated/img/logo.svg
deleted
100755 → 0
View file @
2437729e
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc=
"http://purl.org/dc/elements/1.1/"
xmlns:cc=
"http://creativecommons.org/ns#"
xmlns:rdf=
"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg=
"http://www.w3.org/2000/svg"
xmlns=
"http://www.w3.org/2000/svg"
xmlns:sodipodi=
"http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape=
"http://www.inkscape.org/namespaces/inkscape"
width=
"48px"
height=
"48px"
id=
"svg4362"
version=
"1.1"
inkscape:version=
"0.48.5 r10040"
sodipodi:docname=
"logo.svg"
>
<defs
id=
"defs4364"
/>
<sodipodi:namedview
id=
"base"
pagecolor=
"#ffffff"
bordercolor=
"#666666"
borderopacity=
"1.0"
inkscape:pageopacity=
"0.0"
inkscape:pageshadow=
"2"
inkscape:zoom=
"5.6897594"
inkscape:cx=
"-11.235831"
inkscape:cy=
"3.8560006"
inkscape:current-layer=
"layer1"
showgrid=
"true"
inkscape:grid-bbox=
"true"
inkscape:document-units=
"px"
inkscape:window-width=
"881"
inkscape:window-height=
"762"
inkscape:window-x=
"0"
inkscape:window-y=
"0"
inkscape:window-maximized=
"0"
/>
<metadata
id=
"metadata4367"
>
<rdf:RDF>
<cc:Work
rdf:about=
""
>
<dc:format>
image/svg+xml
</dc:format>
<dc:type
rdf:resource=
"http://purl.org/dc/dcmitype/StillImage"
/>
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id=
"layer1"
inkscape:label=
"Layer 1"
inkscape:groupmode=
"layer"
>
<rect
style=
"fill:#fffcfc;fill-opacity:1;stroke:none"
id=
"rect3755"
width=
"29.70249"
height=
"31.108515"
x=
"0"
y=
"-0.1566938"
inkscape:export-filename=
"/srv/gargantext/static/img/logo.png"
inkscape:export-xdpi=
"454.50735"
inkscape:export-ydpi=
"454.50735"
/>
<g
inkscape:export-ydpi=
"454.50735"
inkscape:export-xdpi=
"454.50735"
inkscape:export-filename=
"/srv/gargantext/static/img/logo.png"
style=
"fill:{{color}};fill-opacity:0.82014388"
id=
"g3835"
transform=
"matrix(0.2422549,0,0,0.23374214,-49.789462,-7.9055988)"
>
<path
inkscape:export-ydpi=
"100"
inkscape:export-xdpi=
"100"
inkscape:export-filename=
"/home/alexandre/projets/gargantext.py/gargantext_core/shared/LogoSimple.png"
id=
"path3837"
d=
"m 206.24721,35.28586 0,129.5 67.78125,0 0,-8.625 c -9.86526,-0.47262 -18.57934,-2.63259 -25.5625,-6.28125 -18.65918,-9.74237 -29.875,-28.26535 -29.875,-49.1875 0,-31.71741 21.11877,-52.8149 55.4375,-55.1875 l 0,-10.21875 -67.78125,0 z m 67.78125,10.21875 0,8.5 c 1.74191,-0.16369 3.53543,-0.28125 5.37499,-0.28125 6.91081,0 13.295,1.44116 19.6875,4.15625 l 2.40625,2.875 2.59375,14.53125 9.6875,0 0,-25.375 c -11.40283,-3.03451 -22.61727,-4.65625 -33.15625,-4.65625 -2.24526,0 -4.44959,0.10177 -6.59374,0.25 z m 0,8.5 c -23.28864,2.18852 -37.65625,18.81513 -37.65625,45.562503 0,27.600037 14.44681,45.025437 37.65625,47.812497 l 0,-93.375 z m 0,93.375 0,8.78125 c 1.36224,0.0653 2.75177,0.0937 4.15624,0.0937 10.19344,0 22.1324,-1.88915 35.78125,-5.5625 l 0,-38.1875 2.9375,-2.21875 9.5,-0.8125 0,-6.5625 -43.21875,0 0,6.5625 12.28125,0.8125 2.9375,2.21875 0,33.21875 c -6.73804,1.4374 -12.61466,2.09375 -17.625,2.09375 -2.32322,0 -4.57592,-0.17643 -6.74999,-0.4375 z"
style=
"font-size:166.11251831px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:{{color}};fill-opacity:0.82014388;stroke:none;font-family:Bitstream Charter;-inkscape-font-specification:Bitstream Charter"
inkscape:connector-curvature=
"0"
/>
<path
inkscape:export-ydpi=
"100"
inkscape:export-xdpi=
"100"
transform=
"translate(611.62306,-400.10238)"
sodipodi:open=
"true"
sodipodi:end=
"6.1660663"
sodipodi:start=
"0"
d=
"m -312.87112,480.17926 c 0,4.97881 -4.03612,9.01493 -9.01493,9.01493 -4.97881,0 -9.01493,-4.03612 -9.01493,-9.01493 0,-4.97881 4.03612,-9.01493 9.01493,-9.01493 4.57131,0 8.41901,3.42153 8.95317,7.96152"
sodipodi:ry=
"9.0149298"
sodipodi:rx=
"9.0149298"
sodipodi:cy=
"480.17926"
sodipodi:cx=
"-321.88605"
id=
"path3839"
style=
"fill:{{color}};fill-opacity:0.82014388;stroke:none"
sodipodi:type=
"arc"
/>
</g>
</g>
</svg>
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