Comments (3)
Yes, you need to change the transformation matrix because the display is used in portrait mode. It is documented at the end of the README
. We should make that clearer though.
About the quick bookings: there is currently no configuration option, but you can change it more or less easily in the code itself. You have to change two things:
- change the duration the events are created with: in
src/components/status.js
on line 59 and 60, change the value given to the function callonQuickReservation
, e.g.:onClick30={() => onQuickReservation(60)}
(note that you must not change the first part, i.e.onClick30=
) - change the SVG image displayed as the buttons: these can be found in
static/icons/15.svg
andstatic/icons/30.svg
. Unfortunately, we did not use a font in the SVG, so you cannot change it by opening the SVG in a text editor. You would need to open those files in Inkscape or Illustrator and change the text accordingly.
Let us know how it works out for you!
from sitincator.
Thanks for the reply. Strange on the transformation matrix. I had copy/pasted your exact commands and for some reason they weren't taking effect.
On the 30/60' change to quick bookings. I changed the files/images per your instructions, I can see the images changed however clicking them isn't making the appropriate length booking (still coming through as 15/30 mins). Do I need to compile code or anything afterwards? I tried with a reboot so far.
Also I noticed when for example there's a meeting coming up in 25 minutes it only shows the 15 minute booking (makes sense with the default 15/30 bookings), would this be broken if I make 30/60 minute bookings instead? Eg is the logic hard coded only to show the 15/30 buttons based on amount of free time left until next booking?
Cheers!
from sitincator.
Yes, you probably need to run npm run build
. That does not work that well on a Raspberry Pi though. It's probably a better idea to run this on a faster machine and then copy it over to the Raspberry.
from sitincator.
Related Issues (19)
- Can't execute after packaging HOT 2
- Full Schedule / Back to Booking footer doesn't go away. Screen display is off. HOT 2
- When switching to portrait mode, touchscreen overlay is still in landscape mode
- Quick Booking buttons register touch but don't book. HOT 5
- Title HOT 2
- error on startup HOT 1
- No Upcoming Events
- how to change the interface language? HOT 1
- I need help - Please advise HOT 1
- electron.asar missing HOT 1
- Installation on Raspbian Lite
- Cannot build for Raspberry Pi HOT 3
- Will it work on Zero?
- TUTORIAL HOT 1
- Connect to Office 365 HOT 1
- Rejects Client Secret JSON HOT 9
- Sitincator got slow on RPI3 HOT 2
- Feature Request: Add Calendar ID or Alias to main screen HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sitincator.