mirror of
https://github.com/infinition/Bjorn.git
synced 2026-03-16 09:02:00 +00:00
Add Loki and Sentinel utility classes for web API endpoints
- Implemented LokiUtils class with GET and POST endpoints for managing scripts, jobs, and payloads. - Added SentinelUtils class with GET and POST endpoints for managing events, rules, devices, and notifications. - Both classes include error handling and JSON response formatting.
This commit is contained in:
33
web/css/pages/bjorn.css
Normal file
33
web/css/pages/bjorn.css
Normal file
@@ -0,0 +1,33 @@
|
||||
/* ==========================================================================
|
||||
BJORN
|
||||
========================================================================== */
|
||||
.bjorn-container .image-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: calc(100vh - 70px);
|
||||
}
|
||||
|
||||
.bjorn-container .image-container img {
|
||||
max-height: 100%;
|
||||
max-width: 100%;
|
||||
height: -webkit-fill-available;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.bjorn-container .image-container img:active {
|
||||
transform: scale(1.05);
|
||||
}
|
||||
|
||||
.bjorn-container .image-container.fullscreen img {
|
||||
height: 100vh;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
@media (max-width:768px) {
|
||||
.bjorn-container .image-container {
|
||||
height: calc(100vh - 60px);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user