-
Notifications
You must be signed in to change notification settings - Fork 0
/
explorer.html
204 lines (200 loc) · 10.5 KB
/
explorer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>DeskFile - Your file</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="Styles/Style.css" rel="stylesheet">
<script src="Script/main.js"></script>
<!-- Vos styles CSS ici -->
<style type="text/css">
body{
margin-top:20px;
background-color: #f1f3f7;
}
.search-box .form-control {
border-radius: 10px;
padding-left: 40px
}
.card {
margin-bottom: 24px;
}
.card {
position: relative;
display: flex;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-width: 0;
word-wrap: break-word;
background-color: #fff;
background-clip: border-box;
border: 1px solid #eff0f2;
border-radius: 1rem;
}
#search-box-button {
border-radius: 5px;
border-color: transparent;
padding: 5px;
font-size: 16px;
width: 100px;
margin-left: 25%;
background-color: rgba(207, 207, 207, 0.568);
cursor: pointer;
}
/* Style du menu déroulant */
.dropdown {
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 200px;
box-shadow: 0 4px 8px 0 rgba(201, 201, 201, 0.2);
z-index: 1;
border: 1px solid #ddd;
border-radius: 5px;
}
.dropdown:hover .dropdown-content {
display: block;
}
.dropdown-item {
padding: 12px 16px;
text-decoration: none;
display: block;
color: rgb(129, 129, 129)e7e;
transition: background-color 0.3s;
}
.dropdown-item:hover {
background-color: #ddd;
}
.dropdown-button {
background-color: transparent;
color: rgb(0, 0, 0);
border: none;
padding: 10px;
cursor: pointer;
border-radius: 5px;
}
.dropdown-button:hover {
background-color: #afafaf;
}
</style>
</head>
<body>
<div id="modal" class="modal">
<div class="modal-content">
<div class="wrapper">
<div class="upload-wrapper">
<div class="upload drop-area">
<div class="upload-info">
<svg
t="1581822650945"
class="clip"
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
p-id="3250"
width="20"
height="20"
>
<path
d="M645.51621918 141.21142578c21.36236596 0 41.79528808 4.04901123 61.4025879 12.06298852a159.71594214 159.71594214 0 0 1 54.26367236 35.87255836c15.84503198 16.07739258 27.76959252 34.13726783 35.78356909 54.13513184 7.86071778 19.30572486 11.76635766 39.80291724 11.76635767 61.53607177 0 21.68371583-3.90563989 42.22045875-11.76635767 61.54101586-8.01397729 19.99291992-19.95831275 38.02807617-35.78356909 54.08569313l-301.39672877 302.0839231c-9.21038818 9.22027564-20.15112281 16.48278832-32.74310277 21.77270508-12.29040503 4.81036401-24.54125953 7.19329834-36.82177783 7.19329834-12.29040503 0-24.56103516-2.38293433-36.85638427-7.19329834-12.63647461-5.28991675-23.53271461-12.55737281-32.7381587-21.77270508-9.55151367-9.58117675-16.69042992-20.44775367-21.50573731-32.57995583-4.7856443-11.61804223-7.15869117-23.91339135-7.15869188-36.9255979 0-13.14074708 2.37304688-25.55474854 7.16363524-37.19256639 4.81036401-11.94927954 11.94927954-22.78619408 21.50079395-32.55029274l278.11614966-278.46221923c6.45172119-6.51104737 14.22344971-9.75421118 23.27563501-9.75421119 8.8692627 0 16.54705787 3.24316383 23.03338622 9.75421119 6.47644019 6.49127173 9.73937964 14.18389916 9.73937964 23.08282495 0 9.0521853-3.26293945 16.81896972-9.73937964 23.32012891L366.97489888 629.73773218c-6.32812477 6.2935183-9.48724342 14.08007836-9.48724415 23.30529736 0 9.06701684 3.15417457 16.75964356 9.48724414 23.08776904 6.80273414 6.50610328 14.55963111 9.75915528 23.26574683 9.75915527 8.67150855 0 16.43334961-3.253052 23.27563501-9.76409935l301.37695313-302.04931665c18.93988037-18.96459937 28.40734887-42.04742432 28.40734814-69.25836158 0-27.16149926-9.4674685-50.26409912-28.40734815-69.22869849-19.44415283-19.13269043-42.55664086-28.72375464-69.31274438-28.72375536-26.97363258 0-49.99218727 9.59106422-69.1001587 28.72375536L274.3370815 536.89227319a159.99774146 159.99774146 0 0 0-35.80828883 54.33288526c-8.0337522 19.65179443-12.04321289 40.2824707-12.04321289 61.79809618 0 21.20910645 4.00451661 41.81011963 12.04321289 61.79809547 8.17218018 20.34393287 20.10168481 38.36920166 35.80828883 54.08569312 16.225708 16.06256104 34.30535888 28.13049292 54.23400854 36.15930176 19.91381813 8.0337522 40.47033667 12.06793189 61.64978002 12.0679326 21.13989281 0 41.70135474-4.03417969 61.63000513-12.0679326 19.91876221-8.02386474 38.01818872-20.09674073 54.2241211-36.15435768l300.86773656-301.53515601c6.47644019-6.50115991 14.23828125-9.76904273 23.28057912-9.76904344 8.88903833 0 16.56188941 3.26293945 23.04821776 9.76904344 6.48632836 6.48632836 9.7245481 14.17895508 9.7245481 23.06799269 0 9.09667992-3.23822046 16.8535769-9.7245481 23.37451172L552.40379244 815.35449242c-22.00012231 22.01989722-47.32745362 38.88336158-75.986938 50.49151564C449.10209565 877.14270043 420.37834101 882.78857422 390.21592671 882.78857422c-30.01904297 0-58.74279761-5.64587378-86.20587183-16.94256616-28.6842041-11.60815406-54.00659203-28.47161842-76.00671362-50.49151564a226.19586182 226.19586182 0 0 1-50.13061524-75.90289354A226.86328125 226.86328125 0 0 1 160.9697104 653.04797364c0-30.08331323 5.62115479-58.88122559 16.90795899-86.38385035 11.40545654-28.37768578 28.11566138-53.75939917 50.13061523-76.15997313h0.24719287L530.14164643 189.20135474c15.69177247-15.731323 33.68737817-27.70037818 53.98681641-35.89727735C604.09666377 145.26043701 624.55430562 141.23120141 645.51127583 141.23120141V141.21142578z"
p-id="3251"
></path>
</svg>
<span class="upload-filename inactive drop-text">No file selected</span>
</div>
<button class="upload-button">
<input type="file" id="file" onchange="uploadFile()"/>
<label for="file" class="upload-button-text">Choose file</label>
</button>
<div class="upload-hint">Uploading...</div>
<div class="upload-progress"></div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Barre de recherche -->
<div class="row">
<div class="col-lg-4 col-md-6">
<div class="menu-container">
<div class="dropdown">
<button class="dropdown-button">Fichier</button>
<div class="dropdown-content">
<a class="dropdown-item" href="javascript:openModal()">Upload File</a>
<a class="dropdown-item" href="javascript:RedirectToMainPage()">Exit</a>
</div>
</div>
<div class="dropdown">
<button class="dropdown-button">Edition</button>
<div class="dropdown-content">
<a class="dropdown-item" href="javascript:undo()">Undo</a>
<a class="dropdown-item" href="javascript:redo()">Redo</a>
<a class="dropdown-item" href="javascript:copy()">Copy</a>
<a class="dropdown-item" href="javascript:cut()">Cut</a>
<a class="dropdown-item" href="javascript:past()">Past</a>
<a class="dropdown-item" href="javascript:past()">Ouvrir</a>
</div>
</div>
<input type="text" id="search-box" placeholder="Rechercher (Alt + K)">
<button id="search-box-button">Connection</button>
</div>
</div>
</div>
<!-- Espace de stockage -->
<h5 class="font-size-16 me-3 mb-0">Mes espaces de stockage</h5>
<div class="row mt-4">
<!-- Carte représentant l'espace de stockage -->
<div class="card">
<div class="card-body p-3">
<!-- Premier service -->
<div class="service-details">
<div class="service-logo">
<img src="Styles/logo.png" alt="Logo Service 1">
</div>
<h5 id="serviceName1"></h5>
<a href="#" id="viewFolderLink1">View Folder</a>
<div class="progress-container">
<div id="storageProgress1" class="progress-bar">
<div class="progress-fill"></div>
</div>
<div id="storageText1" class="progress-label">30GB</div>
</div>
</div>
</div>
</div>
</div>
<!-- Fichiers récents -->
<div class="d-flex flex-wrap">
<h5 class="font-size-16 me-3">Recent Files</h5>
</div>
<hr class="mt-2">
<!-- Tableau de fichiers récents -->
<div class="table-responsive">
<table class="table align-middle table-nowrap table-hover mb-0">
<thead class="table-light">
<!-- En-têtes du tableau -->
<tr>
<th scope="col">Name</th>
<th scope="col">Date modified</th>
<th scope="col">Size</th>
<th scope="col" colspan="2">Members</th>
</tr>
</thead>
<tbody>
<tr>
<td>File 1</td>
<td>2023-11-25</td>
<td>10MB</td>
<td>You</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>