diff --git a/controllers/controllers.php b/controllers/controllers.php index 78e5016..d6cad4f 100644 --- a/controllers/controllers.php +++ b/controllers/controllers.php @@ -178,6 +178,18 @@ $app->get('/photo', function() use($app) { } }); +$app->get('/review', function() use($app) { + if($user=require_login($app)) { + $params = $app->request()->params(); + + $html = render('review', array( + 'title' => 'Review', + 'authorizing' => false + )); + $app->response()->body($html); + } +}); + $app->get('/repost', function() use($app) { if($user=require_login($app)) { $params = $app->request()->params(); diff --git a/views/dashboard.php b/views/dashboard.php index 385f3c2..59cd41e 100644 --- a/views/dashboard.php +++ b/views/dashboard.php @@ -9,6 +9,7 @@
  • 👍
  • ✈️
  • +
  • ⭐️
  • ✉️
  • @@ -17,7 +18,7 @@ .post-type-icons { margin-top: 0; list-style-type: none; - font-size: 48pt; + font-size: 42pt; } .post-type-icons li { float: left; diff --git a/views/new-post.php b/views/new-post.php index 748dc0b..21571ec 100644 --- a/views/new-post.php +++ b/views/new-post.php @@ -347,7 +347,7 @@ $(function(){ request.open("POST", "/micropub/multipart"); request.onreadystatechange = function() { if(request.readyState == XMLHttpRequest.DONE) { - console.log(request.responseText); + // console.log(request.responseText); try { var response = JSON.parse(request.responseText); localforage.removeItem('current-note'); diff --git a/views/review.php b/views/review.php new file mode 100644 index 0000000..4379747 --- /dev/null +++ b/views/review.php @@ -0,0 +1,254 @@ +
    + + +
    + + +
    + +
    + +

    Item

    + +
    +
    +
    + + +
    +
    +
    +
    + + +
    +
    +
    + +

    Review

    + +
    + + It's okay +
    + + + + + + + +
    + +
    + +