Commit Graph

  • c049133d83 Almost full functionality implemented. Missing: * discarding products * list discarded products * autocompletion of tag and field names * datepicker * expand search grammar Erik Thuning 2018-09-05 17:14:18 +02:00
  • 0ce81fabcc Minor style tweak Erik Thuning 2018-09-05 17:10:31 +02:00
  • d1da09b083 Client-side functionality Erik Thuning 2018-09-05 17:08:56 +02:00
  • 03d36ec1a0 Moved ajax handling into a normal Page subclass instead of special handling in index.php Erik Thuning 2018-09-05 17:08:17 +02:00
  • 520b42b617 Fixed a bug. Erik Thuning 2018-09-05 17:07:55 +02:00
  • 816103a4f0 Added a field in the product table to track discarded products Erik Thuning 2018-09-05 16:59:17 +02:00
  • e84fc82d78 Added an inventory page and some minor tweaks Erik Thuning 2018-08-22 16:52:49 +02:00
  • 645ed068af Added an inventory class and some minor other things Erik Thuning 2018-08-22 16:51:28 +02:00
  • 164cf24a96 Added an explicit width for text fields and areas Erik Thuning 2018-08-22 16:50:32 +02:00
  • e439aeb8ac Minor tweaks Erik Thuning 2018-08-22 16:50:13 +02:00
  • 1015dd71cc Added fragments for inventory and made some minor style tweaks Erik Thuning 2018-08-22 16:49:26 +02:00
  • feb260c73d Renamed an inventory table and added a primary key Erik Thuning 2018-08-22 16:48:15 +02:00
  • 6701c17c5c Added tables for inventory taking. Erik Thuning 2018-08-22 11:24:51 +02:00
  • 570c5ebe84 Added position:relative to #contents for use by error messages Erik Thuning 2018-08-21 16:41:16 +02:00
  • c09005e9c7 Lots of new selectors Erik Thuning 2018-08-21 16:40:53 +02:00
  • 16fefe0002 Too many changes. Added new pages and lots of tweaks Erik Thuning 2018-08-21 16:39:38 +02:00
  • 5d619f8045 Minor wording change to a thrown exception Erik Thuning 2018-08-21 16:39:13 +02:00
  • cdd087e098 Fragments arenow trimmed Erik Thuning 2018-08-21 16:37:42 +02:00
  • 8487c11e66 Several changes: * updated search to work in the middle of strings and not just the beginning * changed all references to the 'active' column to reflect database change * added a function to get the loan history for a product * fixed a bug in the user class so that objects can be created both from ID and username * stop returning IDs instead of objects * order returned loans by most recent * removed default argument to create_user() Erik Thuning 2018-08-21 16:32:57 +02:00
  • 6d1ccaa119 A bunch of new fragments Erik Thuning 2018-08-21 16:32:23 +02:00
  • c4fa57a3c1 Refactored the database to have an explicit return date for inactive loans Erik Thuning 2018-08-21 16:31:15 +02:00
  • 511b624879 Minor tweaks. Erik Thuning 2018-08-15 18:27:04 +02:00
  • b00685300d Changed 'action' to 'page' in GET parameters in order to make semantics clearer. Erik Thuning 2018-08-15 18:26:23 +02:00
  • 3e1213976b Moved some free functions into the Page class. Updated all uses of 'action' to 'page' in GET parameters and related logic. Added a ProductPage subclass. Minor tweaks. Erik Thuning 2018-08-15 18:22:35 +02:00
  • 8f570392ff Removed function search_name, since it is no longer in usee. Erik Thuning 2018-08-15 18:19:52 +02:00
  • 97d729df0e Refactored search_users to primarily rely on the local user table. Added function get_items for easy access to all items of a type. Erik Thuning 2018-08-15 18:18:24 +02:00
  • 5b35de9ef7 Added new fragments and changed 'action' to 'page' in GET parameters Erik Thuning 2018-08-15 18:16:58 +02:00
  • 106aeff307 Site-specific tweaks to the theme Erik Thuning 2018-08-15 18:15:57 +02:00
  • 6cb0c8d784 Added the ability for the search field to retain its contents. Changed 'action' to 'page' in GET parameters Erik Thuning 2018-08-15 18:14:49 +02:00
  • af00f2dae5 Slowly getting things in place Erik Thuning 2018-07-19 05:48:24 +02:00
  • 8b134e3183 Starting to get the view bits in order Erik Thuning 2018-07-18 16:36:58 +02:00
  • e4faabc42e Updated the html/css Erik Thuning 2018-07-18 16:35:29 +02:00
  • 9982ede3e3 Added menu background image Erik Thuning 2018-07-18 16:34:51 +02:00
  • b554de47ac Adding classes for the different views Erik Thuning 2018-07-11 16:46:28 +02:00
  • b31e9383ff TEsting things out Erik Thuning 2018-07-11 16:46:10 +02:00
  • a33f8172f6 REmoved format_page function and refactored get_fragments Erik Thuning 2018-07-11 16:45:43 +02:00
  • f5d66367d1 Added a menu div Erik Thuning 2018-07-11 16:44:02 +02:00
  • a2973813dc Removed traces of localization Erik Thuning 2018-07-11 16:05:26 +02:00
  • b30abf7592 Removed localization files Erik Thuning 2018-07-11 15:47:52 +02:00
  • cf328d63dc Renamed a file Erik Thuning 2018-07-11 15:33:00 +02:00
  • bb74aa1d4b Removed localization support. Erik Thuning 2018-07-11 15:32:26 +02:00
  • c869301498 LDAP functions wrapper class Erik Thuning 2018-07-11 15:21:56 +02:00
  • 48a1abc031 Database structure added Erik Thuning 2018-07-11 15:21:07 +02:00
  • 1aa8b192c4 Remove unnecessary exit(1) statement. Erik Thuning 2018-07-11 15:20:29 +02:00
  • 60f04041c2 Changes: - Changed the location field of products to a serial field in accordance with the db model - removed unnecessary if clauses - significantly expanded available functions Erik Thuning 2018-07-11 15:17:00 +02:00
  • 49fb4935cc Changed the location field of products to be a serial field, and minor tweaks Erik Thuning 2018-07-11 15:14:57 +02:00
  • b7457486db Excluding test files Erik Thuning 2018-07-11 15:12:50 +02:00
  • 7b37e61a59 First version of db object wrappers done Erik Thuning 2018-07-10 14:43:20 +02:00
  • 3f1b4727e6 Slight model update Erik Thuning 2018-07-10 14:42:52 +02:00
  • 4f53784604 Minor tweak Erik Thuning 2018-07-10 14:42:19 +02:00
  • 817ca80082 Doing things Erik Thuning 2018-07-04 16:51:57 +02:00
  • f0b664d559 Doing stuff Erik Thuning 2018-07-04 16:50:40 +02:00
  • f6bad2d2d9 Initial commit Erik Thuning 2018-07-04 11:27:24 +02:00