Survey of existing page views and markup: Difference between revisions
From MoodleDocs
Amy Groshek (talk | contribs) |
Amy Groshek (talk | contribs) |
||
Line 82: | Line 82: | ||
==Choice activity== | ==Choice activity== | ||
===Visible Conventions=== | |||
* | |||
* | |||
* | |||
[[Image:landing-chat-activity-screenshot.png|600x400px|thumb|border|center|Learner landing page of choice activity, no option selected]] | |||
[[Image:landing-chat-activity-screenshot.png|600x400px|thumb|border|center|choice activity]] | |||
[[Image:landing-chat-activity-screenshot.png|600x400px|thumb|border|center|choice activity]] | |||
[[Image:landing-chat-activity-screenshot.png|600x400px|thumb|border|center|choice activity]] | |||
==Database activity== | ==Database activity== | ||
==Forum activity== | ==Forum activity== |
Revision as of 18:26, 8 November 2012
Overall Conventions
- First, the no-brainer: page content is inside of #region-main #region-content
- Classes .box and .generalbox are utilized in many screen views, but not consistently across different resource and activity types
- Most resources and activities use a combination of IDs and classes to style components
Notes
- As first concern is non-editing view, student views will be the focus of this initial survey
File resource
Visible Conventions
- First-level header (optional)
- Content embedded or as link
- Content description, "intro"
Folder resource
Visible Conventions
- First-level header (optional)
- Content description (intro) in its own box
- Content as dynamically generated folder tree (in its own box)
Page resource
Visible Conventions
- First-level header (optional)
- Content (with its own border)
- Last-modified date
URL resource
Visible Conventions
- First-level header
- Either embedded object presenting HTML content at URL or link to URL
- Content description/intro (in border)
Assignment Activity
Visible Conventions
- Strangely, there is no header for the student views for this activity
- Assignment description/intro
- Student submission (identified in 2 cases by ID, #online, #userfiles, and in 1 case by classname, .files)
- Add submission/Upload file/Edit submission button (changes with existing submissions)
- Header *Notes* and a boxed .no-overflow container for student-entered notes (notes content is not identified by a specific ID or classname)
Chat activity
Visible Conventions
- Content header
- Activity description/info
- #enterlink.generalbox which contains several links to different views/launch chat itself
- .generalbox with options to view/delete a session (delete may be only an admin option)
- Date and text of chat transcript, unwrapped