Skip to content

Commit a890dc4

Browse files
authored
Merge pull request #27 from astromatic/develop
Develop
2 parents 18c92bc + fb8803c commit a890dc4

File tree

16 files changed

+8280
-366
lines changed

16 files changed

+8280
-366
lines changed

docs/src/setup.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,10 @@ Server options configure various aspects of the web server and its endpoints.
239239
Provide an additional directory for storing extra data.
240240
The default is the current directory (:param:`.`).
241241

242+
:param:`max_region_tile_count` `integer`
243+
Set the maximum number of image tiles per snapshot.
244+
The default is :param:`1024`.
245+
242246
:param:`no_browser`
243247
Use this option to prevent the automatic opening of a web browser when an image filename is provided.
244248

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ requires = ["pdm-backend"]
33
build-backend = "pdm.backend"
44

55
[project]
6-
name = "visiomatic"
7-
version = "3.0.0-b3"
6+
name = "VisiOmatic"
7+
version = "3.0.0-b4"
88
description = "A web application for visualizing astronomical images"
99
authors = [
1010
{name = "Emmanuel Bertin", email = "[email protected]"},
@@ -24,7 +24,8 @@ dependencies = [
2424
"orjson >= 3.9.0",
2525
"platformdirs >= 3.4.0",
2626
"posix_ipc >= 1.1.0; platform_system=='Linux'",
27-
"pydantic == 1.*",
27+
"pydantic >= 2.2",
28+
"pydantic-settings >= 2.2",
2829
"scikit-image >= 0.22.0",
2930
"setuptools",
3031
"simplejpeg >= 1.6",

src/visiomatic/client/css/visiomatic.css

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -268,9 +268,16 @@ select.visiomatic-control-select {
268268
width: 100%;
269269
}
270270

271+
.visiomatic-control-select:first-child
272+
select.visiomatic-control-select {
273+
border-bottom-left-radius: 4px;
274+
border-top-left-radius: 4px;
275+
}
276+
271277
.visiomatic-control-element:last-child
272278
select.visiomatic-control-select {
273-
border-radius: 4px;
279+
border-bottom-right-radius: 4px;
280+
border-top-right-radius: 4px;
274281
}
275282

276283
select.visiomatic-control-select:hover {
@@ -968,31 +975,43 @@ a#visiomatic-snapshot-toggle {
968975
mask-image: url(../images/icon-camera.svg); -webkit-mask-image: url(../images/icon-camera.svg);
969976
}
970977

971-
#visiomatic-control-button-snapshot {
972-
border-radius: 4px 4px 4px 4px;
978+
.sidebar.snapshot {
979+
width: 232px;
980+
}
981+
.sidebar-left.snapshot ~ .leaflet-left {
982+
left: 246px;
983+
}
984+
985+
#visiomatic-snapshot div.visiomatic-control-select {
986+
display: inline-block;
987+
}
988+
989+
#visiomatic-control-button-snapimage {
990+
width: 32px;
991+
border-radius: 0px 4px 4px 0px;
973992
}
974993

975-
#visiomatic-control-button-snapshot > div {
994+
#visiomatic-control-button-snapimage > div {
976995
mask-image: url(../images/icon-image.svg); -webkit-mask-image: url(../images/icon-image.svg);
977996
}
978997

979-
#visiomatic-control-button-print {
980-
border-radius: 4px 4px 4px 4px;
998+
#visiomatic-control-button-printscreen {
999+
width: 32px;
1000+
border-radius: 4px 0px 0px 4px;
9811001
}
9821002

983-
#visiomatic-control-button-print >div {
1003+
#visiomatic-control-button-printscreen >div {
9841004
mask-image: url(../images/icon-print.svg); -webkit-mask-image: url(../images/icon-print.svg);
9851005
}
9861006

987-
.sidebar.snapshot {
988-
width: 224px;
989-
}
990-
.sidebar-left.snapshot ~ .leaflet-left {
991-
left: 238px;
1007+
#visiomatic-control-button-snapscreen {
1008+
width: 32px;
1009+
margin-left: 4px;
1010+
border-radius: 0px 4px 4px 0px;
9921011
}
9931012

994-
#visiomatic-snapshot div.visiomatic-control-select {
995-
display: inline-block;
1013+
#visiomatic-control-button-snapscreen >div {
1014+
mask-image: url(../images/icon-image.svg); -webkit-mask-image: url(../images/icon-image.svg);
9961015
}
9971016

9981017
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@@ -1021,6 +1040,7 @@ a#visiomatic-doc-toggle {
10211040

10221041
.sidebar.doc {
10231042
width: 530px;
1043+
max-width: 100%;
10241044
}
10251045

10261046
.sidebar-left.doc ~ .leaflet-left {

0 commit comments

Comments
 (0)