Skip to content

Commit e2f5109

Browse files
authored
Merge pull request #3 from ljfp/NasaSkade
Fix FE
2 parents 08da2b5 + c0d07af commit e2f5109

8 files changed

Lines changed: 108692 additions & 25 deletions

web/aladin.html

Lines changed: 42 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,48 @@
3232
<div class="samples">
3333
<span class="samples-label">Try a sample dataset:</span>
3434
<div class="sample-buttons">
35-
<button
36-
type="button"
37-
data-fits-url="https://cdsarc.cds.unistra.fr/saadavizier/download?oid=864972989978905533"
38-
data-label="WISE Infrared — IC 434 & Horsehead Nebula"
39-
data-colormap="magma"
40-
>
41-
Horsehead Nebula (WISE)
42-
</button>
43-
<button
44-
type="button"
45-
data-fits-url="https://fits.gsfc.nasa.gov/samples/NGC6543.fits"
46-
data-label="HST WFPC2 — NGC 6543 (Cat's Eye)"
47-
data-colormap="viridis"
48-
>
49-
Cat's Eye Nebula (HST)
50-
</button>
51-
<button
52-
type="button"
53-
data-fits-url="https://fits.gsfc.nasa.gov/samples/FUV.fits"
54-
data-label="GALEX FUV — M101 Spiral"
55-
data-colormap="plasma"
56-
>
57-
Pinwheel Galaxy (GALEX)
58-
</button>
35+
<button class="fits-button"
36+
type="button"
37+
data-fits-url="/web/examples/EUVEngc4151imgx.fits"
38+
data-label="EUV — NGC 4151"
39+
data-colormap="magma">
40+
Ver NGC 4151 (EUV)
41+
</button>
42+
<button class="fits-button"
43+
type="button"
44+
data-fits-url="/web/examples/FGSf64y0106m_a1f.fits"
45+
data-label="FGS — f64y0106m"
46+
data-colormap="gray">
47+
Ver FGS f64y0106m
48+
</button>
49+
<button class="fits-button"
50+
type="button"
51+
data-fits-url="/web/examples/FOCx38i0101t_c0f.fits"
52+
data-label="FOC — x38i0101t"
53+
data-colormap="plasma">
54+
Ver FOC x38i0101t
55+
</button>
56+
<button class="fits-button"
57+
type="button"
58+
data-fits-url="/web/examples/FPC2u5780205r_c0fx.fits"
59+
data-label="FPC2 — u5780205r"
60+
data-colormap="viridis">
61+
Ver FPC2 u5780205r
62+
</button>
63+
<button class="fits-button"
64+
type="button"
65+
data-fits-url="/web/examples/UITfuv2582gc.fits"
66+
data-label="UIT — FUV 2582"
67+
data-colormap="inferno">
68+
Ver UIT FUV 2582
69+
</button>
70+
<button class="fits-button"
71+
type="button"
72+
data-fits-url="/web/examples/WFPC2ASSNu5780205bx.fits"
73+
data-label="WFPC2 — ASSN u5780205bx"
74+
data-colormap="cividis">
75+
Ver WFPC2 ASSN
76+
</button>
5977
</div>
6078
</div>
6179
<p class="notice" id="aladin-hint">

web/examples/EUVEngc4151imgx.fits

Lines changed: 1796 additions & 0 deletions
Large diffs are not rendered by default.

web/examples/FGSf64y0106m_a1f.fits

Lines changed: 91976 additions & 0 deletions
Large diffs are not rendered by default.

web/examples/FOCx38i0101t_c0f.fits

Lines changed: 12802 additions & 0 deletions
Large diffs are not rendered by default.

web/examples/FPC2u5780205r_c0fx.fits

Lines changed: 1814 additions & 0 deletions
Large diffs are not rendered by default.

web/examples/UITfuv2582gc.fits

Lines changed: 108 additions & 0 deletions
Large diffs are not rendered by default.

web/examples/WFPC2ASSNu5780205bx.fits

Lines changed: 135 additions & 0 deletions
Large diffs are not rendered by default.

web/styles.css

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,27 @@ button:disabled {
184184
gap: 0.4rem;
185185
}
186186

187+
.sample-buttons {
188+
display: grid;
189+
grid-template-columns: repeat(2, 1fr); /* dos columnas iguales */
190+
gap: 0.6rem;
191+
}
192+
187193
.sample-buttons button {
194+
width: 100%;
195+
height: 44px;
196+
font-size: 0.8rem;
197+
text-align: center;
198+
padding: 0.45rem 0.70rem;
199+
border-radius: 0.7rem;
200+
display: inline-flex;
201+
align-items: center;
202+
justify-content: center;
188203
background: rgba(59, 130, 246, 0.14);
189-
border-color: rgba(59, 130, 246, 0.4);
204+
border: 1px solid rgba(59, 130, 246, 0.4);
205+
color: inherit;
206+
cursor: pointer;
207+
transition: background 0.2s ease, border-color 0.2s ease;
190208
}
191209

192210
.sample-buttons button:hover {

0 commit comments

Comments
 (0)