aboutsummaryrefslogtreecommitdiff
path: root/w
diff options
context:
space:
mode:
Diffstat (limited to 'w')
-rw-r--r--w/class/controllerart.php1
-rw-r--r--w/class/modelart.php1
-rw-r--r--w/view/templates/navart.php23
3 files changed, 23 insertions, 2 deletions
diff --git a/w/class/controllerart.php b/w/class/controllerart.php
index 4abc572..ef65f48 100644
--- a/w/class/controllerart.php
+++ b/w/class/controllerart.php
@@ -43,6 +43,7 @@ class Controllerart extends Controllerdb
$head = '';
+
if ($artexist) {
if ($this->art->daterender() < $this->art->datemodif()) {
diff --git a/w/class/modelart.php b/w/class/modelart.php
index 39ef50f..37262ad 100644
--- a/w/class/modelart.php
+++ b/w/class/modelart.php
@@ -30,7 +30,6 @@ class Modelart extends Modeldb
{
$artdata = new \JamesMoss\Flywheel\Document($art->dry());
- var_dump($artdata);
$artdata->setId($art->id());
$this->artstore->store($artdata);
}
diff --git a/w/view/templates/navart.php b/w/view/templates/navart.php
index d591307..b6a7219 100644
--- a/w/view/templates/navart.php
+++ b/w/view/templates/navart.php
@@ -1,4 +1,25 @@
-<div class="menu" style="all: initial; position: fixed; top: 0; right: 0;">
+<style>
+.menu {
+ all:initial;
+ position: fixed;
+ top: 0;
+ right: 0;
+ z-index: 10;
+ background-color: var(--color1);
+}
+
+div#dropmenu {
+ display: none;
+}
+
+.menu:hover div#dropmenu {
+ display: block;
+}
+
+</style>
+
+
+<div class="menu" >
<?= $user->level() ?>
<div id="dropmenu">