Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8393725
origin.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
origin.html
View Options
{% extends "layout.html" %}
{% block title %}Origin{% endblock %}
{% block content %}
{% if message is not none %}
{{ message }}
{% endif %}
{% if origin is not none %}
<!-- Flot plugin dependencies -->
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.min.js"
></
script
>
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.time.min.js"
></
script
>
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"https://cdnjs.cloudflare.com/ajax/libs/flot/0.8.3/jquery.flot.selection.min.js"
></
script
>
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"https://cdnjs.cloudflare.com/ajax/libs/flot.tooltip/0.9.0/jquery.flot.tooltip.min.js"
></
script
>
<
script
language
=
"javascript"
type
=
"text/javascript"
src
=
"{{ url_for('static', filename='js/calendar.js') }}"
></
script
>
<!-- Timeline result -->
<
h2
>
Origin visit history
</
h2
>
<
div
class
=
"timeline"
>
<
div
id
=
"swh-calendar-window"
style
=
"height: 200px"
>
<
div
id
=
"cal-zoom-window"
style
=
"height: 60%"
></
div
>
<
div
id
=
"cal-static-window"
style
=
"height: 40%"
></
div
>
</
div
>
<
button
id
=
"cal-clear"
>
Reset
</
button
>
</
div
>
<!-- Data result -->
<
h2
>
Origin information
</
h2
>
<
div
>
Details on origin {{ origin['id'] }}:
{% for key in ['type', 'lister', 'project', 'url'] %}
{% if origin[key] is not none %}
<
div
class
=
"row"
>
<
div
class
=
"col-md-2"
>
{{ key }}
</
div
>
<
div
class
=
"col-md-6"
>
{{ origin[key] }}
</
div
>
</
div
>
{% endif %}
{% endfor %}
{% if 'decoding_failures' in content %}
<
div
class
=
"row"
>
<
div
class
=
"col-md-10"
>
(some decoding errors)
</
div
>
</
div
>
{% endif %}
</
div
>
<!-- Flot calendar setup -->
<
script
>
$
(
function
(){
var
cal
=
new
Calendar
(
'{{ browse_url }}'
,
'{{ visit_url }}'
,
{{
origin
[
'id'
]
}},
$
(
'#cal-zoom-window'
),
$
(
'#cal-static-window'
),
$
(
'#cal-clear'
));});</
script
>
{% endif %}
{% endblock %}
File Metadata
Details
Attached
Mime Type
text/html
Expires
Wed, Jun 4, 7:16 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3292669
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment