pcjs/modules/pcjs/templates
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Parsons 87e275b5f1 Blog edits
2016-03-16 15:13:18 -07:00
..
components.css Restored analytics tracking, merged the apps menu into the machines menu, and updated the 404 page 2015-12-27 16:42:45 -08:00
components.xsl Blog edits 2016-03-16 15:13:18 -07:00
README.md my_modules is simply modules now 2014-11-11 08:19:48 -08:00

PCjs Templates

Template folders contain a variety of XML and HTML templates and supporting files, including:

  • DTD files (Document Type Definitions)
  • XSD files (XML schemas -- eventually)
  • XSL files (XML stylesheets)
  • CSS files (stylesheets that the XSL files rely upon)
  • HTML files (HTML fragments used to generate part or all of a web page)

components.xsl transforms all the elements of a machine XML file into an HTML fragment that includes a series of DIV tags with corresponding id and data-value attributes that allow our JavaScript components to bind themselves to visual elements (eg, virtual screen, virtual keyboard, control panel) on a web page.