{% extends 'base.html' %} {% block title %}ZFBOX{% endblock %} {% block style %} .pagination { justify-content: flex-end; /* 右对齐 */ } .page-item .page-link { padding: 0.25rem 0.5rem; /* 缩小按钮 */ font-size: 0.875rem; /* 调整字体大小 */ } .btn-group-sm > .btn, .btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; line-height: 1.5; } .btn-group-sm .btn { margin-right: 5px; /* 按钮之间的间距 */ } .form-group-right h5 { text-align: right; margin-bottom: 0; } .table-container { min-height: 400px; /* 设置最小高度,可以根据需要调整 */ } .video-area { width: 100%; position: relative; background-color: #000; border: 1px solid #ddd; } .video-area::before { content: ""; display: block; padding-top: 75%; /* 4:3 ratio */ } .video-area canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; } .schedule-table { width: 100%; table-layout: fixed; } .schedule-table th, .schedule-table td { text-align: center; vertical-align: middle; cursor: pointer; border: 1px solid #dee2e6; padding: 8px; } .schedule-table td.allowed { background-color: white; } .schedule-table td.blocked { background-color: blue; } /* 缩小表格行高 */ .table-sm th, .table-sm td { padding: 0.2rem; /* 调整这里的值来改变行高 */ } canvas { border: 1px solid black; } {% endblock %} {% block content %}
ID | 所属区域 | 通道名称 | RTSP地址 | 配置算法 | 操作 |
---|