From 039c884bf67f80f41ea73d77a1c4eb8402e4407c Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Fri, 9 Jan 2015 17:39:33 +0700 Subject: [PATCH] refactor --- .../actions/clinic_account_setting.xml | 9 ++++ netforce_clinic/actions/clinic_setting.xml | 5 +- .../layouts/clinic_account_setting.xml | 30 ++++++++++++ .../layouts/clinic_menu_inherit.xml | 4 +- netforce_clinic/layouts/clinic_setting.xml | 47 ++----------------- .../layouts/clinic_sickbed_form.xml | 1 + netforce_clinic/layouts/clinic_staff_list.xml | 2 +- netforce_clinic/models/sickbed.py | 1 + netforce_clinic/todo.txt | 13 ++--- 9 files changed, 54 insertions(+), 58 deletions(-) create mode 100644 netforce_clinic/actions/clinic_account_setting.xml create mode 100644 netforce_clinic/layouts/clinic_account_setting.xml diff --git a/netforce_clinic/actions/clinic_account_setting.xml b/netforce_clinic/actions/clinic_account_setting.xml new file mode 100644 index 0000000..b643066 --- /dev/null +++ b/netforce_clinic/actions/clinic_account_setting.xml @@ -0,0 +1,9 @@ + + clinic_account_setting + form_view + clinic.setting + 1 + clinic_account_setting + account_menu + + diff --git a/netforce_clinic/actions/clinic_setting.xml b/netforce_clinic/actions/clinic_setting.xml index 7dac94f..7e6d456 100644 --- a/netforce_clinic/actions/clinic_setting.xml +++ b/netforce_clinic/actions/clinic_setting.xml @@ -1,10 +1,9 @@ clinic_setting - Settings - form_view + form_view clinic.setting - form 1 + clinic_setting clinic_menu diff --git a/netforce_clinic/layouts/clinic_account_setting.xml b/netforce_clinic/layouts/clinic_account_setting.xml new file mode 100644 index 0000000..02b4b80 --- /dev/null +++ b/netforce_clinic/layouts/clinic_account_setting.xml @@ -0,0 +1,30 @@ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/netforce_clinic/layouts/clinic_menu_inherit.xml b/netforce_clinic/layouts/clinic_menu_inherit.xml index 601e83c..7029e07 100644 --- a/netforce_clinic/layouts/clinic_menu_inherit.xml +++ b/netforce_clinic/layouts/clinic_menu_inherit.xml @@ -11,8 +11,8 @@ -
- +
+ diff --git a/netforce_clinic/layouts/clinic_setting.xml b/netforce_clinic/layouts/clinic_setting.xml index 8127c2a..2bdff22 100644 --- a/netforce_clinic/layouts/clinic_setting.xml +++ b/netforce_clinic/layouts/clinic_setting.xml @@ -23,48 +23,7 @@ - - - - - - - - - - - - - - -
- - - - - - - - - -
- - - + @@ -73,12 +32,14 @@ -