Ticket #1003 (closed defect: fixed)

Opened 1 year ago

Last modified 4 months ago

jaws + dynamic layout

Reported by: afz Assigned to: jaws-bugs@lists.jaws-project.com
Priority: normal Milestone: 0.8.0
Component: Gadgets / Layout Version: SVN
Severity: normal Keywords:
Cc:

Description (Last modified by afz)

jaws now have dynamic layout for 0.8.x.
for define new layout, we provide 2 table(layout_mod, layout_mod_section)
layout_mod for define layout name and show in layout mode combobox in Layout gadget(admin area).
and layout_mod_section table for define sections of each layout mode for example:

Layout Name: "Dual Header"
|-------------------------------------------------|
|                    TopHeader                    |
|-------------------------------------------------|
|                     Header                      |
|------------+------------------------+-----------|
|            |                        |           |
| LeftSide   |         Main           | RightSide |
|            |                        |           |
|            |                        |           |
|------------+------------------------+-----------|
|                     Footer                      |
|-------------------------------------------------|

we must add this info into layout_mod table:

name = Dual Header
editable = true

and also this info into layout_mod_section:

   layout_mod_id      |   name    | wide  | width | position
   -------------------+-----------+-------+-------+----------
  id of "Dual Header" | TopHeader | true  | 100   | 1
  id of "Dual Header" | Header    | true  | 100   | 2
  id of "Dual Header" | LeftSide  | false | 25    | 3
  id of "Dual Header" | Main      | true  | 50    | 4
  id of "Dual Header" | RightSide | false | 25    | 5
  id of "Dual Header" | Footer    | true  | 100   | 6

and for using in theme:

<!-- BEGIN TopHeader -->{ELEMENT}<!-- END TopHeader -->

Attachments

Change History

09/07/07 08:53:18 changed by afz

  • status changed from new to closed.
  • resolution set to fixed.

09/07/07 09:00:00 changed by afz

  • component changed from Other / Other bugs to Gadgets / Layout.

09/07/07 20:31:19 changed by afz

  • description changed.

04/09/08 05:17:19 changed by anonymous

电子地磅解码器,吨位遥控器/本吨位遥控器引进日本先进技术研制而成,完全采用数字式集成电路技术,采用万能解码数据处理线路,适用于10----150吨以下吨位,无须对地磅作任何改动 具有防拦截,防扫描等优点,解码器安装于车上或离地磅8米以内,在电子称旁40米或60米以内,能控制电子称的数码数据,最小值20公斤,规格10 /15/20,此产品主要产生电子磁场干扰和控制,从而使吨位变大或变小,性能稳定可靠,体积小,遥控主机 解码处理器 如烟盒大小,遥控器配两种型号,隐蔽性强,附件含使用光盘一套,


Add/Change #1003 (jaws + dynamic layout)




Change Properties
Action