-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial steps for planning and scheduling of a person
- Loading branch information
Showing
3 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
43 changes: 39 additions & 4 deletions
43
grails-app/controllers/nl/gridshore/scheduling/PersonController.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head> | ||
<title>Show all schedule items</title> | ||
<meta name="layout" content="main"/> | ||
<gui:resources components="dataTable"/> | ||
</head> | ||
<body> | ||
<div class="yui-skin-sam"> | ||
<gui:dataTable | ||
id="personDatatable" | ||
draggableColumns="true" | ||
columnDefs="[ | ||
[key:'id', sortable:true, resizeable: true, label:'ID'], | ||
[key:'name', sortable:true, resizeable: true, label:'Name'], | ||
[key:'partTimeFactor', type:'number', sortable:true, resizeable: true, label: 'Part time factor'] | ||
]" | ||
paginatorConfig="[ | ||
template:'{PreviousPageLink} {PageLinks} {NextPageLink} {CurrentPageReport}', | ||
pageReportTemplate:'{totalRecords} total records' | ||
]" | ||
controller="person" | ||
action="planningDataAsJSON" | ||
resultsList="results" | ||
rowExpansion="false" | ||
rowsPerPage="15" | ||
rowClickNavigation="true"/> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<%-- | ||
Created by IntelliJ IDEA. | ||
User: jettropro | ||
Date: Dec 21, 2009 | ||
Time: 5:49:46 PM | ||
To change this template use File | Settings | File Templates. | ||
--%> | ||
|
||
<%@ page contentType="text/html;charset=UTF-8" %> | ||
<html> | ||
<head><title>Simple GSP page</title></head> | ||
<body>Place your content here</body> | ||
</html> |