...
This commit is contained in:
parent
e6ac1f3de8
commit
bd75cabc01
14 changed files with 120 additions and 123 deletions
|
@ -167,7 +167,7 @@ mysqli_close($link);
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
|
|
108
web/mustard/css/notifs.css
Normal file
108
web/mustard/css/notifs.css
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
#notifs-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
grid-gap: 10px;
|
||||||
|
margin-top: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifs-list-controls {
|
||||||
|
display: inline-block;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#global-selector {
|
||||||
|
width: auto;
|
||||||
|
margin: 2px 1px 2px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.control-btn {
|
||||||
|
margin-top: 2px;
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#read-btn {
|
||||||
|
margin-left: 1px;
|
||||||
|
margin-right: 2px;
|
||||||
|
float: right;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#delete-btn {
|
||||||
|
margin-left: 1px;
|
||||||
|
margin-right: 1px;
|
||||||
|
float: right;
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
#reverse-btn {
|
||||||
|
margin-left: 1px;
|
||||||
|
margin-right: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifs-list {
|
||||||
|
grid-column: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.notif {
|
||||||
|
padding: 5px;
|
||||||
|
margin: 10px;
|
||||||
|
word-break: break-word;
|
||||||
|
background-color: #87DE87;
|
||||||
|
border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.notif p {
|
||||||
|
font-size: 10pt;
|
||||||
|
text-align: center;
|
||||||
|
margin: 10px;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.notif input {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.notif button {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.deleted {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.sev-warning {
|
||||||
|
background-color: #FFEEAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.sev-error {
|
||||||
|
background-color: #DE8787;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.seen {
|
||||||
|
background-color: lightgrey;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.filtered {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plancia .notifs-criterion {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plancia .notifs-criterion label {
|
||||||
|
margin: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plancia #clear-filters-btn {
|
||||||
|
margin: 2px auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#plancia #apply-filters-btn {
|
||||||
|
margin: 2px auto;
|
||||||
|
width: 100%;
|
||||||
|
}
|
|
@ -841,115 +841,6 @@ input {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#notifs-grid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(3, 1fr);
|
|
||||||
grid-gap: 10px;
|
|
||||||
margin-top: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifs-list-controls {
|
|
||||||
display: inline-block;
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#global-selector {
|
|
||||||
width: auto;
|
|
||||||
margin: 2px 1px 2px 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.control-btn {
|
|
||||||
margin-top: 2px;
|
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#read-btn {
|
|
||||||
margin-left: 1px;
|
|
||||||
margin-right: 2px;
|
|
||||||
float: right;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#delete-btn {
|
|
||||||
margin-left: 1px;
|
|
||||||
margin-right: 1px;
|
|
||||||
float: right;
|
|
||||||
visibility: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
#reverse-btn {
|
|
||||||
margin-left: 1px;
|
|
||||||
margin-right: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifs-list {
|
|
||||||
grid-column: 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.notif {
|
|
||||||
padding: 5px;
|
|
||||||
margin: 10px;
|
|
||||||
word-break: break-word;
|
|
||||||
background-color: #87DE87;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.notif p {
|
|
||||||
font-size: 10pt;
|
|
||||||
text-align: center;
|
|
||||||
margin: 10px;
|
|
||||||
padding: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.notif input {
|
|
||||||
width: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.notif button {
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.deleted {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.sev-warning {
|
|
||||||
background-color: #FFEEAA;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.sev-error {
|
|
||||||
background-color: #DE8787;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.seen {
|
|
||||||
background-color: lightgrey;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.filtered {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#plancia .notifs-criterion {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
|
|
||||||
#plancia .notifs-criterion label {
|
|
||||||
margin: 2px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#plancia #clear-filters-btn {
|
|
||||||
margin: 2px auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
#plancia #apply-filters-btn {
|
|
||||||
margin: 2px auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media only screen and (max-width:720px) {
|
@media only screen and (max-width:720px) {
|
||||||
.bigtab td {
|
.bigtab td {
|
||||||
width: 244px;
|
width: 244px;
|
|
@ -62,7 +62,7 @@ if ($account['Level']!='guest') {
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
<?php if ($account['Level']!='guest') require('js/notifs.js.php'); ?>
|
<?php if ($account['Level']!='guest') require('js/notifs.js.php'); ?>
|
||||||
|
|
|
@ -428,7 +428,7 @@ mysqli_close($link);
|
||||||
<meta name="description" content="Admin pages for Mastodon Startpage">
|
<meta name="description" content="Admin pages for Mastodon Startpage">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
exvalsarr=<?php echo($exvalsjsarr); ?>
|
exvalsarr=<?php echo($exvalsjsarr); ?>
|
||||||
|
|
|
@ -126,7 +126,7 @@ mysqli_close($link);
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
//-->
|
//-->
|
||||||
|
|
|
@ -34,7 +34,7 @@ $english=true;
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -14,7 +14,7 @@ function muoribene($msg,$close) {
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css">
|
<link rel="stylesheet" type="text/css" href="css/theme.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="fullscreen">
|
<div id="fullscreen">
|
||||||
|
|
|
@ -14,7 +14,7 @@ require('include/glob.php');
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -371,7 +371,7 @@ if ($filtordon) {
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
<?php require('js/notifs.js.php'); ?>
|
<?php require('js/notifs.js.php'); ?>
|
||||||
|
|
|
@ -152,7 +152,7 @@ mysqli_close($link);
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
|
|
|
@ -68,8 +68,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_SERVER["CONTENT_TYPE"] === "appli
|
||||||
$dbg .= $dlang . '<br>' . N;
|
$dbg .= $dlang . '<br>' . N;
|
||||||
$dbg .= '<pre>' . print_r($_GET, 1) . '</pre>';
|
$dbg .= '<pre>' . print_r($_GET, 1) . '</pre>';
|
||||||
|
|
||||||
$dbg .= '<pre>' . print_r($inst, 1) . '</pre>' . N;
|
|
||||||
|
|
||||||
if ($account['Level'] != 'guest') {
|
if ($account['Level'] != 'guest') {
|
||||||
require('include/notifs.php');
|
require('include/notifs.php');
|
||||||
$notifs = notifs($link);
|
$notifs = notifs($link);
|
||||||
|
@ -100,7 +98,8 @@ if ($filtordon) {
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/confirma.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/alerta.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/notifs.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
<?php if ($account['Level'] != 'guest') require('js/notifs.js.php'); ?>
|
<?php if ($account['Level'] != 'guest') require('js/notifs.js.php'); ?>
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
mail.add_x_header="0"
|
|
|
@ -53,7 +53,7 @@ mysqli_close($link);
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
<link rel="icon" type="image/png" href="imgs/icona-192.png" sizes="192x192">
|
||||||
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
<link rel="icon" type="image/png" href="imgs/icona-512.png" sizes="512x512">
|
||||||
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
<link rel="apple-touch-icon-precomposed" href="imgs/icona-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="theme.css?v=<?php echo($cjrand); ?>">
|
<link rel="stylesheet" type="text/css" href="css/theme.css?v=<?php echo($cjrand); ?>">
|
||||||
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
<script language="JavaScript" src="js/menu.js?v=<?php echo($cjrand); ?>"></script>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
|
|
Loading…
Reference in a new issue