Wiki source code of Application Within Minutes - Prototype Editor I1 Preferences
Last modified by Vincent Massol on 2024/11/19 16:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity output="false"}} | ||
| 2 | $xwiki.ssx.use('XWiki.AdminSheet')## | ||
| 3 | $xwiki.ssfx.use('js/xwiki/editors/dataeditors.css', true) ## | ||
| 4 | $xwiki.jsfx.use('js/xwiki/editors/dataeditors.js', true)## | ||
| 5 | $xwiki.ssx.use('Improvements.ApplicationWithinMinutesEditor')## | ||
| 6 | $xwiki.jsx.use('Improvements.ApplicationWithinMinutesEditor')## | ||
| 7 | #includeForm('Improvements.ApplicationWithinMinutesEditor') ## | ||
| 8 | $xwiki.ssx.use('XWiki.WysiwygEditorConfigSheet') ## | ||
| 9 | {{/velocity}} | ||
| 10 | |||
| 11 | {{velocity}} | ||
| 12 | {{html wiki="true"}} | ||
| 13 | <div id="editor"> | ||
| 14 | #appHeader('preferences') | ||
| 15 | <div class="editor-body expandedHelp collapsedNavigation"> | ||
| 16 | <div class="editor-content"> | ||
| 17 | <h2>Color Themes Preferences</h2> | ||
| 18 | |||
| 19 | <div class="xform"> | ||
| 20 | <dl> | ||
| 21 | <dt> | ||
| 22 | <label>Application Name</label> | ||
| 23 | <span class="xHint">the name of the application will appear in the title and also in the auto-generated page names</span> | ||
| 24 | </dt> | ||
| 25 | <dd class="appTitle"><input type="text" name="title" value="Color Themes Application | ||
| 26 | " size="60"></dd> | ||
| 27 | |||
| 28 | <dt> | ||
| 29 | <label>Application Icon</label> | ||
| 30 | <span class="xHint">the icon will identify the application within the wiki</span> | ||
| 31 | </dt> | ||
| 32 | <dd> | ||
| 33 | <div class="attachment-picker"> | ||
| 34 | <div class="displayed x-attachment"> | ||
| 35 | <img width="30" src="/xwiki/bin/download/Improvements/ApplicationWithinMinutesEditor/preferences-system-windows.png" alt="Color Themes Application"/> | ||
| 36 | </div> | ||
| 37 | </div> | ||
| 38 | <form class="uploadAttachment xform" id="uploadAttachment" method="post" enctype="multipart/form-data" action="/xwiki/bin/upload/XWiki/Admin"> | ||
| 39 | <div class="gallery_upload_input"> | ||
| 40 | <span class="xHint"> </span> | ||
| 41 | <input type="file" title="png, jpg, gif" size="30" class="attachment" id="attachfile" name="filepath"> | ||
| 42 | <span class="buttonwrapper iconAction"> | ||
| 43 | <input type="submit" title="Upload and select" value="Upload" class="button secondary" name="action_upload"> | ||
| 44 | </span> | ||
| 45 | </div> | ||
| 46 | </form> | ||
| 47 | <div class="clearfloats"></div> | ||
| 48 | </dd> | ||
| 49 | |||
| 50 | <dt> | ||
| 51 | <label>Applicaton Description</label> | ||
| 52 | <span class="xHint">the description contains a short resume of what the application does and what kind of data it will handle</span> | ||
| 53 | </dt> | ||
| 54 | <dd> | ||
| 55 | <textarea cols="60" name="description" rows="4"> | ||
| 56 | Color Themes permit fast and easy modifications of your wiki's look and feel. | ||
| 57 | </textarea> | ||
| 58 | </dd> | ||
| 59 | |||
| 60 | <dt> | ||
| 61 | <label>List entries on the homepage?</label> | ||
| 62 | <span class="xHint">application entries will be displayed in a livetable so they can be filtered and managed</span> | ||
| 63 | </dt> | ||
| 64 | <dd> | ||
| 65 | <div><label><input type="radio" value="1" name="activateTable" checked="checked">Yes</label></div> | ||
| 66 | <div><label><input type="radio" value="0" name="activateTable">No</label></div> | ||
| 67 | </dd> | ||
| 68 | |||
| 69 | <dt> | ||
| 70 | <label>Entries livetable fields</label> | ||
| 71 | <span class="xHint">Select the fields you would like to display on the homepage for the application entries</span> | ||
| 72 | </dt> | ||
| 73 | <dd> | ||
| 74 | <div class="hSortableWrapper"> | ||
| 75 | <div><input type="text" class="withTip blurred" value="Add field ..."><input type="image" alt="Add" src="/xwiki/resources/icons/silk/add.gif" title="Add" class="icon"></div> | ||
| 76 | <ul class="hSortable" id="anonymous_element_1"> | ||
| 77 | <li><span title="Drag and drop to change the order" class="value">Page</span><span class="separator">[</span><span class="delete" title="Delete">X</span><span class="separator">]</span></li> | ||
| 78 | <li><span title="Drag and drop to change the order" class="value">Date</span><span class="separator">[</span><span class="delete" title="Delete">X</span><span class="separator">]</span></li> | ||
| 79 | <li><span title="Drag and drop to change the order" class="value">Last Author</span><span class="separator">[</span><span class="delete" title="Delete">X</span><span class="separator">]</span></li> | ||
| 80 | <li><span title="Drag and drop to change the order" class="value">Actions</span><span class="separator">[</span><span class="delete" title="Delete">X</span><span class="separator">]</span></li> | ||
| 81 | </ul> | ||
| 82 | </div> | ||
| 83 | </dd> | ||
| 84 | |||
| 85 | <dt> | ||
| 86 | <label>Entries livetable options</label> | ||
| 87 | <span class="xHint">Enable or disable some optional features for the entries livetable</span> | ||
| 88 | </dt> | ||
| 89 | <dd> | ||
| 90 | <div><label><input type="checkbox" value="1" name="activateTable">Enable Excel export on livetable</label></div> | ||
| 91 | <div><label><input type="checkbox" value="1" name="activateTable">Hide edit buttons on the homepage</label></div> | ||
| 92 | </dd> | ||
| 93 | |||
| 94 | </dl> | ||
| 95 | #saveButtons() | ||
| 96 | </div> | ||
| 97 | </div> | ||
| 98 | <div class="editor-help"> | ||
| 99 | <a href="#" class="toolHelp" title="Expand help area"> </a> | ||
| 100 | <div class="examples"> | ||
| 101 | <div class="controls"> | ||
| 102 | <div class="left first"></div> | ||
| 103 | <div class="right" title="Next tip"></div> | ||
| 104 | </div> | ||
| 105 | <p><strong>Tips</strong> | ||
| 106 | You can change the columns the livetable will display on the application homepage by using the <strong class="setting">Entries Livetable Fields</strong> area.</p> | ||
| 107 | <p>The autouggest will guide you through the selection process. You can select to display any property from your [[class definition>>Improvements.ApplicationWithinMinutesEditorClass]].</p> | ||
| 108 | <p>Additionally you can have standard XWiki columns, like:</p> | ||
| 109 | <dl> | ||
| 110 | <dt>Page</dt> | ||
| 111 | <dd>the name of the page that contains an application entry </dd> | ||
| 112 | <dt>Date</dt> | ||
| 113 | <dd>the date at which the entry has been last modified</dd> | ||
| 114 | <dt>Last Author</dt> | ||
| 115 | <dd>the username of the last author of the document</dd> | ||
| 116 | <dt>Actions</dt> | ||
| 117 | <dd>a list of actions that can be performed on the matched entries</dd> | ||
| 118 | <dt></dt> | ||
| 119 | <dd>See the complete list of [[standard columns>>http://extensions.xwiki.org/xwiki/bin/view/Extension/Livetable+Macro]].</dd> | ||
| 120 | </dl> | ||
| 121 | </div> | ||
| 122 | </div> | ||
| 123 | <div class="clearfloats"></div> | ||
| 124 | </div> | ||
| 125 | <div class="clearfloats"></div> | ||
| 126 | </div> | ||
| 127 | {{/html}} | ||
| 128 | {{/velocity}} |