Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
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
lifo
Nicolas Ollinger
OpenBoard
Commits
c464de12
Commit
c464de12
authored
Jan 23, 2018
by
Clément Fauconnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added Horloge.wgt
parent
ac21d9ed
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
561 additions
and
0 deletions
+561
-0
config.xml
resources/library/applications/Horloge.wgt/config.xml
+13
-0
icon.png
resources/library/applications/Horloge.wgt/icon.png
+0
-0
index.html
resources/library/applications/Horloge.wgt/index.html
+60
-0
station-clock.js
resources/library/applications/Horloge.wgt/station-clock.js
+488
-0
No files found.
resources/library/applications/Horloge.wgt/config.xml
0 → 100644
View file @
c464de12
<?xml version="1.0" encoding="UTF-8"?>
<widget
xmlns=
"http://www.w3.org/ns/widgets"
xmlns:ub=
"http://uniboard.mnemis.com/widgets"
id=
"Horloge"
version=
"1.0"
width=
"400"
height=
"420"
ub:resizable=
"false"
>
<name>
Horloge
</name>
<author>
fbocquet@laposte.net
</author>
<descrition>
</descrition>
<content
src=
"index.html"
/>
</widget>
resources/library/applications/Horloge.wgt/icon.png
0 → 100644
View file @
c464de12
13.7 KB
resources/library/applications/Horloge.wgt/index.html
0 → 100644
View file @
c464de12
<html>
<head>
<title>
Horloge
</title>
<!--
Copyright (c) 2010 Ruediger Appel
ludi at mac dot com
Date: 2010-08-08
Version: 1.0.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
* Known Issues : Shadows for some second hands is not on one layer
-->
<script
type=
"text/javascript"
src=
"station-clock.js"
></script>
<script
type=
"text/javascript"
>
var
clock
=
new
StationClock
(
"clock"
);
clock
.
body
=
StationClock
.
RoundBody
;
clock
.
dial
=
StationClock
.
SwissStrokeDial
;
clock
.
hourHand
=
StationClock
.
BarMinuteHand
;
clock
.
minuteHand
=
StationClock
.
SwissMinuteHand
;
clock
.
secondHand
=
StationClock
.
HoleShapedSecondHand
;
clock
.
boss
=
StationClock
.
RedBoss
;
clock
.
minuteHandBehavoir
=
StationClock
.
BouncingMinuteHand
;
clock
.
secondHandBehavoir
=
StationClock
.
BouncingSecondHand
;
animate
();
function
animate
()
{
clock
.
draw
();
window
.
setTimeout
(
"animate()"
,
50
);
}
</script>
</head>
<body>
<div
style=
"text-align: center; width: 100%; height:100%; "
>
<div
style=
"line-height: 0px; "
>
<div
style=
"overflow: hidden; "
>
<canvas
id=
"clock"
width=
"400"
height=
"400"
>
Horloge
</canvas>
</div>
</body>
</html>
resources/library/applications/Horloge.wgt/station-clock.js
0 → 100644
View file @
c464de12
This diff is collapsed.
Click to expand it.
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