Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8394198
D3338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1004 B
Subscribers
None
D3338.diff
View Options
diff --git a/swh/web/assets/src/bundles/origin/visits-histogram.js b/swh/web/assets/src/bundles/origin/visits-histogram.js
--- a/swh/web/assets/src/bundles/origin/visits-histogram.js
+++ b/swh/web/assets/src/bundles/origin/visits-histogram.js
@@ -22,7 +22,7 @@
// histogram size and margins
let width = 1000;
- let height = 300;
+ let height = 200;
let margin = {top: 20, right: 80, bottom: 30, left: 50};
// create responsive svg
diff --git a/swh/web/templates/browse/origin-visits.html b/swh/web/templates/browse/origin-visits.html
--- a/swh/web/templates/browse/origin-visits.html
+++ b/swh/web/templates/browse/origin-visits.html
@@ -64,6 +64,10 @@
</div>
</form>
+ <h5>Timeline</h5>
+
+ <div id="swh-visits-timeline" class="d3-wrapper"></div>
+
<h5>Calendar</h5>
<div id="swh-visits-calendar"></div>
@@ -72,9 +76,6 @@
<div id="swh-visits-list"></div>
- <h5>Timeline</h5>
-
- <div id="swh-visits-timeline" class="d3-wrapper"></div>
</div>
<script>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 3, 7:22 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217592
Attached To
D3338: templates/origin-visits: Reduce timeline height and move it to the top
Event Timeline
Log In to Comment