Coder Social home page Coder Social logo

template-flight-information's Introduction

DSPLAY - Digital Signage

DSPLAY - Flight information

  • Template to display a flight information.

Supported Screen Formats/Resolutions

  • Landscape

    Landscape

  • Portrait

    Portrait

  • Square

    Square

Configuration

This template has some configuration variables as the following table shows:

Variable Type Default Description
offsetTimeMinutes Int {20,30,40 } Time to offset render flight data
maxPageDurationSeconds Int {20,30,40 } Time to display each page of flights data
apiKey String xxxxxx-xxxxx API-KEY to request de flithts data
arrivalDeparture String {arrival, departure} The option to show arrivals or departures of a airpoit
iataCode String {GRU, JFK} IATA Code of Airpot to be render

Airline information [...]

Attributes Type Example Description
airportName text "F.Noronha" flight list
lastUpdate text "2024-01-01T02:30" datetime, iso format
departuresOrArrivals text "Departures" Departure or Arrival information
planePicture text "up" or "down" plane picture
flights list [{ destination, flight, airline, departureTime, gate, status }] flight list and their informations

Flights [...]

Attributes Type Example Description
destination text "Nashville" destinations.
flight text "0000" flight number
airline text "https://www.urlExample.com" image link
departureTime text "2023-06-05T10:16" datetime, iso format
gate text "Term B - 52" gate description

Getting started

  git clone https://github.com/dsplay/template-flight-information.git my-awesome-template
  cd my-awesome-template
  rm -rf .git
  npm install
  npm start

Packing (release build)

To create a release build of the template, ready to be uploaded to DSPLAY, just run:

  npm run zip

It will generate a template.zip file ready to be deployed to DSPLAY Web Manager

More

The see more about DSPLAY HTML Templates, visit: https://developers.dsplay.tv/docs/html-templates

template-flight-information's People

Contributors

pcmnac avatar pedrorochacr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.