Skip to content

Commit

Permalink
webclient page scaleable, login page device-width
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Aug 27, 2024
1 parent 7cd445c commit 0663a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion omeroweb/webclient/templates/webclient/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@

{% block head %}
{{ block.super }}

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

<script type="text/javascript" charset="utf-8">
$(function(){ $("label").inFieldLabels(); });
</script>
Expand Down
2 changes: 0 additions & 2 deletions omeroweb/webgateway/templates/webgateway/base/base_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
<!-- Turn touch events into drag events for jquery-ui -->
<script type="text/javascript" src="{% static "3rdparty/jquery.ui.touch-punch-0.2.3.min.js" %}"></script>

<!-- Make the width fit the mobile viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- Allow webclient to be 'added to home-screen' as a full-screen app on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
{% endblock %}

0 comments on commit 0663a74

Please sign in to comment.