Skip to content

Template สำหรับหน้าแสดงคิว สำหรับ Q4U

Notifications You must be signed in to change notification settings

khonkaen-hospital/queue-display-template

 
 

Repository files navigation

Queue Display Template

Installation

copy & paste

Configuration

Change configuration in config.js

const TOKEN = `xxx`;
const API_URL = 'http://localhost:3002/v1';

TOKEN Generate from Q4U web management. API_URL Q4U API url.

Change Youtube ID in file service-point.html, line 21-23:

<iframe id="ytplayer" type="text/html"
  src="https://www.youtube.com/embed/YOUTUBE_ID?playlist=YOUTUBE_ID&enablejsapi=0&controls=1&loop=1&autoplay=1&origin=http://ict.moph.go.th"
  frameborder="0"></iframe>

Replace YOUTUBE_ID with youtube id

example: https://youtube.com/watch?v=XL9HQsWFxgY

YOUTUBE_ID is XL9HQsWFxgY

To mute youtube sound add option mute=1 in youtube url

https://www.youtube.com/embed/YOUTUBE_ID?playlist=YOUTUBE_ID&mute=1

Runnig

open ./service-point.html?servicePointId=xx

xx = service_point_id in table q4u_service_points

Theme

Use bootstrap 4.x : https://bootswatch.com

Screenshort

Q4U

About

Template สำหรับหน้าแสดงคิว สำหรับ Q4U

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.1%
  • HTML 5.7%
  • CSS 0.2%