From add02b208df9b268bfab20b4e3ed7f9122df1596 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Fri, 19 May 2017 22:08:50 -0400 Subject: [PATCH] Add endpoints for re-ordering elements, add arrows to page --- admin/manage_custom_nav_elements.php | 21 ++++++++++---- .../Navigation/CustomNavElement.php | 6 ++++ .../Navigation/CustomNavElementHandler.php | 20 ++++++++++++- .../Navigation/CustomNavElementController.php | 13 +++++++++ .../Navigation/CustomNavElementGateway.php | 28 +++++++++++++++++-- api/index.php | 1 + install/mods-for-hesk/sql/installSql.php | 1 + internal-api/js/manage-custom-nav-elements.js | 27 ++++++++++++++++-- 8 files changed, 105 insertions(+), 12 deletions(-) diff --git a/admin/manage_custom_nav_elements.php b/admin/manage_custom_nav_elements.php index 15e3b62d..3fd46f26 100644 --- a/admin/manage_custom_nav_elements.php +++ b/admin/manage_custom_nav_elements.php @@ -51,7 +51,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); Text Subtext Image URL / Font Icon - Place + URL Actions @@ -193,7 +193,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');