diff --git a/controllers/editor.php b/controllers/editor.php index c880a00..3818328 100644 --- a/controllers/editor.php +++ b/controllers/editor.php @@ -2,7 +2,9 @@ $app->get('/editor', function() use($app) { if($user=require_login($app)) { - $html = $app->render('editor.php'); + $html = $app->render('editor.php', [ + 'user' => $user + ]); $app->response()->body($html); } }); diff --git a/public/editor-files/style.css b/public/editor-files/style.css index e5b14b5..9bb8042 100644 --- a/public/editor-files/style.css +++ b/public/editor-files/style.css @@ -75,7 +75,7 @@ img { border: 0; } .toolbar-left .logo { vertical-align: middle; } -#draft-status { +.toolbar .item.text { color: #aaa; font-family: sans-serif; font-size: 16px; diff --git a/views/editor.php b/views/editor.php index 44b2987..78b1858 100644 --- a/views/editor.php +++ b/views/editor.php @@ -3,8 +3,8 @@