diff options
17 files changed, 132 insertions, 0 deletions
diff --git a/.zfproject.xml b/.zfproject.xml index 5f9c531..5724941 100644 --- a/.zfproject.xml +++ b/.zfproject.xml @@ -243,6 +243,9 @@ </controllerFile> <controllerFile controllerName="Client"> <actionMethod actionName="index"/> + <actionMethod actionName="addclient"/> + <actionMethod actionName="removeclient"/> + <actionMethod actionName="editclient"/> </controllerFile> <controllerFile controllerName="Config"> <actionMethod actionName="index"/> @@ -252,6 +255,11 @@ </controllerFile> <controllerFile controllerName="Pool"> <actionMethod actionName="index"/> + <actionMethod actionName="createpool"/> + <actionMethod actionName="deletepool"/> + <actionMethod actionName="editpool"/> + <actionMethod actionName="linkclient"/> + <actionMethod actionName="unlinkclient"/> </controllerFile> </controllersDirectory> <formsDirectory> @@ -299,6 +307,30 @@ <viewControllerScriptsDirectory forControllerName="Pool"> <viewScriptFile forActionName="index"/> </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Client"> + <viewScriptFile forActionName="addclient"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Client"> + <viewScriptFile forActionName="removeclient"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Client"> + <viewScriptFile forActionName="editclient"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Pool"> + <viewScriptFile forActionName="createpool"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Pool"> + <viewScriptFile forActionName="deletepool"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Pool"> + <viewScriptFile forActionName="editpool"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Pool"> + <viewScriptFile forActionName="linkclient"/> + </viewControllerScriptsDirectory> + <viewControllerScriptsDirectory forControllerName="Pool"> + <viewScriptFile forActionName="unlinkclient"/> + </viewControllerScriptsDirectory> </viewScriptsDirectory> <viewHelpersDirectory/> <viewFiltersDirectory/> diff --git a/application/modules/user/controllers/ClientController.php b/application/modules/user/controllers/ClientController.php index 54280f4..cb139d5 100644 --- a/application/modules/user/controllers/ClientController.php +++ b/application/modules/user/controllers/ClientController.php @@ -13,6 +13,27 @@ class User_ClientController extends Zend_Controller_Action // action body } + public function addclientAction() + { + // action body + } + + public function removeclientAction() + { + // action body + } + + public function editclientAction() + { + // action body + } + } + + + + + + diff --git a/application/modules/user/controllers/PoolController.php b/application/modules/user/controllers/PoolController.php index caa7dd4..cf4dfe7 100644 --- a/application/modules/user/controllers/PoolController.php +++ b/application/modules/user/controllers/PoolController.php @@ -13,6 +13,41 @@ class User_PoolController extends Zend_Controller_Action // action body } + public function createpoolAction() + { + // action body + } + + public function deletepoolAction() + { + // action body + } + + public function editpoolAction() + { + // action body + } + + public function linkclientAction() + { + // action body + } + + public function unlinkclientAction() + { + // action body + } + } + + + + + + + + + + diff --git a/application/modules/user/views/scripts/client/addclient.phtml b/application/modules/user/views/scripts/client/addclient.phtml new file mode 100644 index 0000000..9d1c04e --- /dev/null +++ b/application/modules/user/views/scripts/client/addclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>addclient</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/client/editclient.phtml b/application/modules/user/views/scripts/client/editclient.phtml new file mode 100644 index 0000000..5092e5b --- /dev/null +++ b/application/modules/user/views/scripts/client/editclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>editclient</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/client/removeclient.phtml b/application/modules/user/views/scripts/client/removeclient.phtml new file mode 100644 index 0000000..97254f6 --- /dev/null +++ b/application/modules/user/views/scripts/client/removeclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Client</b> and script/action name <b>removeclient</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/index/index.phtml b/application/modules/user/views/scripts/index/index.phtml index 57e6edb..f4feaa0 100644 --- a/application/modules/user/views/scripts/index/index.phtml +++ b/application/modules/user/views/scripts/index/index.phtml @@ -1 +1,2 @@ <h1>Welcome</h1> +<div class='infobox'>nothing to see here</div> diff --git a/application/modules/user/views/scripts/pool/createpool.phtml b/application/modules/user/views/scripts/pool/createpool.phtml new file mode 100644 index 0000000..3d7f8ca --- /dev/null +++ b/application/modules/user/views/scripts/pool/createpool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>createpool</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/pool/deletepool.phtml b/application/modules/user/views/scripts/pool/deletepool.phtml new file mode 100644 index 0000000..622e663 --- /dev/null +++ b/application/modules/user/views/scripts/pool/deletepool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>deletepool</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/pool/editpool.phtml b/application/modules/user/views/scripts/pool/editpool.phtml new file mode 100644 index 0000000..c70464e --- /dev/null +++ b/application/modules/user/views/scripts/pool/editpool.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>editpool</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/pool/linkclient.phtml b/application/modules/user/views/scripts/pool/linkclient.phtml new file mode 100644 index 0000000..a2f9a6c --- /dev/null +++ b/application/modules/user/views/scripts/pool/linkclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>linkpool</b></center>
\ No newline at end of file diff --git a/application/modules/user/views/scripts/pool/unlinkclient.phtml b/application/modules/user/views/scripts/pool/unlinkclient.phtml new file mode 100644 index 0000000..e1d5397 --- /dev/null +++ b/application/modules/user/views/scripts/pool/unlinkclient.phtml @@ -0,0 +1 @@ +<br /><br /><center>View script for controller <b>Pool</b> and script/action name <b>unlinkpool</b></center>
\ No newline at end of file diff --git a/public/media/css/style.css b/public/media/css/style.css index 183baac..57b3552 100644 --- a/public/media/css/style.css +++ b/public/media/css/style.css @@ -235,3 +235,38 @@ tr td.action{ td.action img{border:none;} .clear{clear:both;} .footer{text-align:right;font-size:10px;font-family:Verdana, Arial;padding:10px 0px 10px 0px;} + +/* boxes */ +.checkbox, .warningbox, .errorbox, .infobox { + margin:10px 0px; + padding:10px 10px 10px 40px; + border-width:1px; + color:#555; +} +.checkbox a, .warningbox a, .errorbox a{ + color:#555; +} +.infobox a{ + color:#777; +} +.warningbox{ + border:1px solid #CCC; + background: #FFFFAA url('/media/img/box_warning.png') no-repeat; + background-position:10px center; +} +.errorbox{ + border:1px solid #990000; + background: #FF9999 url('/media/img/box_error.png') no-repeat; + background-position:10px center; +} +.checkbox{ + border:1px solid #339933; + background: #BBFFBB url('/media/img/box_check.png') no-repeat; + background-position:10px center; +} +.infobox{ + border:1px solid #CCC; + background: #FFFFFF url('/media/img/box_info.png') no-repeat; + background-position:10px center; + color:#777; +} diff --git a/public/media/img/box_check.png b/public/media/img/box_check.png Binary files differnew file mode 100644 index 0000000..65aaea6 --- /dev/null +++ b/public/media/img/box_check.png diff --git a/public/media/img/box_error.png b/public/media/img/box_error.png Binary files differnew file mode 100644 index 0000000..a5186cb --- /dev/null +++ b/public/media/img/box_error.png diff --git a/public/media/img/box_info.png b/public/media/img/box_info.png Binary files differnew file mode 100644 index 0000000..a31fb3e --- /dev/null +++ b/public/media/img/box_info.png diff --git a/public/media/img/box_warning.png b/public/media/img/box_warning.png Binary files differnew file mode 100644 index 0000000..57df115 --- /dev/null +++ b/public/media/img/box_warning.png |