Wiki source code of Boxes Example
Last modified by Vincent Massol on 2024/11/19 16:12
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
347.1 | 1 | {{velocity filter="none"}} |
| 2 | {{html clean="false" wiki="true"}} | ||
| |
7.1 | 3 | $xwiki.ssx.use("Improvements.BoxExample") |
| |
347.1 | 4 | <p/> |
| 5 | {{info}}The CSS on this page is no longer recent. Page used just for demo {{/info}} | ||
| |
4.1 | 6 | |
| |
347.1 | 7 | * [[Login Boxes>>#login]], related [[XSTOUCAN-45>>http://jira.xwiki.org/jira/browse/XSTOUCAN-45]] |
| 8 | * [[Delete/Restore Table Boxes>>#delrestore]] | ||
| 9 | * [[Edit Boxes>>#edit]] | ||
| 10 | * [[Delete Boxes>>#delete]] | ||
| |
29.1 | 11 | |
| |
347.1 | 12 | = Login Boxes = |
| |
321.1 | 13 | |
| |
333.1 | 14 | <span id="login"></span> |
| |
330.1 | 15 | Toucan New |
| |
347.1 | 16 | <!~-- <Login Boxes> ~--> |
| 17 | <p/> | ||
| |
323.1 | 18 | <div class="show"> |
| |
240.1 | 19 | #xwikimessageboxstart("Login" "") |
| |
315.1 | 20 | <div class="xwikiBoxContainer"> |
| 21 | <table class="xwikiBoxLogin"> | ||
| |
240.1 | 22 | <tbody> |
| 23 | <tr> | ||
| 24 | <th> | ||
| |
315.1 | 25 | <label>Username</label> |
| |
240.1 | 26 | </th> |
| 27 | </tr> | ||
| 28 | <tr> | ||
| 29 | <td> | ||
| |
315.1 | 30 | <input type="text" value="" name="j_username" id="j_username" class="inputTextPassword"/> |
| |
240.1 | 31 | </td> |
| 32 | </tr> | ||
| 33 | <tr> | ||
| 34 | <th> | ||
| |
315.1 | 35 | <label>Password</label> |
| |
240.1 | 36 | </th> |
| 37 | </tr> | ||
| 38 | <tr> | ||
| 39 | <td> | ||
| |
315.1 | 40 | <input type="password" value="" name="j_password" id="j_password" class="inputTextPassword"/> |
| |
240.1 | 41 | </td> |
| 42 | </tr> | ||
| 43 | <tr> | ||
| 44 | <td> | ||
| |
315.1 | 45 | <div class="xwikiBoxLoginRemember"><input type="checkbox" value="true" name="j_rememberme" id="rememberme"/>Remember me on this computer</div> |
| |
240.1 | 46 | </td> |
| 47 | </tr> | ||
| 48 | <tr> | ||
| 49 | <td> | ||
| |
315.1 | 50 | <span class="buttonwrapper"> |
| 51 | <input type="submit" value="Login" class="button"/> | ||
| 52 | </span> | ||
| |
240.1 | 53 | </td> |
| 54 | </tr> | ||
| 55 | <tr> | ||
| 56 | <td> | ||
| |
315.1 | 57 | <div class="xwikiBoxLoginForgot"> |
| 58 | Forgot your | ||
| 59 | <a href="/xwiki/bin/view/XWiki/ForgotUsername">username</a> or | ||
| 60 | <a href="/xwiki/bin/view/XWiki/ResetPassword">password</a>? | ||
| 61 | </div> | ||
| |
240.1 | 62 | </td> |
| 63 | </tr> | ||
| 64 | </tbody> | ||
| |
315.1 | 65 | </table> |
| 66 | </div> | ||
| |
240.1 | 67 | #xwikimessageboxend() |
| |
315.1 | 68 | </div> |
| |
347.1 | 69 | <p/> |
| |
322.1 | 70 | Toucan Old |
| |
240.1 | 71 | #xwikimessageboxstart("Login" "") |
| |
315.1 | 72 | <table summary="loginform" class="xwikilogintable"> |
| |
240.1 | 73 | <tbody> |
| 74 | <tr> | ||
| 75 | <th> | ||
| |
315.1 | 76 | <label for="j_username">Username:</label> |
| |
240.1 | 77 | </th> |
| 78 | <td> | ||
| |
315.1 | 79 | <input type="text" value="" name="j_username" id="j_username"/> |
| |
240.1 | 80 | </td> |
| 81 | </tr> | ||
| 82 | <tr> | ||
| 83 | <th> | ||
| |
315.1 | 84 | <label for="j_password">Password:</label> |
| |
240.1 | 85 | </th> |
| 86 | <td> | ||
| |
315.1 | 87 | <input type="password" value="" name="j_password" id="j_password"/> |
| |
240.1 | 88 | </td> |
| 89 | </tr> | ||
| 90 | <tr> | ||
| |
315.1 | 91 | <td style="text-align: left;" colspan="2"> |
| 92 | <input type="checkbox" value="true" name="j_rememberme" id="rememberme"/> | ||
| 93 | <label for="rememberme">Remember me on this computer</label> | ||
| |
240.1 | 94 | </td> |
| 95 | </tr> | ||
| 96 | </tbody> | ||
| 97 | </table> | ||
| |
347.1 | 98 | <p/> |
| |
315.1 | 99 | <div class="buttons"> |
| 100 | <input type="submit" value="Login" class="button"/> | ||
| 101 | </div> | ||
| |
347.1 | 102 | <p/> |
| |
315.1 | 103 | <div style="font-size: 70%; margin-top: 2em;">Forgot your |
| 104 | <a href="/xwiki/bin/view/XWiki/ForgotUsername">username</a> or | ||
| 105 | <a href="/xwiki/bin/view/XWiki/ResetPassword">password</a>?</div> | ||
| |
240.1 | 106 | #xwikimessageboxend() |
| |
347.1 | 107 | <!~-- </Login Boxes> ~--> |
| 108 | <p/> | ||
| |
326.1 | 109 | Albatros New |
| 110 | |||
| |
347.1 | 111 | (% class="center" %)((( [[image:AlbatrosLogin.png]] |
| 112 | ))) | ||
| 113 | |||
| |
326.1 | 114 | Albatros Old |
| 115 | |||
| |
347.1 | 116 | (% class="center" %)((( [[image:OldAlbatrosLogin.png]] |
| 117 | ))) | ||
| |
327.1 | 118 | |
| |
347.1 | 119 | = <span id="delrestore">Delete/Restore Boxes</span> = |
| 120 | |||
| |
329.1 | 121 | Toucan New |
| |
347.1 | 122 | <!~-- <Delete/Restore Boxes> ~--> |
| 123 | <p/> | ||
| |
315.1 | 124 | <div class="show"> |
| |
166.1 | 125 | #xwikimessageboxstart("Notice" "") |
| |
315.1 | 126 | <div class="xwikiBoxContainer"> |
| 127 | <div class="xwikiBoxMessage">The requested document could not be found.</div> | ||
| 128 | <div class="xwikiBoxAction">You can <a href="/xwiki/bin/edit/Main/Plop">edit this page</a> to create it.</div> | ||
| 129 | <div class="xwikiBoxDetails"> | ||
| 130 | <div>The following versions are in the recycle bin:</div> | ||
| 131 | <table class="xwikiBoxVersions"> | ||
| |
166.1 | 132 | <thead> |
| 133 | <tr> | ||
| 134 | <th>Deleter | ||
| 135 | </th> | ||
| 136 | <th>Delete date | ||
| 137 | </th> | ||
| 138 | <th colspan="2">Actions</th> | ||
| 139 | </tr> | ||
| 140 | </thead> | ||
| 141 | <tbody> | ||
| 142 | <tr> | ||
| 143 | <td> | ||
| |
315.1 | 144 | <span class="wikilink"> |
| 145 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Mihai Emanuel Valica</a> | ||
| 146 | </span> | ||
| |
166.1 | 147 | </td> |
| 148 | <td> | ||
| |
315.1 | 149 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> |
| |
166.1 | 150 | </td> |
| 151 | <td> | ||
| |
315.1 | 152 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> |
| |
166.1 | 153 | </td> |
| 154 | <td> | ||
| |
315.1 | 155 | <a onclick="if (confirm('This action is not reversible. Are you sure you wish to continue?')) {this.href += '&confirm=1'; return true;} return false;" href="/xwiki/bin/delete/Main/Plop?id=69"> |
| 156 | Delete | ||
| |
166.1 | 157 | </a> |
| 158 | </td> | ||
| 159 | </tr> | ||
| 160 | </tbody> | ||
| |
315.1 | 161 | </table> |
| 162 | </div> | ||
| 163 | </div> | ||
| |
166.1 | 164 | #xwikimessageboxend() |
| |
315.1 | 165 | </div> |
| |
347.1 | 166 | <p/> |
| |
315.1 | 167 | <div class="show"> |
| |
167.1 | 168 | #xwikimessageboxstart("Notice" "") |
| |
315.1 | 169 | <div class="xwikiBoxContainer"> |
| 170 | <div class="xwikiBoxMessage">The requested document could not be found.</div> | ||
| 171 | <div class="xwikiBoxDetails"> | ||
| 172 | <div>The following versions are in the recycle bin:</div> | ||
| 173 | <table class="xwikiBoxVersions"> | ||
| |
167.1 | 174 | <thead> |
| 175 | <tr> | ||
| 176 | <th>Deleter | ||
| 177 | </th> | ||
| 178 | <th>Delete date | ||
| 179 | </th> | ||
| 180 | <th colspan="2">Actions</th> | ||
| 181 | </tr> | ||
| 182 | </thead> | ||
| 183 | <tbody> | ||
| 184 | <tr> | ||
| 185 | <td> | ||
| |
315.1 | 186 | <span class="wikilink"> |
| 187 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Valica</a> | ||
| 188 | </span> | ||
| |
167.1 | 189 | </td> |
| 190 | <td> | ||
| |
315.1 | 191 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> |
| |
167.1 | 192 | </td> |
| 193 | <td> | ||
| |
315.1 | 194 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> |
| |
167.1 | 195 | </td> |
| |
315.1 | 196 | <td> |
| 197 | </td> | ||
| |
167.1 | 198 | </tr> |
| 199 | </tbody> | ||
| |
315.1 | 200 | </table> |
| 201 | </div> | ||
| 202 | </div> | ||
| |
167.1 | 203 | #xwikimessageboxend() |
| |
315.1 | 204 | </div> |
| |
347.1 | 205 | <p/> |
| |
329.1 | 206 | Toucan Old |
| |
347.1 | 207 | <p/> |
| |
167.1 | 208 | #xwikimessageboxstart("Notice" "") |
| |
329.1 | 209 | <p class="xwikimessage">The requested document could not be found.</p> |
| 210 | You can <a href="/xwiki/bin/edit/Main/Plop">edit this page</a> to create it. | ||
| |
347.1 | 211 | <p/> |
| |
329.1 | 212 | <div class="centered"> |
| 213 | <p>The following versions are in the recycle bin:</p> | ||
| 214 | <table class="centered"> | ||
| 215 | <thead> | ||
| 216 | <tr> | ||
| 217 | <th>Deleter | ||
| 218 | </th> | ||
| 219 | <th>Delete date | ||
| 220 | </th> | ||
| 221 | <th colspan="2">Actions</th> | ||
| 222 | </tr> | ||
| 223 | </thead> | ||
| 224 | <tbody> | ||
| 225 | <tr> | ||
| 226 | <td> | ||
| 227 | <span class="wikilink"> | ||
| 228 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Valica</a> | ||
| 229 | </span> | ||
| 230 | </td> | ||
| 231 | <td> | ||
| 232 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> | ||
| 233 | </td> | ||
| 234 | <td> | ||
| 235 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> | ||
| 236 | </td> | ||
| 237 | <td> | ||
| 238 | <a onclick="if (confirm('This action is not reversible. Are you sure you wish to continue?')) {this.href += '&confirm=1'; return true;} return false;" href="/xwiki/bin/delete/Main/Plop?id=69"> | ||
| 239 | Delete | ||
| 240 | </a> | ||
| 241 | </td> | ||
| 242 | </tr> | ||
| 243 | </tbody> | ||
| 244 | </table> | ||
| 245 | </div> | ||
| 246 | #xwikimessageboxend() | ||
| |
347.1 | 247 | <p/> |
| |
329.1 | 248 | #xwikimessageboxstart("Notice" "") |
| |
315.1 | 249 | <p class="xwikimessage">The requested document could not be found.</p> |
| |
347.1 | 250 | <p/> |
| |
315.1 | 251 | <div class="centered"> |
| 252 | <p>The following versions are in the recycle bin:</p> | ||
| 253 | <table class="centered"> | ||
| |
167.1 | 254 | <thead> |
| 255 | <tr> | ||
| 256 | <th>Deleter | ||
| 257 | </th> | ||
| 258 | <th>Delete date | ||
| 259 | </th> | ||
| 260 | <th colspan="2">Actions</th> | ||
| 261 | </tr> | ||
| 262 | </thead> | ||
| 263 | <tbody> | ||
| 264 | <tr> | ||
| 265 | <td> | ||
| |
315.1 | 266 | <span class="wikilink"> |
| 267 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Valica</a> | ||
| 268 | </span> | ||
| |
167.1 | 269 | </td> |
| 270 | <td> | ||
| |
315.1 | 271 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> |
| |
167.1 | 272 | </td> |
| 273 | <td> | ||
| |
315.1 | 274 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> |
| |
167.1 | 275 | </td> |
| |
315.1 | 276 | <td> |
| 277 | </td> | ||
| |
167.1 | 278 | </tr> |
| 279 | </tbody> | ||
| |
315.1 | 280 | </table> |
| 281 | </div> | ||
| |
167.1 | 282 | #xwikimessageboxend() |
| |
347.1 | 283 | <p/> |
| |
340.1 | 284 | Albatros |
| |
327.1 | 285 | |
| |
347.1 | 286 | (% class="center" %)((( [[image:AlbatrosRestore.png]] |
| 287 | ))) | ||
| 288 | <!~-- </ Restore Boxes> ~--> | ||
| 289 | |||
| 290 | = <span id="edit">Edit Boxes</span> = | ||
| 291 | |||
| |
330.1 | 292 | Toucan New |
| |
347.1 | 293 | <!~-- <Edit Boxes> ~--> |
| 294 | <p/> | ||
| |
315.1 | 295 | <div class="show"> |
| |
172.1 | 296 | #xwikimessageboxstart("Notice" "") |
| |
315.1 | 297 | <div class="xwikiBoxContainer"> |
| 298 | <div class="xwikiBoxMessage">The requested document could not be found.</div> | ||
| 299 | <div class="xwikiBoxAction">You can <a href="/xwiki/bin/edit/Main/asd">edit this page</a> to create it.</div> | ||
| 300 | </div> | ||
| |
172.1 | 301 | #xwikimessageboxend() |
| |
315.1 | 302 | </div> |
| |
347.1 | 303 | <p/> |
| |
330.1 | 304 | Toucan Old |
| |
172.1 | 305 | #xwikimessageboxstart("Notice" "") |
| |
315.1 | 306 | <p class="xwikimessage">The requested document could not be found.</p> |
| 307 | You can <a href="/xwiki/bin/edit/Main/asd">edit this page</a> to create it. | ||
| |
172.1 | 308 | #xwikimessageboxend() |
| |
347.1 | 309 | <p/> |
| 310 | Albatros | ||
| |
332.1 | 311 | |
| |
347.1 | 312 | (% class="center" %)((( [[image:AlbatrosEdit.png]] |
| 313 | ))) | ||
| 314 | <!~-- </ Edit Boxes> ~--> | ||
| |
315.1 | 315 | <br/> |
| |
327.1 | 316 | |
| |
347.1 | 317 | = <span id="delete">Delete Boxes</span> = |
| 318 | |||
| |
330.1 | 319 | Toucan New |
| |
347.1 | 320 | <!~-- <Recycle Boxes> ~--> |
| 321 | <p/> | ||
| |
315.1 | 322 | <div class="show"> |
| |
172.1 | 323 | #xwikimessageboxstart("Delete" "") |
| |
315.1 | 324 | <div class="xwikiBoxContainer"> |
| 325 | <div class="xwikiBoxMessage">Are you sure you wish to move this document to the recycle bin?</div> | ||
| 326 | <div class="buttons"> | ||
| 327 | <span class="buttonwrapper" href="/xwiki/bin/delete/Main/SessionDebugger?confirm=1"> | ||
| 328 | <input type="button" onclick="location='/xwiki/bin/delete/Main/SessionDebugger?confirm=1'; return false;" value="delete" class="button"/> | ||
| 329 | </span> | ||
| 330 | <span href="/xwiki/bin/view/Main/SessionDebugger"> | ||
| 331 | <input type="button" onclick="location='/xwiki/bin/view/Main/SessionDebugger'; return false;" value="cancel" class="secondaryButton"/> | ||
| 332 | </span> | ||
| 333 | </div> | ||
| 334 | </div> | ||
| |
172.1 | 335 | #xwikimessageboxend() |
| |
315.1 | 336 | </div> |
| |
347.1 | 337 | <p/> |
| |
330.1 | 338 | Toucan Old |
| |
347.1 | 339 | <p/> |
| |
172.1 | 340 | #xwikimessageboxstart("Delete" "") |
| |
315.1 | 341 | <p class="xwikimessage">Are you sure you wish to move this document to the recycle bin?</p> |
| |
347.1 | 342 | <p/> |
| |
315.1 | 343 | <div class="buttons"> |
| 344 | <a href="/xwiki/bin/delete/Main/SessionDebugger?confirm=1"> | ||
| 345 | <input type="button" onclick="location='/xwiki/bin/delete/Main/SessionDebugger?confirm=1'; return false;" value="yes" class="button"/> | ||
| |
172.1 | 346 | </a> |
| |
315.1 | 347 | <a href="/xwiki/bin/view/Main/SessionDebugger"> |
| 348 | <input type="button" onclick="location='/xwiki/bin/view/Main/SessionDebugger'; return false;" value="no" class="button"/> | ||
| 349 | </a> | ||
| 350 | </div> | ||
| |
336.1 | 351 | </div> |
| 352 | #xwikimessageboxend() | ||
| |
347.1 | 353 | <!~-- </ Recycle Boxes> ~--> |
| 354 | {{/html}} | ||
| 355 | {{/velocity}} | ||
| |
335.1 | 356 | |
| 357 | Albatros | ||
| |
173.1 | 358 | |
| |
347.1 | 359 | (% class="center" %) |
| 360 | ((( | ||
| 361 | [[image:AlbatrosDelete.png]] | ||
| 362 | ))) |