Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List view? #6

Open
wsabol opened this issue May 13, 2022 · 2 comments
Open

List view? #6

wsabol opened this issue May 13, 2022 · 2 comments

Comments

@wsabol
Copy link

wsabol commented May 13, 2022

This is exactly what I need for functionality - Is there any way to present the file/folders in list view?

@jcubic
Copy link
Owner

jcubic commented May 13, 2022

The view of the files and directories is all created in CSS. With little bit of CSS knowledge you should be able to create a list view.

The HTML looks like this from the Codepen demo:

<div class="browser browser-widget">
  <div class="toolbar">
    <div class="adress-bar"><button class="home">Home</button><input /></div>
    <ul class="labels">
      <li class="back disabled">back</li>
      <li class="up disabled">up</li>
      <li class="refresh">refresh</li>
    </ul>
  </div>
  <div class="content">
    <ul>
      <li class="directory" draggable="true"><span>foo</span></li>
      <li class="directory" draggable="true"><span>bar</span></li>
      <li class="file txt" draggable="true"><span>baz.txt</span></li>
      <li class="file txt" draggable="true"><span>quux.txt</span></li>
      <li class="file svg" draggable="true"><span>lorem.svg</span></li>
      <li class="file doc" draggable="true"><span>ipsum.doc</span></li>
      <li class="file txt" draggable="true"><span>dolor.txt</span></li>
      <li class="file jpg" draggable="true"><span>sit.jpg</span></li>
      <li class="file gif" draggable="true"><span>amet.gif</span></li>
    </ul>
    <div class="selection" style="display: none;"></div>
  </div>
</div>

As you can see it's just a list of files and directories.

@jcubic
Copy link
Owner

jcubic commented May 14, 2022

I don't have much time to work on this project, but I offer paid support. If you want I can code the list view for you. It should not take long.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants