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
4d576aa6
Commit
4d576aa6
authored
Jan 21, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'unstable' into testing
parents
fbe94dc9
7b4f7e77
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
+18
-9
team.py
gargantext_web/team.py
+1
-1
graph.pdf
init/graph.pdf
+0
-0
FileParser.py
parsing/FileParsers/FileParser.py
+8
-2
about.html
templates/about.html
+9
-6
No files found.
gargantext_web/team.py
View file @
4d576aa6
...
...
@@ -21,7 +21,7 @@ def get_team():
{
'first_name'
:
'David'
,
'last_name'
:
'Chavalarias'
,
'mail'
:
''
,
'website'
:
'http://chavalarias.com'
,
'picture'
:
'david.jpg'
},
{
'first_name'
:
'Mathieu'
,
'last_name'
:
'Rodic'
,
'mail'
:
''
,
'website'
:
'http://rodic.fr'
,
'picture'
:
'mathieu.jpg'
},
{
'first_name'
:
'Samuel'
,
'last_name'
:
'Castillo J.'
,
'mail'
:
'kaisleanATgmail.com'
,
'website'
:
'http://www.pksm3.droppages.com'
,
'picture'
:
'samuel.jpg'
},
{
'first_name'
:
'Elias'
,
'last_name'
:
'Showk'
,
'mail'
:
''
,
'website'
:
''
,
'picture'
:
'logo.svg'
},
{
'first_name'
:
'Elias'
,
'last_name'
:
'Showk'
,
'mail'
:
''
,
'website'
:
'
https://github.com/elishowk
'
,
'picture'
:
'logo.svg'
},
#{ 'first_name' : '', 'name' : '', 'mail' : '', 'website' : '', 'picture' : ''},
# copy paste the line above and write your informations please
]
...
...
init/graph.pdf
View file @
4d576aa6
No preview for this file type
parsing/FileParsers/FileParser.py
View file @
4d576aa6
...
...
@@ -102,10 +102,16 @@ class FileParser:
if
zipfile
.
is_zipfile
(
file
):
zipArchive
=
zipfile
.
ZipFile
(
file
)
for
filename
in
zipArchive
.
namelist
():
try
:
metadata_list
+=
self
.
parse
(
zipArchive
.
open
(
filename
,
"r"
))
except
Exception
as
error
:
print
(
error
)
# ...otherwise, let's parse it directly!
else
:
try
:
metadata_list
+=
self
.
_parse
(
file
)
except
Exception
as
error
:
print
(
error
)
# return the list of formatted metadata
return
map
(
self
.
format_metadata
,
metadata_list
)
templates/about.html
View file @
4d576aa6
...
...
@@ -18,9 +18,11 @@
<h1>
About Gargantext
</h1>
</div>
{% if team %}
<div
class=
"panel-group"
id=
"accordion"
role=
"tablist"
aria-multiselectable=
"true"
>
<div
class=
"panel panel-default"
>
{% if team %}
<div
class=
"panel-heading"
>
<h2
class=
"panel-title"
>
<a
data-toggle=
"collapse"
data-parent=
"#accordion"
href=
"#collapseOne"
>
...
...
@@ -28,13 +30,13 @@
</a>
</h2>
</div>
<div
id=
"collapseOne"
class=
"panel-collapse
collapse
"
role=
"tabpanel"
>
<div
id=
"collapseOne"
class=
"panel-collapse
show
"
role=
"tabpanel"
>
<div
class=
"panel-body"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"thumbnails"
>
{% for member in team %}
<div
class=
"col-md-
4
"
>
<div
class=
"col-md-
3
"
>
<div
class=
"thumbnail"
>
{% if member.picture %}
<img
src=
"{% static "
img
/
team
/"%}{{
member
.
picture
}}"
style=
"100px; height:150px"
>
...
...
@@ -44,11 +46,9 @@
{% if member.role %}
<p
class=
"description"
>
{{ member.role }}
</p>
{% endif %}
{% if member.mail %}
<a
href=
"mailto:{{ member.mail }}"
class=
"btn btn-primary btn-xs"
>
Mail
</a>
{% endif %}
{% if member.website %}
<a
href=
"{{ member.website }}"
class=
"btn btn-primary btn-xs"
>
Website
</a>
{% endif %}
...
...
@@ -60,9 +60,12 @@
</div>
</div>
</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
...
...
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