Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual zoom level #517

Merged
merged 15 commits into from
Oct 31, 2023
Merged
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ RUN npm install -g grunt-cli && npm install grunt --save-dev
RUN $(npm bin)/grunt build
RUN /opt/omero/web/venv3/bin/pip install -e .


RUN echo "config set omero.web.application_server development" >> /opt/omero/web/config/01-default-webapps.omero
RUN echo "config set omero.web.debug true" >> /opt/omero/web/config/01-default-webapps.omero
USER omero-web
5 changes: 5 additions & 0 deletions omero_figure/static/figure/css/figure.css
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,11 @@
height: 14px;
border-radius: 5px;
}
#vp_zoom_value {
float: right;
width: 50px;
margin-top: 5px;
}
.toggle_channel {
border-radius: 6px 6px 6px 6px;
margin: 2px;
Expand Down
6 changes: 4 additions & 2 deletions omero_figure/templates/figure/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1070,12 +1070,14 @@ <h5>Example Label</h5>
<div class='clearfix'></div>
<div class='tab-footer'>
<div class="col-sm-2 no-padding">
<h5>Zoom</h5>
<h5>Zoom %</h5>
</div>
<div class="col-sm-8 no-padding">
<div id="vp_zoom_slider"></div>
</div>
<div id="vp_zoom_value" class="col-sm-2" style="padding: 8px 0 0; text-align:right"></div>

<input id="vp_zoom_value" type="number" size="4"/>

<div class='clearfix'></div>
<div id="reset-zoom-view">
<!-- button added by ZoomView render() -->
Expand Down
Loading