minor cleanup
parent
4c3947d9a8
commit
8dbfce7e28
|
|
@ -267,7 +267,7 @@ module.exports = function(s,config,lang,getSnapshot){
|
|||
"default": "",
|
||||
"example": "",
|
||||
"possible": ""
|
||||
},
|
||||
},
|
||||
{
|
||||
hidden: true,
|
||||
"name": "detail=telegrambot_channel",
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ module.exports = function(s,config,lang,app,io){
|
|||
// s.userLog({ke:monitorConfig.ke,mid:'$USER'},{type:lang['Websocket Connected'],msg:{for:lang['Superuser'],id:cn.mail,ip:cn.ip}})
|
||||
})
|
||||
}
|
||||
if(s.group[monitorConfig.ke] && s.group[monitorConfig.ke].init.shinobihub === '1'){
|
||||
if(s.group[monitorConfig.ke] && s.group[monitorConfig.ke].init && s.group[monitorConfig.ke].init.shinobihub === '1'){
|
||||
uploadConfiguration(s.group[monitorConfig.ke].init.shinobihub_key,'cam',monitorConfig,() => {
|
||||
// s.userLog({ke:monitorConfig.ke,mid:'$USER'},{type:lang['Websocket Connected'],msg:{for:lang['Superuser'],id:cn.mail,ip:cn.ip}})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -230,6 +230,9 @@ body {
|
|||
.text-monospace {
|
||||
font-family: monospace;
|
||||
}
|
||||
.text-ellipsis {
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.float{
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,12 +6,14 @@
|
|||
<img class="me-3" src="<%- window.libURL + config.logoLocation196x196 %>" width="48" style="<%- config.logoLocation76x76Style %>">
|
||||
</div>
|
||||
<div class="flex-grow-1" data-bs-toggle="collapse" data-bs-target=".home-collapse">
|
||||
<h1 class="h6 mb-0 lh-1"><%- $user.mail %></h1>
|
||||
<h1 class="h6 mb-0 lh-1 text-ellipsis"><%- $user.mail %></h1>
|
||||
<small><%- lang.Monitors %> : <span class="cameraCount"></span></small>
|
||||
</div>
|
||||
<% if(define.SideMenu.showMonitors){ %>
|
||||
<div class="lh-1">
|
||||
<a class_toggle="compressed-monitor-icons" data-target="#monitorSideList" icon-toggle="fa-th fa-bars" icon-child="i"><i class="fa fa-th"></i></a>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
<%
|
||||
var drawBlock
|
||||
|
|
|
|||
Loading…
Reference in New Issue