wiki:PAGE_TEMPLATE_BEHAVIOUR_R0

Version 4 (modified by deyan, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=PAGE_TEMPLATE_BEHAVIOUR_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

Page templates provide the ability to use previously created templates for newly created pages. This is connected with frame templating and frame property locking.

Task requirements

Page templates include:

  • Page property locking
    • NOT size of the page!
    • frames' positions
    • frames' templates
    • frames' z-order
    • background style
      • image
      • color
      • opacity
    • border style
      • color
      • opacity
      • thickness
  • Frame list - List of frames in current page. In this revision deleting a frame from a page with template applied may not be possible. List should be like
    <template list> + <modifications>
    

Modifications are +frame, -frame, etc, but removing a frame from the template and messing with z-order should be done in later stage.

  • Templates should be saved. When a property is changed, it detaches from the template. In a later stage probably a template editor should be present.

In frame HUD a checkbox "Use template" should be present for frame position, background style, border style, frame list.

Task result

The result of this task must be code.

Implementation idea

(It is advisable to include some rough implementations ideas.)

(Here you can add related tasks that could be useful or helpful.)

How to demo

(In this section you must add instructions for the demo of the task.)

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

From the user point of view it would be cool to allow image borders, probably hard to implement.