Commit 5e19169e authored by vertighel's avatar vertighel
Browse files

dev

parent 0ceba278
Loading
Loading
Loading
Loading
Loading
+30 −9
Original line number Diff line number Diff line
@@ -25,7 +25,8 @@
     data-camera="{{ camera }}"
     data-api-base="{{ api_base }}">

    <div class="d-flex justify-content-between align-items-center mb-2">
    {% set hdr_cls = 'd-flex justify-content-between align-items-center' if layout == 'full' else 'd-flex flex-column align-items-start gap-1' %}
    <div class="{{ hdr_cls }} mb-2">
        <span class="text-uppercase text-muted"
              style="font-size:.75rem; letter-spacing:.1em;">
            {{ station | title }} / {{ camera }}
@@ -79,15 +80,19 @@
    <div class="viewer-controls mt-2 p-2 rounded"
         style="background:#0d0d0d; border:1px solid #222;">
        <div class="row g-2 align-items-center flex-wrap">
            <div class="col-auto d-flex align-items-center gap-1">
                <label class="text-muted small">Min</label>
            <div class="col-auto d-flex flex-column gap-1">
                <div class="d-flex align-items-center gap-1">
                    <label class="text-muted small" style="min-width:2rem">Min</label>
                    <input type="number" class="ctrl-vmin form-control form-control-sm"
                           style="width:90px; background:#111; border-color:#333;" step="any">
                <label class="text-muted small">Max</label>
                </div>
                <div class="d-flex align-items-center gap-1">
                    <label class="text-muted small" style="min-width:2rem">Max</label>
                    <input type="number" class="ctrl-vmax form-control form-control-sm"
                           style="width:90px; background:#111; border-color:#333;" step="any">
                    <button class="btn btn-sm btn-outline-secondary btn-reset-{{ panel_id }}">Reset</button>
                </div>
            </div>
            <div class="col-auto d-flex align-items-center gap-1">
                <input type="checkbox" class="ctrl-auto form-check-input"
                       id="ctrl-auto-{{ panel_id }}"
@@ -141,6 +146,7 @@
            <div class="viewer-controls mt-2 p-2 rounded"
                 style="background:#0d0d0d; border:1px solid #222;">
                <div class="row g-2 align-items-center flex-wrap">
                    {% if layout == 'full' %}
                    <div class="col-auto d-flex align-items-center gap-1">
                        <label class="text-muted small">Min</label>
                        <input type="number" class="ctrl-vmin form-control form-control-sm"
@@ -150,6 +156,21 @@
                               style="width:90px; background:#111; border-color:#333;" step="any">
                        <button class="btn btn-sm btn-outline-secondary btn-reset-{{ panel_id }}">Reset</button>
                    </div>
                    {% else %}
                    <div class="col-auto d-flex flex-column gap-1">
                        <div class="d-flex align-items-center gap-1">
                            <label class="text-muted small" style="min-width:2rem">Min</label>
                            <input type="number" class="ctrl-vmin form-control form-control-sm"
                                   style="width:90px; background:#111; border-color:#333;" step="any">
                        </div>
                        <div class="d-flex align-items-center gap-1">
                            <label class="text-muted small" style="min-width:2rem">Max</label>
                            <input type="number" class="ctrl-vmax form-control form-control-sm"
                                   style="width:90px; background:#111; border-color:#333;" step="any">
                            <button class="btn btn-sm btn-outline-secondary btn-reset-{{ panel_id }}">Reset</button>
                        </div>
                    </div>
                    {% endif %}
                    <div class="col-auto d-flex align-items-center gap-1">
                        <input type="checkbox" class="ctrl-auto form-check-input"
                               id="ctrl-auto-{{ panel_id }}"
+20 −20
Original line number Diff line number Diff line
@@ -24,8 +24,8 @@
   inkscape:pagecheckerboard="0"
   inkscape:deskcolor="#d1d1d1"
   inkscape:zoom="2.2114286"
   inkscape:cx="182.68734"
   inkscape:cy="159.17312"
   inkscape:cx="182.91343"
   inkscape:cy="158.72093"
   inkscape:window-width="2511"
   inkscape:window-height="1371"
   inkscape:window-x="0"
@@ -582,20 +582,20 @@
       y="17.126743">telescope</tspan></text><text
     xml:space="preserve"
     style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#37c8ab"
     x="194.44717"
     x="174.44717"
     y="125.90457"
     id="text127"><tspan
       sodipodi:role="line"
       id="tspan127"
       x="194.44717"
       x="174.44717"
       y="125.90457">stage</tspan></text><text
     xml:space="preserve"
     style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:16px;line-height:1.25;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;fill:#37c8ab"
     x="184.53363"
     x="150.53363"
     y="14.639252"
     id="text133"><tspan
       sodipodi:role="line"
       x="184.53363"
       x="150.53363"
       y="14.639252"
       id="tspan134">lamps</tspan></text><text
     xml:space="preserve"
@@ -661,11 +661,11 @@
       transform="rotate(-45)" /></g></g><path
   id="icon:dome-light-status"
   style="fill:#008080;fill-opacity:0.298039;stroke:#cccccc;stroke-width:0.999998;stroke-dasharray:none"
   d="m 197.14131,44.062272 c 0.0241,0.729645 -0.7628,3.424269 -2.9302,3.424269 -2.1674,0 -2.9302,-2.49921 -2.9302,-3.424269 z m 3.90751,-10.42066 c 1e-4,-0.907814 -0.1805,-1.806613 -0.53144,-2.643868 -0.35094,-0.837246 -0.86499,-1.596196 -1.51237,-2.232645 -0.64738,-0.636439 -1.41499,-1.13759 -2.25811,-1.474211 -0.84301,-0.336631 -1.74473,-0.501963 -2.65241,-0.486403 -1.74249,0.05182 -3.40159,0.757963 -4.64688,1.977902 -1.24529,1.219949 -1.98543,2.86419 -2.07305,4.605265 -0.0417,1.161813 0.21363,2.315042 0.74173,3.350769 0.5281,1.035629 1.31158,1.919572 2.27636,2.56822 0.27192,0.176789 0.49553,0.418432 0.6507,0.70315 0.15518,0.284815 0.23703,0.603718 0.23814,0.927993 v 1.494401 h 5.8604 v -1.494401 c 0,-0.323396 0.0804,-0.641713 0.23383,-0.92643 0.15345,-0.284718 0.37517,-0.52685 0.64523,-0.704713 0.93005,-0.624034 1.69268,-1.467052 2.2206,-2.454822 0.52803,-0.987769 0.80522,-2.090207 0.80727,-3.210207 z"
   d="m 163.14131,44.062272 c 0.0241,0.729645 -0.7628,3.424269 -2.9302,3.424269 -2.1674,0 -2.9302,-2.49921 -2.9302,-3.424269 z m 3.90751,-10.42066 c 1e-4,-0.907814 -0.1805,-1.806613 -0.53144,-2.643868 -0.35094,-0.837246 -0.86499,-1.596196 -1.51237,-2.232645 -0.64738,-0.636439 -1.41499,-1.13759 -2.25811,-1.474211 -0.84301,-0.336631 -1.74473,-0.501963 -2.65241,-0.486403 -1.74249,0.05182 -3.40159,0.757963 -4.64688,1.977902 -1.24529,1.219949 -1.98543,2.86419 -2.07305,4.605265 -0.0417,1.161813 0.21363,2.315042 0.74173,3.350769 0.5281,1.035629 1.31158,1.919572 2.27636,2.56822 0.27192,0.176789 0.49553,0.418432 0.6507,0.70315 0.15518,0.284815 0.23703,0.603718 0.23814,0.927993 v 1.494401 h 5.8604 v -1.494401 c 0,-0.323396 0.0804,-0.641713 0.23383,-0.92643 0.15345,-0.284718 0.37517,-0.52685 0.64523,-0.704713 0.93005,-0.624034 1.69268,-1.467052 2.2206,-2.454822 0.52803,-0.987769 0.80522,-2.090207 0.80727,-3.210207 z"
   data-status="dome-light-status" /><path
   id="icon:telescope-lamp-status"
   style="fill:#008080;fill-opacity:0.298039;stroke:#cccccc;stroke-width:0.999998;stroke-dasharray:none"
   d="m 220.17786,44.062272 c 0.0241,0.729645 -0.7628,3.424269 -2.9302,3.424269 -2.1674,0 -2.9302,-2.49921 -2.9302,-3.424269 z m 3.90751,-10.42066 c 10e-5,-0.907814 -0.1805,-1.806613 -0.53144,-2.643868 -0.35094,-0.837246 -0.86499,-1.596196 -1.51237,-2.232645 -0.64738,-0.636439 -1.41499,-1.13759 -2.25811,-1.474211 -0.84301,-0.336631 -1.74473,-0.501963 -2.65241,-0.486403 -1.74249,0.05182 -3.40159,0.757963 -4.64688,1.977902 -1.24529,1.219949 -1.98543,2.86419 -2.07305,4.605265 -0.0417,1.161813 0.21363,2.315042 0.74173,3.350769 0.5281,1.035629 1.31158,1.919572 2.27636,2.56822 0.27192,0.176789 0.49553,0.418432 0.6507,0.70315 0.15518,0.284815 0.23703,0.603718 0.23814,0.927993 v 1.494401 h 5.8604 v -1.494401 c 0,-0.323396 0.0804,-0.641713 0.23383,-0.92643 0.15345,-0.284718 0.37517,-0.52685 0.64523,-0.704713 0.93005,-0.624034 1.69268,-1.467052 2.2206,-2.454822 0.52803,-0.987769 0.80522,-2.090207 0.80727,-3.210207 z"
   d="m 186.17786,44.062272 c 0.0241,0.729645 -0.7628,3.424269 -2.9302,3.424269 -2.1674,0 -2.9302,-2.49921 -2.9302,-3.424269 z m 3.90751,-10.42066 c 10e-5,-0.907814 -0.1805,-1.806613 -0.53144,-2.643868 -0.35094,-0.837246 -0.86499,-1.596196 -1.51237,-2.232645 -0.64738,-0.636439 -1.41499,-1.13759 -2.25811,-1.474211 -0.84301,-0.336631 -1.74473,-0.501963 -2.65241,-0.486403 -1.74249,0.05182 -3.40159,0.757963 -4.64688,1.977902 -1.24529,1.219949 -1.98543,2.86419 -2.07305,4.605265 -0.0417,1.161813 0.21363,2.315042 0.74173,3.350769 0.5281,1.035629 1.31158,1.919572 2.27636,2.56822 0.27192,0.176789 0.49553,0.418432 0.6507,0.70315 0.15518,0.284815 0.23703,0.603718 0.23814,0.927993 v 1.494401 h 5.8604 v -1.494401 c 0,-0.323396 0.0804,-0.641713 0.23383,-0.92643 0.15345,-0.284718 0.37517,-0.52685 0.64523,-0.704713 0.93005,-0.624034 1.69268,-1.467052 2.2206,-2.454822 0.52803,-0.987769 0.80522,-2.090207 0.80727,-3.210207 z"
   data-status="telescope-lamp-status" /><g
   id="g-camera2"
   transform="translate(-194.78915,238.29897)" /><g
@@ -707,39 +707,39 @@
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="text1"
   x="8.7896709"
   y="57.970661"
   y="99.970657"
   style="font-size:13px;fill:#cccccc">   azimuth:</text><text
   id="text2"
   data-status="dome-position-azimuth"
   x="94.789673"
   y="57.970661"
   y="99.970657"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="label:dome-position-parked"
   x="8.7896709"
   y="71.970665"
   y="57.970665"
   style="font-size:13px;fill:#cccccc">   parked:</text><text
   id="value:dome-position-parked"
   data-status="dome-position-parked"
   x="94.789673"
   y="71.970665"
   y="57.970665"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="label:dome-position-movement"
   x="8.7896709"
   y="85.970665"
   y="71.970665"
   style="font-size:13px;fill:#cccccc">   movement:</text><text
   id="value:dome-position-movement"
   data-status="dome-position-movement"
   x="94.789673"
   y="85.970665"
   y="71.970665"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="label:dome-position-slaved"
   x="8.7896709"
   y="99.970665"
   y="85.970665"
   style="font-size:13px;fill:#cccccc">   slaved:</text><text
   id="value:dome-position-slaved"
   data-status="dome-position-slaved"
   x="94.789673"
   y="99.970665"
   y="85.970665"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="value:telescope-clock"
   data-status="telescope-clock"
@@ -765,7 +765,7 @@
   data-transform="round_3">[???]</text><text
   id="value:telescope-coordinates-altaz-6"
   data-status="telescope-coordinates-altaz-1"
   x="341.55487"
   x="345.55487"
   y="61.960331"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc"
   data-transform="round_3">[???]</text><text
@@ -830,12 +830,12 @@
   y="395.72519"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="label:stage-position"
   x="218.82843"
   x="198.82843"
   y="144.83629"
   style="font-size:13px;fill:#cccccc">   mm</text><text
   id="value:stage-position"
   data-status="stage-position"
   x="192.68373"
   x="172.68373"
   y="143.74068"
   style="font-size:13px;font-family:'Ubuntu Mono';fill:#cccccc">[???]</text><text
   id="text6"
@@ -876,6 +876,6 @@
   y="62.813026"
   style="font-size:13px;fill:#cccccc">alt:</text><text
   id="text4"
   x="320.68115"
   x="324.68115"
   y="62.813026"
   style="font-size:13px;fill:#cccccc">az:</text></svg>