feat(asset): add photos, monitor links and deletion

Apply asset_db_002_photos_monitors.sql before rebuilding web.

Restrict soft deletion to the super admin; retain reports and audit.
This commit is contained in:
2026-10-06 02:29:19 +09:00
parent bd0c47e6fc
commit b576dd1a38
19 changed files with 1075 additions and 37 deletions
+83
View File
@@ -1,3 +1,86 @@
.am-monitor-summary {
margin: 18px 0;
padding: 20px;
border: 1px solid #e7e7e7;
border-radius: 12px;
}
.am-monitor-summary h3 {
margin: 0 0 14px;
font-size: 13px;
font-weight: 500;
color: #737373;
}
.am-monitor-grid,
.am-photo-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
gap: 14px;
}
.am-monitor-card {
min-width: 0;
padding: 16px;
background: #fafafa;
border-radius: 10px;
overflow-wrap: anywhere;
}
.am-monitor-card > strong,
.am-monitor-card > small {
display: block;
}
.am-monitor-card > small {
color: #737373;
margin: 8px 0 14px;
}
.am-linked-overview {
border-top: 1px solid #e7e7e7;
padding-top: 12px;
}
.am-linked-overview h4 {
margin: 12px 0 8px;
}
.am-linked-overview p {
font-size: 12px;
line-height: 1.8;
}
.am-monitor-candidate {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 12px;
}
.am-monitor-candidate small {
display: block;
color: #737373;
margin-top: 5px;
}
.am-photo-grid a {
display: block;
color: inherit;
text-decoration: none;
min-width: 0;
}
.am-photo-grid img {
width: 100%;
height: 180px;
object-fit: contain;
border: 1px solid #e7e7e7;
border-radius: 10px;
background: #fafafa;
}
.am-photo-grid small {
display: block;
margin-top: 7px;
overflow-wrap: anywhere;
}
.am-danger {
color: white;
background: #b42318;
border-color: #b42318;
}
.am-danger-outline {
color: #b42318;
}
.erp-page:has(.am-workspace) {
padding: 0;
max-width: none;