Add notification container to public layout template

This is needed to show notifications using the standard
"OC.Notification.show" function.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2018-07-31 18:53:53 +02:00
parent 3e0668e348
commit 84c46dd3dd
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@
</head> </head>
<body id="<?php p($_['bodyid']);?>"> <body id="<?php p($_['bodyid']);?>">
<?php include('layout.noscript.warning.php'); ?> <?php include('layout.noscript.warning.php'); ?>
<div id="notification-container">
<div id="notification"></div>
</div>
<header id="header" class="<?php p($_['header-classes']); ?>"> <header id="header" class="<?php p($_['header-classes']); ?>">
<div class="header-left"> <div class="header-left">
<span id="nextcloud"> <span id="nextcloud">