changed row width

main
alex 2024-02-18 20:37:53 +01:00
parent 4746e3e892
commit 66e131c83a
3 changed files with 48 additions and 52 deletions

View File

@ -4,7 +4,7 @@ server {
location /api/ { # api server
client_max_body_size 0;
proxy_http_version 1.0;
proxy_pass http://jnx-admin-dashboard-server/;
proxy_pass http://jannex-admin-dashboard-backend-service/;
}
location /ws { # websocket server
@ -12,7 +12,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_pass http://jnx-admin-dashboard-server/ws/;
proxy_pass http://jannex-admin-dashboard-backend-service/ws/;
proxy_http_version 1.1;
}
@ -20,24 +20,24 @@ server {
client_max_body_size 0;
proxy_http_version 1.0;
proxy_set_header Connection ""; # needed for sse
proxy_pass http://jnx-log-manager-server/;
proxy_pass http://jannex-log-manager-server-service/;
}
location /tm/ { # telegram bot manager
client_max_body_size 0;
proxy_http_version 1.0;
proxy_set_header Connection ""; # needed for sse
proxy_pass http://jnx-telegram-bot-manager/;
}
#location /tm/ { # telegram bot manager
# client_max_body_size 0;
# proxy_http_version 1.0;
# proxy_set_header Connection ""; # needed for sse
# proxy_pass http://jnx-telegram-bot-manager/;
#}
location /rcm/ { # robot control manager
proxy_read_timeout 10800s;
client_max_body_size 0;
proxy_http_version 1.0;
proxy_set_header Connection ""; # needed for sse
proxy_set_header X-Real-IP $remote_addr; # needed to get the robot ip address
proxy_pass http://jnx-robot-control-manager/;
}
#location /rcm/ { # robot control manager
# proxy_read_timeout 10800s;
# client_max_body_size 0;
# proxy_http_version 1.0;
# proxy_set_header Connection ""; # needed for sse
# proxy_set_header X-Real-IP $remote_addr; # needed to get the robot ip address
# proxy_pass http://jnx-robot-control-manager/;
#}
location / { # frontend
root /usr/share/nginx/html;

View File

@ -137,11 +137,11 @@ export default function LogCard({
<Card
title={
<Row>
<Col xs={24} xl={12}>
<Col xs={24} xl={15}>
{title}
</Col>
<Col xs={24} xl={12}>
<Col xs={24} xl={9}>
<Row xs={24} justify="end" align="middle">
<Col>
<Checkbox

View File

@ -90,41 +90,37 @@ export default function Consoles() {
)
}
title={
<Space>
<Row>
<Col>
<Select
disabled={
consolesContext.connectedLogManagerServers.length === 0
<Row gutter={[16, 16]}>
<Col xs={24} sm={6}>
<Select
disabled={consolesContext.connectedLogManagerServers.length === 0}
style={{ width: "100%", marginRight: AppStyle.app.margin }}
options={consolesContext.connectedLogManagerServers.map(
(connection) => {
return {
label: connection.DisplayName,
value: connection.Address,
};
}
style={{ width: 200, marginRight: AppStyle.app.margin }}
options={consolesContext.connectedLogManagerServers.map(
(connection) => {
return {
label: connection.DisplayName,
value: connection.Address,
};
}
)}
value={selectedLogServer}
onChange={(value) => setSelectedLogServer(value)}
/>
</Col>
)}
value={selectedLogServer}
onChange={(value) => setSelectedLogServer(value)}
/>
</Col>
<Col>
<Select
disabled={
result !== undefined ||
consolesContext.connectedLogManagerServers.length === 0
}
style={{ width: 200 }}
options={availableLogTypes}
value={selectedLogType}
onChange={(value) => setSelectedLogType(value)}
/>
</Col>
</Row>
</Space>
<Col xs={24} sm={18}>
<Select
disabled={
result !== undefined ||
consolesContext.connectedLogManagerServers.length === 0
}
style={{ width: "100%" }}
options={availableLogTypes}
value={selectedLogType}
onChange={(value) => setSelectedLogType(value)}
/>
</Col>
</Row>
}
/>
);