Skip to content
Joshua Monson edited this page Aug 5, 2013 · 1 revision

The views are Play! framework-specific templates that mix HTML and basic Scala. There are a lot of templates so I'll only describe the categories and any special templates.

Categories

  • admin - Views pertaining to the admin dashboard
  • application - Basic pages such a the login screen, home page, and terms of use.
  • captionAider - CaptionAider pages. Right now there is only one.
  • content - Views pertaining to viewing and editing content
  • content/create - Views for the different create content pages.
  • content/header - Because there is so many different widgets on the view content page, many of these have been abstracted out into this folder.
  • content/share - When content is shared and viewed, it uses views here. Right now there is only one.
  • courses - Views dealing with courses
  • help - Help pages
  • playlists - Views dealing with playlists
  • questionSets - Views dealing with question sets
  • resources - Views for listing HTML resources. The only one right now is used for listing CSS links.
  • users - Views for editing user information.
  • users/teacherRequest - Views dealing with making teacher requests
  • words - Views dealing with word lists and exporting them.

Basic templates are in the views folder.

Templates of interest

  • The biggest view is content/view.scala.html. This uses many of the views in the header subfolder.
  • The content/header/dependencies.scala.html view should be included on any page that has the Ayamel.js player.
  • The content/header/languages.scala.html is the language selection dropdown.
Clone this wiki locally