From 6d2bc4c33b538890c100950261d291a0550e67e9 Mon Sep 17 00:00:00 2001 From: brammp Date: Wed, 28 Aug 2019 20:08:31 +0200 Subject: [PATCH] Back buttons acualy go back to previous page instad of a static page Unnecessary Enters removed --- assets/css/custom.css | 8 ++++++++ backend/Backend-index.php | 18 ------------------ backend/archive-ticket.php | 22 +--------------------- backend/archive.php | 20 +------------------- backend/create-system.php | 2 +- backend/create-ticket.php | 19 +------------------ backend/create-user.php | 20 +------------------- backend/delete-achivedticket.php | 22 ++-------------------- backend/delete-system.php | 22 ++-------------------- backend/delete-ticket.php | 22 ++-------------------- backend/delete-user.php | 22 ++-------------------- backend/edit-system.php | 7 +------ backend/edit-ticket.php | 20 +------------------- backend/error.php | 21 +-------------------- backend/reset-password.php | 3 +-- backend/systems.php | 18 ------------------ backend/tickets.php | 18 ------------------ backend/users.php | 18 ------------------ backend/view-achivedticket.php | 20 +------------------- backend/view-system.php | 2 +- backend/view-ticket.php | 20 +------------------- 21 files changed, 28 insertions(+), 316 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 935db8d..cbf23e5 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -161,4 +161,12 @@ th.meta { flex-direction: column; align-items: stretch; } +} + +.headbnt { + rgba(255,255,255,0.87)!important; + font-size: 2.4rem; + height: 2.4rem; + line-height: 2.4rem; + color: rgba(255,255,255,0.87)!important; } \ No newline at end of file diff --git a/backend/Backend-index.php b/backend/Backend-index.php index 45038cc..718fca0 100644 --- a/backend/Backend-index.php +++ b/backend/Backend-index.php @@ -28,10 +28,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - @@ -41,7 +37,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - @@ -53,22 +48,9 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - - - - - - - - - - diff --git a/backend/archive-ticket.php b/backend/archive-ticket.php index 931b809..31dbce1 100644 --- a/backend/archive-ticket.php +++ b/backend/archive-ticket.php @@ -81,10 +81,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -94,7 +90,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -106,22 +101,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -210,8 +192,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- -
@@ -223,7 +203,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){

Are you sure you want to achive this ticket?


- No + No
diff --git a/backend/archive.php b/backend/archive.php index b793799..6267f2f 100644 --- a/backend/archive.php +++ b/backend/archive.php @@ -30,10 +30,6 @@ require_once "../assets/php/cuttext.php"; - - - - @@ -43,7 +39,6 @@ require_once "../assets/php/cuttext.php"; - @@ -55,22 +50,9 @@ require_once "../assets/php/cuttext.php"; - - - - - - - - - - - - - @@ -163,7 +145,7 @@ require_once "../assets/php/cuttext.php";
- +

Ticket archive

diff --git a/backend/create-system.php b/backend/create-system.php index b3615cf..8c6bf75 100644 --- a/backend/create-system.php +++ b/backend/create-system.php @@ -175,7 +175,7 @@ mysqli_close($link);
- +

Create a system

diff --git a/backend/create-ticket.php b/backend/create-ticket.php index 6f4a127..5f05b63 100644 --- a/backend/create-ticket.php +++ b/backend/create-ticket.php @@ -28,10 +28,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - @@ -53,22 +49,9 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - - - - - - - - - - @@ -174,7 +157,7 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
- +

Create a ticket

diff --git a/backend/create-user.php b/backend/create-user.php index 98d232a..463ef29 100644 --- a/backend/create-user.php +++ b/backend/create-user.php @@ -119,10 +119,6 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ - - - - @@ -132,7 +128,6 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ - @@ -144,22 +139,9 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ - - - - - - - - - - - - - @@ -265,7 +247,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
- +

Create a users

diff --git a/backend/delete-achivedticket.php b/backend/delete-achivedticket.php index f56377b..7fba069 100644 --- a/backend/delete-achivedticket.php +++ b/backend/delete-achivedticket.php @@ -67,10 +67,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -80,7 +76,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -92,22 +87,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -200,7 +182,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- +

Delete ticket

@@ -209,7 +191,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){

Are you sure you want to delete this ticket?


- No + No
diff --git a/backend/delete-system.php b/backend/delete-system.php index 09c7eb9..0977c34 100644 --- a/backend/delete-system.php +++ b/backend/delete-system.php @@ -67,10 +67,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -80,7 +76,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -92,22 +87,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -200,7 +182,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- +

Delete System

@@ -209,7 +191,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){

Are you sure you want to delete this system?


- No + No
diff --git a/backend/delete-ticket.php b/backend/delete-ticket.php index da897af..eb670ee 100644 --- a/backend/delete-ticket.php +++ b/backend/delete-ticket.php @@ -67,10 +67,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -80,7 +76,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -92,22 +87,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -200,7 +182,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- +

Delete ticket

@@ -209,7 +191,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){

Are you sure you want to delete this ticket?


- No + No
diff --git a/backend/delete-user.php b/backend/delete-user.php index 714c450..6132c58 100644 --- a/backend/delete-user.php +++ b/backend/delete-user.php @@ -67,10 +67,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -80,7 +76,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -92,22 +87,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -200,7 +182,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- +

Delete user

@@ -209,7 +191,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){

Are you sure you want to delete this user?


- No + No
diff --git a/backend/edit-system.php b/backend/edit-system.php index da5dace..0b84902 100644 --- a/backend/edit-system.php +++ b/backend/edit-system.php @@ -197,10 +197,6 @@ $lines = explode("\n", $trimmedString); - - - - @@ -210,7 +206,6 @@ $lines = explode("\n", $trimmedString); - @@ -330,7 +325,7 @@ $lines = explode("\n", $trimmedString);
- +

system ID:

diff --git a/backend/edit-ticket.php b/backend/edit-ticket.php index 108b6a3..10dd087 100644 --- a/backend/edit-ticket.php +++ b/backend/edit-ticket.php @@ -157,10 +157,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - @@ -170,7 +166,6 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - @@ -182,22 +177,9 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){ - - - - - - - - - - - - - @@ -303,7 +285,7 @@ if(isset($_POST["id"]) && !empty($_POST["id"])){
- +

Ticket ID:

diff --git a/backend/error.php b/backend/error.php index f8ba381..e65cc89 100644 --- a/backend/error.php +++ b/backend/error.php @@ -9,7 +9,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ ?> - SYSDesk @@ -28,10 +27,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - @@ -41,7 +36,6 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - @@ -53,22 +47,9 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){ - - - - - - - - - - - - - @@ -163,7 +144,7 @@ if(!isset($_SESSION["loggedin"]) || $_SESSION["loggedin"] !== true){
Somting went wrong
"; + echo "

Something went wrong

"; } if($_REQUEST['error'] == 'sdne') { echo "

Sorry, but this system does not exist

"; diff --git a/backend/reset-password.php b/backend/reset-password.php index c2317c7..eb576d3 100644 --- a/backend/reset-password.php +++ b/backend/reset-password.php @@ -101,7 +101,6 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){ - @@ -160,7 +159,7 @@ if($_SERVER["REQUEST_METHOD"] == "POST"){
diff --git a/backend/systems.php b/backend/systems.php index 055132b..c574ca9 100644 --- a/backend/systems.php +++ b/backend/systems.php @@ -31,10 +31,6 @@ require_once "../assets/php/cuttext.php"; - - - - @@ -44,7 +40,6 @@ require_once "../assets/php/cuttext.php"; - @@ -57,23 +52,10 @@ require_once "../assets/php/cuttext.php"; - - - - - - - - - - - - - diff --git a/backend/tickets.php b/backend/tickets.php index 11486ba..1d6d65f 100644 --- a/backend/tickets.php +++ b/backend/tickets.php @@ -30,10 +30,6 @@ require_once "../assets/php/cuttext.php"; - - - - @@ -43,7 +39,6 @@ require_once "../assets/php/cuttext.php"; - @@ -55,22 +50,9 @@ require_once "../assets/php/cuttext.php"; - - - - - - - - - - - - - diff --git a/backend/users.php b/backend/users.php index 26f709a..6215ea2 100644 --- a/backend/users.php +++ b/backend/users.php @@ -30,10 +30,6 @@ require_once "../assets/php/cuttext.php"; - - - - @@ -43,7 +39,6 @@ require_once "../assets/php/cuttext.php"; - @@ -55,22 +50,9 @@ require_once "../assets/php/cuttext.php"; - - - - - - - - - - - - - diff --git a/backend/view-achivedticket.php b/backend/view-achivedticket.php index 4cf0403..d4e17e4 100644 --- a/backend/view-achivedticket.php +++ b/backend/view-achivedticket.php @@ -74,10 +74,6 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - - - - @@ -87,7 +83,6 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - @@ -99,22 +94,9 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - - - - - - - - - - - - - @@ -208,7 +190,7 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){
- + "; ?> diff --git a/backend/view-system.php b/backend/view-system.php index 590c90e..e6e9de0 100644 --- a/backend/view-system.php +++ b/backend/view-system.php @@ -216,7 +216,7 @@ if(isset($_GET["sysID"]) && !empty(trim($_GET["sysID"]))){
- + "; diff --git a/backend/view-ticket.php b/backend/view-ticket.php index 0729183..7a2c6f5 100644 --- a/backend/view-ticket.php +++ b/backend/view-ticket.php @@ -74,10 +74,6 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - - - - @@ -87,7 +83,6 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - @@ -99,22 +94,9 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){ - - - - - - - - - - - - - @@ -208,7 +190,7 @@ if(isset($_GET["id"]) && !empty(trim($_GET["id"]))){
- + "; echo " ";