Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
senchatouch-timesheet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
senchatouch-timesheet
Commits
72f97b84
Commit
72f97b84
authored
Dec 09, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- minor changes
parent
90752859
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
25 deletions
+43
-25
senchatouch-timesheet-create.sql
sql/postgresql/senchatouch-timesheet-create.sql
+31
-0
app.js
www/app.js
+2
-4
app.json
www/app.json
+8
-19
index.adp
www/index.adp
+0
-1
index.tcl
www/index.tcl
+2
-1
No files found.
sql/postgresql/senchatouch-timesheet-create.sql
View file @
72f97b84
...
...
@@ -8,6 +8,37 @@
-- @author frank.bergmann@project-open.com
-----------------------------------------------------------
-- Component Plugin
--
-- Advertizing Portlet in Home page
SELECT
im_component_plugin__new
(
null
,
'im_component_plugin'
,
now
(),
null
,
null
,
null
,
'Mobile Timesheet'
,
-- plugin_name - shown in menu
'senchatouch-timesheet'
,
-- package_name
'left'
,
-- location
'/intranet/index'
,
-- page_url
null
,
-- view_name
10
,
-- sort_order
'senchatouch_timesheet_home_component'
,
-- component_tcl
'lang::message::lookup "" "senchatouch-timesheet.Mobile_Timesheet" "Mobile Timesheet"'
);
SELECT
acs_permission__grant_permission
(
(
select
plugin_id
from
im_component_plugins
where
plugin_name
=
'Mobile Timesheet'
and
package_name
=
'senchatouch-timesheet'
),
(
select
group_id
from
groups
where
group_name
=
'Employees'
),
'read'
);
-----------------------------------------------------------
-- REST API Reports
--
SELECT
im_report_new
(
'REST Main Project Tasks with Hours'
,
-- report_name
'rest_main_project_tasks_with_hours'
,
-- report_code
...
...
www/app.js
View file @
72f97b84
...
...
@@ -15,7 +15,6 @@ Ext.application({
'Project'
// Project or task
],
stores
:
[
// Master Date Stores
'ProjectStatusStore'
,
// List of project states
'ProjectTypeStore'
,
// List of project types
'HourStore'
,
// Generic store of hours retreived
...
...
@@ -41,7 +40,7 @@ Ext.application({
],
viewport
:
{
autoMaximize
:
false
autoMaximize
:
false
// set to false for iOS 9
},
// Main function: Load the various panels
...
...
@@ -51,7 +50,7 @@ Ext.application({
tabBarPosition
:
'bottom'
,
xtype
:
'tabPanel'
,
items
:
[
// The application consists of t
wo three only
:
// The application consists of t
hree indenpendent sections
:
{
xtype
:
'splashPage'
},
{
xtype
:
'timesheetMainProjectListNavigationView'
},
{
xtype
:
'noteNavigationView'
}
...
...
@@ -59,4 +58,3 @@ Ext.application({
});
}
});
www/app.json
View file @
72f97b84
...
...
@@ -8,32 +8,22 @@
*/
{
"name"
:
"List"
,
"js"
:
[
{
"js"
:
[{
"path"
:
"/senchatouch-v242/sencha-touch-all-debug.js"
},
{
},
{
"path"
:
"app.js"
,
"update"
:
"delta"
}
],
"css"
:
[
{
}],
"css"
:
[{
"path"
:
"/senchatouch-v242/resources/css/sencha-touch.css"
,
"update"
:
"delta"
},
{
},
{
"path"
:
"/senchatouch-timesheet/resources/css/app.css"
,
"update"
:
"delta"
}
],
}],
"appCache"
:
{
"cache"
:
[
"index.html"
],
"network"
:
[
"*"
],
"cache"
:
[
"index.html"
],
"network"
:
[
"*"
],
"fallback"
:
[]
},
"extras"
:
[
...
...
@@ -56,4 +46,3 @@
},
"id"
:
"3a867610-670a-11e1-a90e-4318029d18bb"
}
www/index.adp
View file @
72f97b84
...
...
@@ -19,5 +19,4 @@
<script>
var
current_user_id
=
@
current_user_id
@;
</script>
www/index.tcl
View file @
72f97b84
...
...
@@ -15,4 +15,5 @@ ad_page_contract {
# Defaults & Security
# ---------------------------------------------------------------
set
current_user_id
[
ad_maybe_redirect_for_registration
]
set
current_user_id
[
auth::require_login
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment