Commit Graph

43 Commits

Author SHA1 Message Date
6fc66ffb78 limit the dropdowns in device and computer forms 2021-12-30 14:57:47 +01:00
ba40df90b5 fix a typo 2021-12-26 16:09:56 +01:00
b78780555d rename util function to retrieve objects 2021-12-24 12:48:56 +01:00
554a6f874d rewrite CustomerCreateView to FBV 2021-12-23 22:44:31 +01:00
8be3a2251e add a util to get objects 2021-12-23 22:12:14 +01:00
ffae6e4ac6 add a custom function for view_permissions 2021-12-23 19:28:47 +01:00
2ff96a4976 refactor customer_detail_view 2021-12-23 19:14:20 +01:00
3e14c00220 remove unused import 2021-12-23 19:02:58 +01:00
c49fa57994 implement the object permission directly 2021-12-23 19:02:18 +01:00
3f206daaf4 rewrite CustomerDetailView to a FBV 2021-12-23 18:50:03 +01:00
52bdd8efae PEP8 2021-12-23 18:38:00 +01:00
c99e54049c use TemplateResponse in htmx_create_customer 2021-12-23 15:24:50 +01:00
7945dadd65 Fix the customer delete view 2021-12-23 15:11:41 +01:00
478c07160e Add a slight hack to reload the page after success 2021-12-23 15:10:29 +01:00
c1fbf81bd4 rewrite htmx test to FBV 2021-12-22 19:14:18 +01:00
381c5c9568 make customer names unique 2021-12-22 19:13:44 +01:00
1573d148ad fix the form 2021-12-21 18:17:58 +01:00
ba3e40f1c2 create a first working example 2021-12-21 17:51:57 +01:00
Andreas Zweili
746054c295 make all tables responsive 2020-08-03 21:10:05 +02:00
Andreas Zweili
9bc3873317 make the delete column unsortable 2020-08-03 17:37:08 +02:00
Andreas Zweili
f57b3a7baf add delete button to customers table 2020-08-03 16:35:36 +02:00
Andreas Zweili
a0191b6dc2 PEP8 2020-08-03 13:41:49 +02:00
Andreas Zweili
0ae6a6688e extend the models with 'ordering' 2020-07-07 22:12:57 +02:00
Andreas Zweili
17a67fda8c correct the order of the customer fields 2020-06-09 21:43:34 +02:00
Andreas Zweili
c07eb4cb99 match the customer details page to the rest of the application 2020-06-08 21:12:42 +02:00
Andreas Zweili
459771924c move the description field to the base Company model 2020-06-08 21:07:40 +02:00
Andreas Zweili
15091da2ef rename the customer form view tests file 2020-05-24 18:05:44 +02:00
Andreas Zweili
37915ad039 add a button to create a customer 2020-05-23 14:18:16 +02:00
Andreas Zweili
17053f586b remove the ConnectedDevice model 2020-05-03 21:48:40 +02:00
Andreas Zweili
6dd0e38513 remove the names of some overly large capitalists
These companies already have far too much money at their disposal.
They might profit from the free advertising appearing in this
repository and we wouldn't want that wouldn't we?
2020-03-15 19:54:43 +01:00
Andreas Zweili
e188b3e4f7 remove emtpy line 2020-02-29 21:08:18 +01:00
Andreas Zweili
0b17943e2a split parameters over multiple lines 2020-02-29 21:07:52 +01:00
Andreas Zweili
0cb8023204 split paremeters over multiple lines 2020-02-29 21:07:22 +01:00
Andreas Zweili
09d3e522ac implemente the utils.get_customers function 2020-02-29 15:48:29 +01:00
Andreas Zweili
ddb8dc2bba remove all the table templates with a single settings option 2020-02-23 12:59:20 +01:00
Andreas Zweili
9c0938b420 add a CoreTable class to inherit all tables from 2020-02-23 12:58:39 +01:00
Andreas Zweili
3e4dc37cb6 add the Location model to the admin interface 2020-02-16 00:16:16 +01:00
Andreas Zweili
47b1f81a89 add ConnectedDevice views 2020-02-15 18:50:51 +01:00
Andreas Zweili
af310cdd0d correct the path for the base template 2020-01-11 17:41:03 +01:00
Andreas Zweili
e167aefc03 correct template paths 2020-01-11 17:00:42 +01:00
Andreas Zweili
7582507753 clean up the templates 2020-01-11 16:58:30 +01:00
Andreas Zweili
e3d1d73db9 split the project into more apps 2020-01-10 00:01:06 +01:00
Andreas Zweili
45476984d9 rename customer app to customers 2020-01-09 21:59:37 +01:00