From 9714f3d8cc311f3b75a4727156de2ab33cf3895e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 27 Jul 2016 16:28:19 +0200 Subject: Removed redundant whitespace & retab --- include/clients-overview.php | 190 +++++++++++++++++++++---------------------- 1 file changed, 95 insertions(+), 95 deletions(-) (limited to 'include/clients-overview.php') diff --git a/include/clients-overview.php b/include/clients-overview.php index 58fad49..860e671 100644 --- a/include/clients-overview.php +++ b/include/clients-overview.php @@ -2,17 +2,17 @@ /** * BusinessAdmin: administrative software for small companies * Copyright (C) 2015 Camil Staps (ViviSoft) - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ @@ -21,102 +21,102 @@ require_once('./login.php'); ?>
-
-
Overview
-
- - - - - - - - - - id}' - data-mixer-order-name='{$client->name}'> - - - - "; - } - if (count($clients) == 0) { - echo ""; - } - ?> - -
#NameTools
{$client->id} - - {$client->name} - - - - -
There are no clients in the database. Why not start with creating one, on the right?
-
-
+
+
Overview
+
+ + + + + + + + + + id}' + data-mixer-order-name='{$client->name}'> + + + + "; + } + if (count($clients) == 0) { + echo ""; + } + ?> + +
#NameTools
{$client->id} + + {$client->name} + + + + +
There are no clients in the database. Why not start with creating one, on the right?
+
+
-
-
Create new
-
-
-
-
- - -
- -
- -
-
+ // Callback for when form submission encountered an error + function newClientError() { + $('#newClient .ajaxify-response') + .addClass('alert-danger') + .show() + .find('.ajaxify-response-text') + .html('An unknown error occurred. Please contact support.'); + + $('#newClient input, #newClient button').prop('disabled', false); + $('#newClient').data('bootstrapValidator').resetForm(); + } + +
+ -- cgit v1.2.3