I was able to adopt your sample to the "configurations" area.
It works quite well :) however there are some minor issues remaining
that will affect all admin sections:
 - "New Record" label is not hidden after save,
 - If you press delete the yellow "Loading" in the top right is shown,
if you press cancel, the yellow "Loading" stays (but there is nothing
loading at this moment)
 - If you add a new user there is no confirmation or view change, so
you actually do not know if the new record was saved successfully or
not. I would suggest adding the total numbers of records on the bottom
of every table, if you add a new one, the number will increase by +1
and you got your confirmation that the add operation was done.

I will try to complete some of the other admin sections.

Sebastian

2012/9/22 [email protected] <[email protected]>:
> Hi Maxim,
>
> I saw your last commit, still studying it :)
>
> One thing we might should consider is using InnoDB as default, as it
> supports foreign key constraints.
> For example the delete Organisation cannot work, there are references
> in the table "rooms_organisation".
> While we are currently using MyISAM we do not recognizes it, if
> switching to InnoDB or Postgres you migth immediately see that it does
> not work.
>
> We might also discuss which of the tables we are going to actually
> really delete and which ones we only flag as deleted.
> I think organizations can be deleted "Hard".
> Further "Hard delete": configurations, ldapconfigs, servers
> But it will not work for users, rooms.
> It might makes sense to argue that rooms should be deletable to free
> up server space cause a deleted room has assigned room files that you
> might want to get rid of to free your disk. However there are also so
> many other referenced tables with records that should not be deleted
> at all when deleting a room record so that I doubt that it makes sense
> to put time into this complexity now.
>
> What do you think?
>
> Sebastian
> --
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> [email protected]



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.webbase-design.de
http://www.wagner-sebastian.com
[email protected]

Reply via email to