wiki:ai:editing_the_layout
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:ai:editing_the_layout [2025/05/31 15:56] – Neil | wiki:ai:editing_the_layout [2025/10/19 15:08] (current) – [Breaking the Column Layout] Neil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <WRAP center | + | ====== Editing the Layout of Panels ====== |
| - | ==== Page under Construction | + | {{ : |
| - | </WRAP> | + | |
| + | Show is the top of the **Gauges** page showing the default layout on a wide screen. Each panel has a **css style** attached to it, which by default is **order: | ||
| + | |||
| + | ---- | ||
| + | <code html> | ||
| + | | ||
| + | | ||
| + | | ||
| + | 95 <div class=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | 100 </ | ||
| + | 101 <div class=" | ||
| + | 102 < | ||
| + | 103 < | ||
| + | 104 </ | ||
| + | 105 <div class=" | ||
| + | 106 < | ||
| + | 107 </ | ||
| + | 108 </ | ||
| + | 109 < | ||
| + | 110 <div class=" | ||
| + | 111 <div class=" | ||
| + | 112 < | ||
| + | 113 </ | ||
| + | 114 <div id=" | ||
| + | 115 <canvas id=" | ||
| + | 116 </ | ||
| + | 117 <div class=" | ||
| + | 118 <select id=" | ||
| + | 119 <option id=" | ||
| + | 120 <option id=" | ||
| + | 121 <option id=" | ||
| + | 122 <option id=" | ||
| + | 123 <option id=" | ||
| + | 124 <option id=" | ||
| + | 125 </ | ||
| + | 126 </ | ||
| + | 127 </ | ||
| + | </ | ||
| + | The above snippet of code from the **gauges** page shows lines 92 to 127 which code the first two gauges. | ||
| + | |||
| + | On lines **94** and **110** can be seen **// | ||
| + | |||
| + | Using the above information it is possible to rearrange any panel simply by giving it a different order number. | ||
| + | * Order numbers create an ascending numerically ordered set of panels | ||
| + | * Order numbers can be negative | ||
| + | * Panels with the same order number will always be displayed in the order they have been coded. | ||
| + | |||
| + | ===== Changing the number of Columns ===== | ||
| + | In the above code the very first line **92** has a **//div//** has a class **// | ||
| + | |||
| + | Simply by changing this class will re-adjust the number of columns used. **HOWEVER**, | ||
| + | |||
| + | ===== Breaking the Column Layout ===== | ||
| + | Again looking at line **92** you will see that it also has a class **ax-fixedwidth**. | ||
| + | |||
| + | If you remove this class - **ax-fixedwidth**, | ||
wiki/ai/editing_the_layout.1748706977.txt.gz · Last modified: by Neil
