Add user dashboard page without content yet

FEA: ItEr76S28UserDashboard
This commit is contained in:
Manuel Rego Casasnovas 2012-05-11 11:40:14 +02:00
parent 12796f778c
commit 40d8e00111
2 changed files with 35 additions and 1 deletions

View file

@ -357,7 +357,8 @@ public class CustomMenuController extends Div implements IMenuItemsRegister {
subItem(_("Task Scheduling Status In Project"),"/reports/workingArrangementsPerOrderReport.zul","15-informes.html"),
subItem(_("Materials Needs At Date"),"/reports/timeLineMaterialReport.zul","15-informes.html"));
topItem(_("My account"), "/myaccount/settings.zul", "",
topItem(_("My account"), "/myaccount/userDashboard.zul", "",
subItem(_("My dashboard"), "/myaccount/userDashboard.zul", ""),
subItem(_("Settings"), "/myaccount/settings.zul", ""),
subItem(_("Change Password"), "/myaccount/changePassword.zul", ""));
}

View file

@ -0,0 +1,33 @@
<!--
This file is part of LibrePlan
Copyright (C) 2012 Igalia, S.L.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/>.
-->
<?page id="exceptionDayTypesList" title="${i18n:_('LibrePlan: My Dashboard')}" ?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
<?init class="org.zkoss.zk.ui.util.Composition" arg0="/common/layout/template.zul"?>
<?link rel="shortcut icon" href="/common/img/favicon.ico" type="image/x-icon"?>
<?link rel="stylesheet" type="text/css" href="/common/css/libreplan.css"?>
<?link rel="stylesheet" type="text/css" href="/common/css/libreplan_zk.css"?>
<zk>
<window self="@{define(content)}" title="${i18n:_('My dashboard')}">
TODO
</window>
</zk>