diff --git a/db/mariadb.sql b/db/mariadb.sql index ce37a13..e2c1ed0 100644 --- a/db/mariadb.sql +++ b/db/mariadb.sql @@ -134,7 +134,7 @@ CREATE TABLE equipment ( ecat tinyint(3) DEFAULT NULL, serial varchar(30), supplier smallint(6) DEFAULT NULL, - manufacturer smallint(6) DEFAULT NULL, + manufacturer smallint(6) DEFAULT NULL, // -3: original; -4: own built purchdate date DEFAULT NULL, price decimal(12,2) DEFAULT NULL, weight float(5,2) UNSIGNED DEFAULT NULL, @@ -159,9 +159,7 @@ CREATE TABLE inventory ( PRIMARY KEY (invid), INDEX ix_invname (invname) ); -/* - TODO: unit -> unit1, unit2, unit3 - */ + CREATE TABLE measurement ( mid smallint(6) NOT NULL AUTO_INCREMENT, mtype enum('generic','cable','fuse') NOT NULL default 'generic', diff --git a/webgui/box.php b/webgui/box.php index bf249ec..f2ab367 100644 --- a/webgui/box.php +++ b/webgui/box.php @@ -14,6 +14,8 @@ There can be a difference because not all items have a weight entered */ require 'globals.inc'; +require 'lib/gpc.inc'; + $pagetitle = _('Boxes'); $id = gpc_get_int($_REQUEST, 'id', 0); diff --git a/webgui/checklist.php b/webgui/checklist.php index 746d94d..9f04b7e 100644 --- a/webgui/checklist.php +++ b/webgui/checklist.php @@ -1,12 +1,14 @@ $v) { ?> -
', sprintf(_('Record no. %d'), $id), "
Dokument: ', $document->filename, "
Title: ', $document->title, "
References: ', $nref, "
\n"; echo '
', _('Deleting a document item is final. There is no way back. Only delete if you are absolute sure.'), "
'; + echo "\n"; + echo ''; + echo ''; switch ($e->getCode()) { case 2002: echo "Unable to connect to database, perhaps host info is wrong.\n"; @@ -87,7 +89,8 @@ try { default: print_r($e); } - echo ''; + echo '
'; switch ($e->getCode()) { case 2002: echo "Unable to connect to database, perhaps host info is wrong.\n"; @@ -87,7 +89,8 @@ try { default: print_r($e); } - echo '
'; echo 'Settings table not found! Perhaps database is not initialized'; echo '
Hinweis: Es handelt sich hier um einen Prototyp!
+ +Hinweis: Es handelt sich hier um einen Prototypen! +Einige Funktionen sind noch nicht oder nicht vollständig implementiert. +Rückmeldungen sind immer willkommen!
Benutzer können nicht über die Web-GUI eingerichtet werden.
Eine Kennwortänderung ist ebenfalls nicht über die Web-GUI möglich.
Es gibt die Berechtigungsebenen Kapitän (captain), Steuermann (helmsman) und Matrose (sailor). diff --git a/webgui/measurement.php b/webgui/measurement.php index 8c9fc8e..af09d5b 100644 --- a/webgui/measurement.php +++ b/webgui/measurement.php @@ -1,12 +1,14 @@ ". $row['projname'] ."\n"; echo "
", _('No assigned tasks found.'),"