Skip to content

Commit

Permalink
image autoscale
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Oct 25, 2023
1 parent f1e1400 commit fd7109b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.

This file was deleted.

8 changes: 0 additions & 8 deletions python/app_dist/rmap-core_app/rmap_core.egg-info/requires.txt

This file was deleted.

This file was deleted.

8 changes: 7 additions & 1 deletion python/rmap/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@
<script src="{% static "cookielaw/js/cookielaw.js" %}" type="text/javascript"></script>

<meta name="viewport" content="width=device-width, initial-scale=1">


<style>
img {
max-width: 100%;
}
</style>

{% block extra_assets %}{% endblock %}

</head>
Expand Down
2 changes: 1 addition & 1 deletion python/showdata/templates/showdata/timeseries.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h4>
<p>
<div id="preloadimages">

<img src="/graphite/render/?target=offset(scale({{dsn}}.{{ ident }}.{{ undescored_coords }}.{{ network }}.{{ undescored_trange }}.{{ undescored_level }}.{{var}},{{bcode.scale}}),{{bcode.offset}})&from={{ datefrom }}&until={{ dateuntil }}&hideLegend=true&tz=UTC&lineMode=connected&lineWidth=3&width=800&height=400">
<img src="/graphite/render/?target=offset(scale({{dsn}}.{{ ident }}.{{ undescored_coords }}.{{ network }}.{{ undescored_trange }}.{{ undescored_level }}.{{var}},{{bcode.scale}}),{{bcode.offset}})&from={{ datefrom }}&until={{ dateuntil }}&hideLegend=true&tz=UTC&lineMode=connected&lineWidth=3&width=800&height=400" alt="diagram showing {{var}} from {{ datefrom }} until {{ dateuntil }}">

</div>

Expand Down

0 comments on commit fd7109b

Please sign in to comment.