Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tvgids
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
tvgids
Commits
03657d34
Commit
03657d34
authored
Dec 31, 2013
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added touch scrolling for table/phone
parent
bf26e410
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
guide.coffee
guide.coffee
+7
-1
index.php
index.php
+7
-1
style.sass
style.sass
+7
-1
No files found.
guide.coffee
View file @
03657d34
...
...
@@ -170,7 +170,7 @@ ProgramView = Backbone.View.extend(
)
ChannelLabelsView
=
Backbone
.
View
.
extend
(
el
:
$
(
'#
guide .
channel-labels'
)
el
:
$
(
'#channel-labels'
)
initialize
:
(
options
)
->
@
listenTo
(
Channels
,
'reset'
,
@
addChannels
)
...
...
@@ -235,6 +235,12 @@ AppView = Backbone.View.extend(
@
labelview
=
new
ChannelLabelsView
(
app
:
@
)
@
detailsview
=
new
ProgramDetailsView
(
app
:
@
)
#@$el.smoothTouchScroll(
# scrollableAreaClass: 'channels'
# scrollWrapperClass: 'guide'
#)
#@iscroll = new iScroll('guide', vScroll: false, hScrollbar: true)
$
(
'#beforeyesterday'
).
click
(
->
Settings
.
set
(
day
:
-
2
))
$
(
'#yesterday'
).
click
(
->
Settings
.
set
(
day
:
-
1
))
$
(
'#today'
).
click
(
->
Settings
.
set
(
day
:
0
))
...
...
index.php
View file @
03657d34
...
...
@@ -18,7 +18,6 @@ function getwday($day) {
<div
class=
"channels"
>
</div>
<div
class=
"indicator"
></div>
<div
class=
"channel-labels"
></div>
<div
class=
"timeline-bg"
></div>
<div
class=
"timeline"
>
<div
class=
"hour"
>
00:00
</div>
...
...
@@ -47,6 +46,7 @@ function getwday($day) {
<div
class=
"hour"
>
23:00
</div>
</div>
</div>
<div
id=
"channel-labels"
class=
"channel-labels"
></div>
<div
id=
"loading-screen"
class=
"loading-screen"
>
<div
class=
"bg"
></div>
...
...
@@ -87,6 +87,12 @@ function getwday($day) {
<script
src=
"lib/underscore-min.js"
type=
"text/javascript"
></script>
<script
src=
"lib/backbone-min.js"
type=
"text/javascript"
></script>
<!--<script src="lib/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<script src="lib/jquery.kinetic.min.js" type="text/javascript"></script>
<script src="lib/jquery.smoothTouchScroll.min.js" type="text/javascript"></script>
<script src="lib/iscroll-lite.js" type="text/javascript"></script>-->
<script
src=
"channels.js"
type=
"text/javascript"
></script>
<script
src=
"guide.js"
type=
"text/javascript"
></script>
</body>
...
...
style.sass
View file @
03657d34
...
...
@@ -40,6 +40,12 @@ html, body
max-height
:
100%
overflow-x
:
scroll
position
:
relative
-webkit-overflow-scrolling
:
touch
.scroll-wrapper
width
:
100%
height
:
100%
position
:
relative
.timeline-bg
width
:
100%
...
...
@@ -136,7 +142,7 @@ html, body
.channel-labels
width
:
$channel-label-width
-
2px
position
:
fixed
position
:
absolute
top
:
$header-height
left
:
0
border-right
:
2px
solid
#fff
...
...
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