Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
ee1c856
Basic Structure
gonzalogarahuetes Nov 3, 2021
483eece
Folders are printed
gonzalogarahuetes Nov 3, 2021
ede49b8
hello
gonzalogarahuetes Nov 3, 2021
570e26f
idk
gonzalogarahuetes Nov 3, 2021
64b4d02
Add new_folder.php
Nov 3, 2021
5a22aaa
Make a push
Nov 3, 2021
8d80ac5
first aproach
jaimealcalde Nov 3, 2021
3c27a0b
Give an icon for each folder/file
Nov 3, 2021
19caabc
function to select files
gonzalogarahuetes Nov 3, 2021
d6ac794
add styles
tamtran2885 Nov 3, 2021
db2a1ea
add styles
tamtran2885 Nov 4, 2021
2c8291e
add styles
tamtran2885 Nov 4, 2021
cc8f0e8
Right Bar works
gonzalogarahuetes Nov 4, 2021
93a9c77
After merge
gonzalogarahuetes Nov 4, 2021
8422de9
After merge
gonzalogarahuetes Nov 4, 2021
ab7352e
RightBar improved; Delete button works
gonzalogarahuetes Nov 4, 2021
8056c14
add upload button
tamtran2885 Nov 4, 2021
c45c918
upload file
tamtran2885 Nov 4, 2021
4214714
Delete and Edit Buttons
gonzalogarahuetes Nov 4, 2021
3d1f8be
add style landing page
tamtran2885 Nov 5, 2021
3263d27
...
tamtran2885 Nov 5, 2021
30bc670
Radical change of styles
gonzalogarahuetes Nov 5, 2021
e532af8
add file rightbar
tamtran2885 Nov 5, 2021
53d58a5
add css
jaimealcalde Nov 5, 2021
a59152f
delete declared functions
tamtran2885 Nov 5, 2021
fc2b1a4
Trash Working
gonzalogarahuetes Nov 5, 2021
949790d
Working on sign up
gonzalogarahuetes Nov 5, 2021
b25900a
Signup and login systems work!
gonzalogarahuetes Nov 5, 2021
be91453
fix upload function
tamtran2885 Nov 8, 2021
1c793ba
merge master change
tamtran2885 Nov 8, 2021
50ad05f
Before Merge
gonzalogarahuetes Nov 8, 2021
6922aba
Minor bugs fixed
gonzalogarahuetes Nov 8, 2021
278516e
add styles
tamtran2885 Nov 8, 2021
869c96c
add register
tamtran2885 Nov 8, 2021
981372c
previsualized finish
jaimealcalde Nov 8, 2021
3f60b88
change url
jaimealcalde Nov 8, 2021
197ddc6
firts commit failed
jaimealcalde Nov 8, 2021
f224eae
fix path
tamtran2885 Nov 8, 2021
c3c5cc5
fix error
tamtran2885 Nov 8, 2021
eba055f
merge jaime
tamtran2885 Nov 8, 2021
bb8e792
merge master
tamtran2885 Nov 8, 2021
98259e2
Minor fixes
gonzalogarahuetes Nov 9, 2021
6805575
modify variables and paths
tamtran2885 Nov 9, 2021
1ae105e
add styles
tamtran2885 Nov 9, 2021
7b9761a
moddify _head
tamtran2885 Nov 9, 2021
a998b6d
fix styles
tamtran2885 Nov 9, 2021
0cae5f2
After merge
gonzalogarahuetes Nov 9, 2021
b206262
Merge branch 'master' of https://github.com/gonzalogarahuetes/filesys…
gonzalogarahuetes Nov 9, 2021
7ebf519
Major fixes, searching for bugs
gonzalogarahuetes Nov 9, 2021
3fda8da
Presentation and Case Diagram
gonzalogarahuetes Nov 9, 2021
62a5ef1
add file
tamtran2885 Nov 9, 2021
0299173
delete unrelated code
tamtran2885 Nov 9, 2021
ee90673
add readme
tamtran2885 Nov 9, 2021
2ab46ae
add readme
tamtran2885 Nov 9, 2021
1140c62
external visualice files
jaimealcalde Nov 9, 2021
70a685b
actulized
jaimealcalde Nov 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 23 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,72 +1,38 @@
`#html` `#css` `#js` `#php` `#master-in-software-engineering`
# PHP Local FileSystem explorer

# PHP Local FileSystem explorer <!-- omit in toc -->
The main objective of this project is to replicate a system file explorer that allows the user to navigate, create directories and upload files in the same way as he would in his usual operating system. In order to get access to the dashboard, users need to be authenticated. Each user can only navigate through his/her personal directory which is located in root.

<p>
<img alt="Version" src="https://img.shields.io/badge/version-1.0-blue.svg?cacheSeconds=2592000" />
</p>
## Index

>In this project you will have to create a system file explorer that allows the user to navigate, create directories and upload files in the same way as he would in his usual operating system.

>The file explorer is a tool that allows you to directly view and manipulate the files and directories associated with a path, so you must take into account from which path the user starts and which path they can access.


## Index <!-- omit in toc -->

- [Requirements](#requirements)
- [Repository](#repository)
- [Table of Contents](#table-of-contents)
- [Technologies used](#technologies-used)
- [Project delivery](#project-delivery)
- [Author](#author)
- [Resources](#resources)

## Requirements

- You cannot use file third-party libraries
- You will not be able to use global variables in PHP.
- You must use GIT
- You must use the PHP > v7
- Create a clear and orderly directory structure
- Both the code and the comments must be written in English
- Use the camelCase code style to define variables and functions
- In the case of using HTML, never use inline styles
- In the case of using different programming languages ​​always define the implementation in separate terms
- Remember that it is important to divide the tasks into several sub-tasks so that in this way you can associate each particular step of the construction with a specific commit
- You should try as much as possible that the commits and the planned tasks are the same
Delete files that are not used or are not necessary to evaluate the project

## Repository

First of all you must fork this project into your GitHub account.
## Table of Contents

To create a fork on GitHub is as easy as clicking the “fork” button on the repository page.

<img src="https://docs.github.com/assets/images/help/repository/fork_button.jpg" alt="Fork on GitHub" width='450'>
| File / Folder | Description |
| ------------------- | ---------------------------------------------------------- |
| `assets` | CSS, Javascript, images, data, icons |
| `config` | Application configuration |
| `inc` | Snippets to share among pages |
| `public` | Files that can be directly accessed via HTTP/HTTPS |
| `package.json` | List the packages the project depends on |
| `package-lock.json` | Keep track of the exact version of every package installed |

## Technologies used

\* HTML

\* CSS

\* JS

\* PHP

## Project delivery

To deliver this project you must follow the steps indicated in the document:

- [Submitting a solution](https://www.notion.so/Submitting-a-solution-524dab1a71dd4b96903f26385e24cdb6)
- PHP
- Javascript
- HTML
- CSS

- You must include the project documentation in PDF format.
- You must include a presentation in PDF format explaining:
- Comparison of the original design (Wireframe) with the final result of the project
- Comparison of the use case diagram with the actions that the user can finally perform
- Comparison of the original use case diagram with the final user actions
- What lessons you’ve learned during this project
- What problems have you encountered when developing this project?
- How you have organized and distributed the tasks
## Author

- [@Gonzalo](https://github.com/gonzalogarahuetes)
- [@Jaime](https://github.com/jaimealcalde)
- [@Salvador](https://github.com/SalvaBandicoot)
- [@tam](https://github.com/tamtran2885)

## Resources

Expand Down
106 changes: 106 additions & 0 deletions assets/css/editing-modal.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/*---------------------------------EDITING MODAL-------------------------------------*/

.editing__modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
background: rgba(0, 0, 0, 0.8);
cursor: pointer;
visibility: hidden;
opacity: 0;
transition: all 0.35s ease-in;
}
.editing__modal.is-visible {
visibility: visible;
opacity: 1;
}

.modal-dialog {
position: relative;
max-width: 800px;
max-height: 80vh;
border-radius: 5px;
background: white;
overflow: auto;
cursor: default;
}

.modal-dialog > * {
padding: 1rem;
}

.modal-footer {
background: lightblue;
text-align: center;
}

.modal__title {
color: rgba(0, 136, 169, 1);
margin-left: 1rem;
}

.modal-header {
background: lightblue;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 1.25rem;
}

[data-animation="slideInOutLeft"] .modal-dialog {
opacity: 0;
transform: translateX(-100%);
transition: all 0.5s var(--bounceEasing);
}

[data-animation="slideInOutLeft"].is-visible .modal-dialog {
opacity: 1;
transform: none;
transition-delay: 0.2s;
}

.close-modal {
padding: 0.5rem;
border-radius: 50%;
border: none;
color: white;
background-color: rgba(0, 136, 169, 1);
font-size: 0.5rem;
}

.close-modal:hover {
background-color: rgba(0, 136, 169, 0.7);
cursor: pointer;
}

.modal__input {
padding: 1rem;
font-size: 1.5;
border: 2px solid rgba(0, 136, 169, 1);
border-radius: 0.3rem;
margin: 0.5rem 0.5rem 0 0;
}

.modal__input:focus {
background-color: lightblue;
}

.modal__btn {
color: white;
padding: 1rem;
border-radius: 0.3rem;
border: none;
background-color: rgba(0, 136, 169, 1);
margin: 0.5rem 0.5rem;
cursor: pointer;
}

.modal__btn:hover {
background-color: rgba(0, 136, 169, 0.7);
}
46 changes: 46 additions & 0 deletions assets/css/header.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
background: lightblue;
}

.header__logout {
background-color: white;
border-radius: 1rem;
border: 1.5px solid rgba(0, 136, 169, 1);
margin-right: 1rem;
padding: 0.5rem 1rem;
text-decoration: none;
color: rgba(0, 136, 169, 1);
}

.header__logout:hover {
background-color: rgba(0, 136, 169, 1);
border: 1.5px solid white;
color: white;
box-shadow: 5px 10px 18px rgba(0, 136, 169, 0.5);
}

.header__search {
font-size: 16px;
padding: 0.5em 1rem;
background-color: #fff;
border: 1px solid rgba(0, 136, 169, 1);
border-radius: 1rem;
width: 200px;
margin: 15px 0;
}

.header__search::placeholder {
color: rgba(0, 136, 169, 1);
}

.header__search:focus {
outline: none;
background-color: rgba(0, 136, 169, 1);
border: 1.5px solid white;
color: white;
box-shadow: 5px 10px 18px rgba(0, 136, 169, 0.5);
}
129 changes: 129 additions & 0 deletions assets/css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
/*----------------------------------------LOGIN---------------------------------------*/

.darkbg {
display: flex;
flex-direction: column;
gap: 2rem;
text-align: center;
height: 100vh;
width: 100vw;
background-image: url("../img/dark-background-images-5561-5821-hd-wallpapers.jpg");
background-repeat: no-repeat;
padding: 3rem;
}

.login__div {
background-color: white;
margin: auto;
width: 35%;
padding: 2rem;
border-radius: 0.3rem;
border: 1.5px solid rgba(0, 136, 169, 1);
box-shadow: 5px 10px 18px rgba(0, 136, 169, 0.5);
}

.login {
display: flex;
flex-direction: column;
gap: 1.3rem;
text-align: center;
}

.login__input {
outline: none;
padding: 0.5rem;
border-radius: 0.3rem;
background-color: lightblue;
color: black;
font-size: 1.2rem;
}

.login__input:focus {
background-color: rgba(0, 136, 169, 1);
color: white;
}

.login__input::placeholder {
color: rgba(0, 136, 169, 1);
}

.login__btn {
cursor: pointer;
padding: 0.5rem;
border-radius: 0.3rem;
font-size: 1.5rem;
background-color: rgba(0, 136, 169, 1);
color: white;
}

.login__btn:hover {
background-color: rgba(0, 136, 169, 0.6);
}

.login__title {
color: white;
font-size: 4rem;
margin: auto;
text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff,
0 0 42px rgba(0, 136, 169, 1), 0 0 82px rgba(0, 136, 169, 1),
0 0 92px rgba(0, 136, 169, 1), 0 0 102px rgba(0, 136, 169, 1),
0 0 151px rgba(0, 136, 169, 1);
}

.login__subtitle {
color: white;
font-size: 2rem;
}

.login__notlogged {
color: white;
font-size: 1.5rem;
}

.signup {
text-decoration: none;
color: lightblue;
}

.signup:hover {
text-shadow: 0 0 7px #fff, 0 0 10px #fff, 0 0 21px #fff,
0 0 42px rgba(0, 136, 169, 1), 0 0 82px rgba(0, 136, 169, 1),
0 0 92px rgba(0, 136, 169, 1), 0 0 102px rgba(0, 136, 169, 1),
0 0 151px rgba(0, 136, 169, 1);
}

.login__error {
margin: auto;
padding: 0.75rem;
width: 35%;
border: 1px solid rgba(241, 6, 6, 0.81);
background-color: rgba(220, 17, 1, 0.16);
box-shadow: 0px 0px 2px #ff0303;
color: #ff0303;
text-shadow: 2px 1px #00040a;
transition: 0.5s;
font-size: 1.2rem;
}

.login__error:hover {
background-color: rgba(220, 17, 1, 0.33);
transition: 0.5s;
}

.login__info {
margin: auto;
padding: 0.75rem;
width: 35%;
font-size: 1.2rem;
border: 1px solid rgba(36, 241, 6, 0.46);
background-color: rgba(7, 149, 66, 0.12156862745098039);
box-shadow: 0px 0px 2px #259c08;
color: #0ad406;
text-shadow: 2px 1px #00040a;
transition: 0.5s;
}

.login__info:hover {
background-color: rgba(7, 149, 66, 0.35);
transition: 0.5s;
}
Loading