Compare commits

...

3 commits

Author SHA1 Message Date
Kumi f01858fb1e
feat(style): ensure full-width buttons in card blocks
Adjusted button styles within card blocks to span the full width and tightened the margin at the top to just 1px. This enhancement improves consistency across UI components and enhances the visual appeal of card elements, making actions more obvious and accessible to users.
2024-04-13 08:20:30 +02:00
Kumi 66fc9eac77
feat: Add custom styling for the converter page
Introduced a new stylesheet (`style.css`) to enhance the UI/UX of the converter page. This stylesheet implements a clean and modern aesthetic across the page, with improvements to background color, font choices, form appearance, and button styling. Centralized alignment for headers and adjustments to the modal dialog width for better responsiveness are also included. This effort aims at providing a more visually appealing and user-friendly interface, directly addressing feedback regarding the previous lack of custom styling. Additionally, integrated the custom stylesheet into the converter template to ensure these styles are applied.
2024-04-13 08:16:00 +02:00
Kumi 600c60db2d
feat(installer): update modules JSON URL
Switched the source URL for modules JSON to a new, more robust and secure internal repository, ensuring a safer and more reliable module fetching process. This change was made to address the need for a consistent and reliable source for module data, improving the maintainability of the system.
2024-04-12 12:45:58 +02:00
3 changed files with 69 additions and 1 deletions

View file

@ -4,7 +4,7 @@ import json
import subprocess
class Installer:
MODULES_JSON = "https://kumig.it/-/snippets/131/raw/main/modules.json"
MODULES_JSON = "https://git.private.coffee/KumiSystems/pix360-modules/raw/branch/main/modules.json"
def __init__(self):
self.available_modules = self.fetch_modules()

View file

@ -0,0 +1,67 @@
body {
background-color: #f8f9fa;
font-family: "Arial", sans-serif;
}
.container {
max-width: 800px;
}
h1,
h2 {
text-align: center;
color: #333;
}
h2 a {
text-decoration: none;
color: #007bff;
}
h2 a:hover {
text-decoration: underline;
}
form {
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
.form-group label {
font-weight: bold;
}
.form-control {
margin-bottom: 10px;
}
.btn {
margin-right: 10px;
}
#options {
display: none;
}
#cards {
margin-top: 20px;
}
.modal-dialog {
max-width: 90%;
}
.modal-content {
background-color: #fff;
}
#panorama {
height: 500px;
}
.card-block .btn {
width: 100%;
margin-top: 1px;
}

View file

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="{% static "dist/css/bootstrap.min.css" %}" type="text/css">
<link rel="stylesheet" href="{% static "dist/css/pannellum.css" %}" type="text/css">
<link rel="stylesheet" href="{% static "css/style.css" %}" type="text/css">
<link rel="icon" type="image/png" href="{% static "img/favicon.png" %}">
<title>Panorama Image Export</title>
</head>