shell.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <div class="row-fluid">
  2. <aside class="col-sm-2 col-md-2">
  3. <div data-bind="widget: {kind:'filebrowser'}"></div>
  4. </aside>
  5. <main class="col-sm-10 col-md-6" id="main">
  6. <pre data-bind="visible: content">
  7. <code data-bind="attr: {css: type}, text: content" id="editor"></code>
  8. </pre>
  9. <span class="text-center" data-bind="visible: !content()">Open file to view it.</span>
  10. </main>
  11. <aside class="col-sd-12 col-md-4" id="helpPane">
  12. <h2>Welcome to the filebrowser Durandal widget demo</h2>
  13. <p>
  14. This <a href="http://durandaljs.com/" target="_blank">Durandal</a> widget allows to display a folder tree and add some actions to manipulate this items.
  15. <ul>
  16. <li>A clic on a file or folder selects it.
  17. <li>A double-clic opens / closes a folder</li>
  18. <li>A double-clic displays the file content in the editor</li>
  19. <li>
  20. A right-clic opens a context menu with different options :
  21. <ul>
  22. <li>Rename the item</li>
  23. <li>Copy the selected item(s)</li>
  24. <li>Paste the selected item(s)</li>
  25. <li>Create an item (in a folder)</li>
  26. <li>Delete an item (and its components)</li>
  27. </ul>
  28. </li>
  29. </ul>
  30. </p>
  31. </aside>
  32. </div>