Wiki source code of Boxes Example
Last modified by Vincent Massol on 2024/11/19 16:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity filter="none"}} | ||
| 2 | {{html clean="false" wiki="true"}} | ||
| 3 | $xwiki.ssx.use("Improvements.BoxExample") | ||
| 4 | <p/> | ||
| 5 | {{info}}The CSS on this page is no longer recent. Page used just for demo {{/info}} | ||
| 6 | |||
| 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]] | ||
| 11 | |||
| 12 | = Login Boxes = | ||
| 13 | |||
| 14 | <span id="login"></span> | ||
| 15 | Toucan New | ||
| 16 | <!~-- <Login Boxes> ~--> | ||
| 17 | <p/> | ||
| 18 | <div class="show"> | ||
| 19 | #xwikimessageboxstart("Login" "") | ||
| 20 | <div class="xwikiBoxContainer"> | ||
| 21 | <table class="xwikiBoxLogin"> | ||
| 22 | <tbody> | ||
| 23 | <tr> | ||
| 24 | <th> | ||
| 25 | <label>Username</label> | ||
| 26 | </th> | ||
| 27 | </tr> | ||
| 28 | <tr> | ||
| 29 | <td> | ||
| 30 | <input type="text" value="" name="j_username" id="j_username" class="inputTextPassword"/> | ||
| 31 | </td> | ||
| 32 | </tr> | ||
| 33 | <tr> | ||
| 34 | <th> | ||
| 35 | <label>Password</label> | ||
| 36 | </th> | ||
| 37 | </tr> | ||
| 38 | <tr> | ||
| 39 | <td> | ||
| 40 | <input type="password" value="" name="j_password" id="j_password" class="inputTextPassword"/> | ||
| 41 | </td> | ||
| 42 | </tr> | ||
| 43 | <tr> | ||
| 44 | <td> | ||
| 45 | <div class="xwikiBoxLoginRemember"><input type="checkbox" value="true" name="j_rememberme" id="rememberme"/>Remember me on this computer</div> | ||
| 46 | </td> | ||
| 47 | </tr> | ||
| 48 | <tr> | ||
| 49 | <td> | ||
| 50 | <span class="buttonwrapper"> | ||
| 51 | <input type="submit" value="Login" class="button"/> | ||
| 52 | </span> | ||
| 53 | </td> | ||
| 54 | </tr> | ||
| 55 | <tr> | ||
| 56 | <td> | ||
| 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> | ||
| 62 | </td> | ||
| 63 | </tr> | ||
| 64 | </tbody> | ||
| 65 | </table> | ||
| 66 | </div> | ||
| 67 | #xwikimessageboxend() | ||
| 68 | </div> | ||
| 69 | <p/> | ||
| 70 | Toucan Old | ||
| 71 | #xwikimessageboxstart("Login" "") | ||
| 72 | <table summary="loginform" class="xwikilogintable"> | ||
| 73 | <tbody> | ||
| 74 | <tr> | ||
| 75 | <th> | ||
| 76 | <label for="j_username">Username:</label> | ||
| 77 | </th> | ||
| 78 | <td> | ||
| 79 | <input type="text" value="" name="j_username" id="j_username"/> | ||
| 80 | </td> | ||
| 81 | </tr> | ||
| 82 | <tr> | ||
| 83 | <th> | ||
| 84 | <label for="j_password">Password:</label> | ||
| 85 | </th> | ||
| 86 | <td> | ||
| 87 | <input type="password" value="" name="j_password" id="j_password"/> | ||
| 88 | </td> | ||
| 89 | </tr> | ||
| 90 | <tr> | ||
| 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> | ||
| 94 | </td> | ||
| 95 | </tr> | ||
| 96 | </tbody> | ||
| 97 | </table> | ||
| 98 | <p/> | ||
| 99 | <div class="buttons"> | ||
| 100 | <input type="submit" value="Login" class="button"/> | ||
| 101 | </div> | ||
| 102 | <p/> | ||
| 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> | ||
| 106 | #xwikimessageboxend() | ||
| 107 | <!~-- </Login Boxes> ~--> | ||
| 108 | <p/> | ||
| 109 | Albatros New | ||
| 110 | |||
| 111 | (% class="center" %)((( [[image:AlbatrosLogin.png]] | ||
| 112 | ))) | ||
| 113 | |||
| 114 | Albatros Old | ||
| 115 | |||
| 116 | (% class="center" %)((( [[image:OldAlbatrosLogin.png]] | ||
| 117 | ))) | ||
| 118 | |||
| 119 | = <span id="delrestore">Delete/Restore Boxes</span> = | ||
| 120 | |||
| 121 | Toucan New | ||
| 122 | <!~-- <Delete/Restore Boxes> ~--> | ||
| 123 | <p/> | ||
| 124 | <div class="show"> | ||
| 125 | #xwikimessageboxstart("Notice" "") | ||
| 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"> | ||
| 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> | ||
| 144 | <span class="wikilink"> | ||
| 145 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Mihai Emanuel Valica</a> | ||
| 146 | </span> | ||
| 147 | </td> | ||
| 148 | <td> | ||
| 149 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> | ||
| 150 | </td> | ||
| 151 | <td> | ||
| 152 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> | ||
| 153 | </td> | ||
| 154 | <td> | ||
| 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 | ||
| 157 | </a> | ||
| 158 | </td> | ||
| 159 | </tr> | ||
| 160 | </tbody> | ||
| 161 | </table> | ||
| 162 | </div> | ||
| 163 | </div> | ||
| 164 | #xwikimessageboxend() | ||
| 165 | </div> | ||
| 166 | <p/> | ||
| 167 | <div class="show"> | ||
| 168 | #xwikimessageboxstart("Notice" "") | ||
| 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"> | ||
| 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> | ||
| 186 | <span class="wikilink"> | ||
| 187 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Valica</a> | ||
| 188 | </span> | ||
| 189 | </td> | ||
| 190 | <td> | ||
| 191 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> | ||
| 192 | </td> | ||
| 193 | <td> | ||
| 194 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> | ||
| 195 | </td> | ||
| 196 | <td> | ||
| 197 | </td> | ||
| 198 | </tr> | ||
| 199 | </tbody> | ||
| 200 | </table> | ||
| 201 | </div> | ||
| 202 | </div> | ||
| 203 | #xwikimessageboxend() | ||
| 204 | </div> | ||
| 205 | <p/> | ||
| 206 | Toucan Old | ||
| 207 | <p/> | ||
| 208 | #xwikimessageboxstart("Notice" "") | ||
| 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. | ||
| 211 | <p/> | ||
| 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() | ||
| 247 | <p/> | ||
| 248 | #xwikimessageboxstart("Notice" "") | ||
| 249 | <p class="xwikimessage">The requested document could not be found.</p> | ||
| 250 | <p/> | ||
| 251 | <div class="centered"> | ||
| 252 | <p>The following versions are in the recycle bin:</p> | ||
| 253 | <table class="centered"> | ||
| 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> | ||
| 266 | <span class="wikilink"> | ||
| 267 | <a href="/xwiki/bin/view/XWiki/evalica">Ecaterina Valica</a> | ||
| 268 | </span> | ||
| 269 | </td> | ||
| 270 | <td> | ||
| 271 | <a href="/xwiki/bin/view/Main/Plop?viewer=recyclebin&id=69">2009/04/15 12:28</a> | ||
| 272 | </td> | ||
| 273 | <td> | ||
| 274 | <a href="/xwiki/bin/undelete/Main/Plop?id=69">Restore</a> | ||
| 275 | </td> | ||
| 276 | <td> | ||
| 277 | </td> | ||
| 278 | </tr> | ||
| 279 | </tbody> | ||
| 280 | </table> | ||
| 281 | </div> | ||
| 282 | #xwikimessageboxend() | ||
| 283 | <p/> | ||
| 284 | Albatros | ||
| 285 | |||
| 286 | (% class="center" %)((( [[image:AlbatrosRestore.png]] | ||
| 287 | ))) | ||
| 288 | <!~-- </ Restore Boxes> ~--> | ||
| 289 | |||
| 290 | = <span id="edit">Edit Boxes</span> = | ||
| 291 | |||
| 292 | Toucan New | ||
| 293 | <!~-- <Edit Boxes> ~--> | ||
| 294 | <p/> | ||
| 295 | <div class="show"> | ||
| 296 | #xwikimessageboxstart("Notice" "") | ||
| 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> | ||
| 301 | #xwikimessageboxend() | ||
| 302 | </div> | ||
| 303 | <p/> | ||
| 304 | Toucan Old | ||
| 305 | #xwikimessageboxstart("Notice" "") | ||
| 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. | ||
| 308 | #xwikimessageboxend() | ||
| 309 | <p/> | ||
| 310 | Albatros | ||
| 311 | |||
| 312 | (% class="center" %)((( [[image:AlbatrosEdit.png]] | ||
| 313 | ))) | ||
| 314 | <!~-- </ Edit Boxes> ~--> | ||
| 315 | <br/> | ||
| 316 | |||
| 317 | = <span id="delete">Delete Boxes</span> = | ||
| 318 | |||
| 319 | Toucan New | ||
| 320 | <!~-- <Recycle Boxes> ~--> | ||
| 321 | <p/> | ||
| 322 | <div class="show"> | ||
| 323 | #xwikimessageboxstart("Delete" "") | ||
| 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> | ||
| 335 | #xwikimessageboxend() | ||
| 336 | </div> | ||
| 337 | <p/> | ||
| 338 | Toucan Old | ||
| 339 | <p/> | ||
| 340 | #xwikimessageboxstart("Delete" "") | ||
| 341 | <p class="xwikimessage">Are you sure you wish to move this document to the recycle bin?</p> | ||
| 342 | <p/> | ||
| 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"/> | ||
| 346 | </a> | ||
| 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> | ||
| 351 | </div> | ||
| 352 | #xwikimessageboxend() | ||
| 353 | <!~-- </ Recycle Boxes> ~--> | ||
| 354 | {{/html}} | ||
| 355 | {{/velocity}} | ||
| 356 | |||
| 357 | Albatros | ||
| 358 | |||
| 359 | (% class="center" %) | ||
| 360 | ((( | ||
| 361 | [[image:AlbatrosDelete.png]] | ||
| 362 | ))) |