20524c20d4
remove the get_objects util
2021-12-24 13:12:07 +01:00
f901999aee
make get_customers an internal function
2021-12-24 12:55:34 +01:00
c648fd1874
replace decorator with generic util
2021-12-24 12:42:36 +01:00
f9212d2cbe
rewrite the computers_table_view to use the new util
2021-12-24 12:32:48 +01:00
Andreas Zweili
d2c5c03d12
make sure that the description columns get wrapped properly
2020-08-03 21:35:20 +02: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
fec98db1b8
add delete button to computers table
2020-08-03 16:35:10 +02:00
Andreas Zweili
a0191b6dc2
PEP8
2020-08-03 13:41:49 +02:00
Andreas Zweili
9f948fe396
add create and delete views for RAIDs
2020-06-29 22:43:39 +02:00
Andreas Zweili
72b8c86a98
add create and delete views for backups
2020-06-29 13:36:12 +02:00
Andreas Zweili
16fc66385f
add form to delete a ComputerSoftwareRelation
2020-06-28 19:12:49 +02:00
Andreas Zweili
5640d0ab3f
PEP8
2020-06-28 19:08:14 +02:00
Andreas Zweili
61d966f785
add a form to create a ComputerSoftwareRelation
2020-06-28 19:04:55 +02:00
Andreas Zweili
d08a1f0557
add a quick way to add a host and the OS
...
it might be nice to have a seperate form for both of them however this is just
much quicker to add and when I limit the hosts they will be limited here as
well. So for the moment this is good enough.
2020-06-28 17:17:39 +02:00
Andreas Zweili
960a698c36
add tests for all the hardware forms
2020-06-15 22:53:33 +02:00
Andreas Zweili
5c69552c50
correct the urls for the hardware forms
2020-06-15 22:53:16 +02:00
Andreas Zweili
49fc10a4dd
add forms and views for the ComputerDiskRelation
2020-06-15 21:39:58 +02:00
Andreas Zweili
1ddf0a23e6
add forms and views for the ComputerGpuRelation
2020-06-15 21:39:31 +02:00
Andreas Zweili
3311619ef7
add forms and views for the ComputerCpuRelation
2020-06-15 21:38:21 +02:00
Andreas Zweili
1aa48a7109
make the confirmation template generic
2020-06-15 21:36:41 +02:00
Andreas Zweili
7717255f18
add delete and create views for the ram relation
2020-06-09 21:59:20 +02:00
Andreas Zweili
29f869ea78
add various create buttons to the computer detail view
2020-06-08 22:11:49 +02:00
Andreas Zweili
afd1320a91
Merge branch 'master' into clean-out-computer-forms
2020-06-08 17:03:46 +02:00
Andreas Zweili
e79eba2828
show all models in the admin interface
...
Since we decided to create many forms in the frontend the admin interface
should really be a way to access all models even the ones which aren't
accessible from the front end.
2020-06-08 17:02:15 +02:00
Andreas Zweili
ef8fbf1b1c
fix the test_computer_update_form test
2020-05-31 15:50:29 +02:00
Andreas Zweili
52d438a96f
add tests for the computer views
2020-05-26 23:26:44 +02:00
Andreas Zweili
94381045c4
add ComputerDeleteView
2020-05-26 23:26:31 +02:00
Andreas Zweili
19eae6768a
remove the various formsets from the computer forms
...
The formsets are currently just too much of a hasle. I can do 90% of the
functionality I want without them and don't have problems with adding a new
relationship everytime I'm updating the computer object.
2020-05-26 23:25:21 +02:00
Andreas Zweili
58ee81791e
add test_computer_create_view
2020-05-26 22:37:18 +02:00
Andreas Zweili
d2784a6534
match string representations to the project standard
2020-05-26 22:26:30 +02:00
Andreas Zweili
5610e8d1ca
change the string representation for raid to the project standard
2020-05-26 22:09:47 +02:00
Andreas Zweili
61bbe30a3d
add a Cancel button to the computer_create template
2020-05-04 09:41:22 +02:00
Andreas Zweili
e1a5c572d8
move each IP into it's own table row
...
there where too many complications with creating the urls and the various
buttons. This way may be a bit less pretty but for the moments it's a much
stabler way
2020-05-03 22:10:11 +02:00
Andreas Zweili
17053f586b
remove the ConnectedDevice model
2020-05-03 21:48:40 +02:00
Andreas Zweili
1279311055
add missing csrf tokens
2020-05-02 22:28:07 +02:00
Andreas Zweili
c4f9f597e2
add a WarrantyCreateView
2020-05-01 16:57:38 +02:00
Andreas Zweili
7bf0c4ff0a
remove unnecessary code
2020-05-01 16:12:01 +02:00
Andreas Zweili
30daf62383
add a comment to the Create forms
2020-05-01 16:11:47 +02:00
Andreas Zweili
5c980718ee
order the computer view imports alphabetically
2020-05-01 13:08:57 +02:00
Andreas Zweili
7268d4eb00
correct indentation
2020-04-30 15:44:52 +02:00
Andreas Zweili
6effe5fea4
move the div element outside of the if block
2020-04-30 15:44:24 +02:00
Andreas Zweili
ac4be915a1
correct the gpu test
2020-04-30 15:43:58 +02:00
Andreas Zweili
308d05ceae
exend the cpu test
2020-04-30 15:43:48 +02:00
Andreas Zweili
f1b280e7cf
add a GPU model
2020-04-30 15:40:00 +02:00
Andreas Zweili
61d1ee5ebc
add two generic CPUs to the fixtures
2020-04-30 14:49:29 +02:00
Andreas Zweili
6198db4679
make various fields optional for the CPU model
2020-04-30 14:49:04 +02:00
Andreas Zweili
a905e350d6
rename the computer form tests
2020-04-27 21:27:58 +02:00
Andreas Zweili
8b65902abe
remove user from test_computer_update_form
2020-04-21 18:50:04 +02:00
Andreas Zweili
b5013d8b36
add RamFormSet
2020-03-17 23:03:24 +01:00