Skip to content

Conversation

@maxtortime
Copy link

folder.html: change structure to table
filesystem.py: can show file size and modified date
manager.py: run server from local for testing

I integrated file view and folder view to one table.
Also we can know file size and modified date.

I think that folder and file need to distinguish by each color.

Thanks.

folder.html: change structure to table
filesystem.py: can show file size and modified date
manager.py: run server from local for testing
@maxtortime
Copy link
Author

'folder.html' has some modal for making directory.
I will make a button for that modal.

@@ -1,11 +1,12 @@
# -*- coding: utf-8 -*-
import os
from flask import Flask, render_template, redirect, request
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxtortime why did you remove render_template, would it work without it?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used Pycharm and It works fine.
But I don't know why it works fine and Pycharm remove 'render_template'.
I'll find the reason.

@summerisgone
Copy link
Member

@maxtortime I think this PR should have more general-purpose changes to be merged. For now it looks like it's adapted to some specific project.

FYI this project is only for educational purpose, it's students' lab work. Don't consider using it in production :)

@maxtortime
Copy link
Author

Sure, I just improved this project for my hobby.

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

Successfully merging this pull request may close these issues.

2 participants