Add New Note page, for the A E S T H E T I C
This commit is contained in:
parent
8eb196df36
commit
0b64eb555f
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
"Notes": "Notes"
|
"Notes": "Notes",
|
||||||
|
"New Note": "New Note"
|
||||||
}
|
}
|
||||||
|
13
pages.php
13
pages.php
@ -31,5 +31,18 @@ define("PAGES", [
|
|||||||
"static/easy-markdown-editor/dist/easymde.min.js",
|
"static/easy-markdown-editor/dist/easymde.min.js",
|
||||||
"static/js/editnote.js"
|
"static/js/editnote.js"
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
"newnote" => [
|
||||||
|
"title" => "New Note",
|
||||||
|
"navbar" => false,
|
||||||
|
"icon" => "fas fa-plus",
|
||||||
|
"styles" => [
|
||||||
|
"static/easy-markdown-editor/dist/easymde.min.css",
|
||||||
|
"static/css/editnote.css"
|
||||||
|
],
|
||||||
|
"scripts" => [
|
||||||
|
"static/easy-markdown-editor/dist/easymde.min.js",
|
||||||
|
"static/js/editnote.js"
|
||||||
|
]
|
||||||
]
|
]
|
||||||
]);
|
]);
|
@ -60,7 +60,7 @@ foreach ($colors as $c) {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<div class="btn-group mb-4">
|
<div class="btn-group mb-4">
|
||||||
<a href="app.php?page=editnote" class="btn btn-success"><i class="fas fa-plus"></i> <?php $Strings->get("New note"); ?></a>
|
<a href="app.php?page=newnote" class="btn btn-success"><i class="fas fa-plus"></i> <?php $Strings->get("New note"); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row" id="grid">
|
<div class="row" id="grid">
|
||||||
|
9
pages/newnote.php
Normal file
9
pages/newnote.php
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
|
*/
|
||||||
|
|
||||||
|
require_once __DIR__ . "/editnote.php";
|
Loading…
x
Reference in New Issue
Block a user