Merge branch 'dev' of https://github.com/jh8579/fileshell_cloudcomputing into dev
# Conflicts: # fileshell/models.py # fileshell/settings.py # fileshell/urls.py # fileshell/views.py # templates/base.html
Showing
3 changed files
with
30 additions
and
74 deletions
... | @@ -9,14 +9,14 @@ body { | ... | @@ -9,14 +9,14 @@ body { |
9 | } | 9 | } |
10 | .search_form{ | 10 | .search_form{ |
11 | float:left; | 11 | float:left; |
12 | - width: 1500px; | 12 | + width: 50%; |
13 | vertical-align: middle; | 13 | vertical-align: middle; |
14 | white-space: nowrap; | 14 | white-space: nowrap; |
15 | position: relative; | 15 | position: relative; |
16 | } | 16 | } |
17 | .search_form input#dir_name{ | 17 | .search_form input#dir_name{ |
18 | - width: 1300px; | 18 | + width:80%; |
19 | - height: 50px; | 19 | + height:60px; |
20 | background: #6b6b6b; | 20 | background: #6b6b6b; |
21 | border: none; | 21 | border: none; |
22 | font-size: 10pt; | 22 | font-size: 10pt; |
... | @@ -33,7 +33,6 @@ body { | ... | @@ -33,7 +33,6 @@ body { |
33 | background: #2b303b; | 33 | background: #2b303b; |
34 | border: none; | 34 | border: none; |
35 | font-size: 10pt; | 35 | font-size: 10pt; |
36 | - float: left; | ||
37 | color: #ffffff; | 36 | color: #ffffff; |
38 | 37 | ||
39 | margin-left: 50px; | 38 | margin-left: 50px; |
... | @@ -42,6 +41,7 @@ body { | ... | @@ -42,6 +41,7 @@ body { |
42 | border-radius: 5px; | 41 | border-radius: 5px; |
43 | text-align: center; | 42 | text-align: center; |
44 | } | 43 | } |
44 | + | ||
45 | .add_folder_form{ | 45 | .add_folder_form{ |
46 | 46 | ||
47 | } | 47 | } |
... | @@ -61,14 +61,16 @@ body { | ... | @@ -61,14 +61,16 @@ body { |
61 | .add_folder_form input#add_button { | 61 | .add_folder_form input#add_button { |
62 | margin-left: 300px; | 62 | margin-left: 300px; |
63 | } | 63 | } |
64 | + | ||
64 | .drop{ | 65 | .drop{ |
65 | - width:200px; | 66 | + width:200px; |
66 | height:200px; | 67 | height:200px; |
67 | } | 68 | } |
68 | .drop_zone{ | 69 | .drop_zone{ |
69 | - width:200px; | 70 | + width:200px; |
70 | height:200px; | 71 | height:200px; |
71 | } | 72 | } |
73 | + | ||
72 | .left_bar { | 74 | .left_bar { |
73 | float:left; | 75 | float:left; |
74 | width:200px; | 76 | width:200px; |
... | @@ -85,7 +87,7 @@ body { | ... | @@ -85,7 +87,7 @@ body { |
85 | font-size: 30px; | 87 | font-size: 30px; |
86 | color:#ffffff; | 88 | color:#ffffff; |
87 | margin: 10px; | 89 | margin: 10px; |
88 | - margin-top: 30px; | 90 | + margin-top: 30px; |
89 | } | 91 | } |
90 | .nav-item1 { | 92 | .nav-item1 { |
91 | font-size: 30px; | 93 | font-size: 30px; |
... | @@ -104,10 +106,26 @@ body { | ... | @@ -104,10 +106,26 @@ body { |
104 | } | 106 | } |
105 | .nav-link:hover { | 107 | .nav-link:hover { |
106 | } | 108 | } |
109 | + | ||
110 | +.frame_home { | ||
111 | + float:left; | ||
112 | + width:80%; | ||
113 | + | ||
114 | +} | ||
107 | .frame { | 115 | .frame { |
116 | + float:left; | ||
117 | + width: 60%; | ||
118 | + | ||
119 | +} | ||
120 | +.container { | ||
121 | + width: 100%; | ||
122 | +} | ||
123 | +.content { | ||
124 | + float: left; | ||
108 | width: 100%; | 125 | width: 100%; |
109 | 126 | ||
110 | } | 127 | } |
128 | + | ||
111 | .header { | 129 | .header { |
112 | height : 40px; | 130 | height : 40px; |
113 | padding:40px 10px; | 131 | padding:40px 10px; |
... | @@ -134,15 +152,7 @@ body { | ... | @@ -134,15 +152,7 @@ body { |
134 | display: inline-block; | 152 | display: inline-block; |
135 | padding: 0 8px; | 153 | padding: 0 8px; |
136 | } | 154 | } |
137 | -.container { | ||
138 | - overflow: hidden; | ||
139 | -} | ||
140 | 155 | ||
141 | -.content { | ||
142 | - float: left; | ||
143 | - width: 100%; | ||
144 | - | ||
145 | -} | ||
146 | .right_bar { | 156 | .right_bar { |
147 | float:right; | 157 | float:right; |
148 | width:200px; | 158 | width:200px; |
... | @@ -170,66 +180,10 @@ body { | ... | @@ -170,66 +180,10 @@ body { |
170 | text-decoration: none; | 180 | text-decoration: none; |
171 | color:#2b2d3d; | 181 | color:#2b2d3d; |
172 | } | 182 | } |
183 | + | ||
173 | .footer { | 184 | .footer { |
174 | text-align: center; | 185 | text-align: center; |
175 | border-top: 1px solid #aaa; | 186 | border-top: 1px solid #aaa; |
176 | margin: 20px 20px 0; | 187 | margin: 20px 20px 0; |
177 | font-size: 12px; | 188 | font-size: 12px; |
178 | } | 189 | } |
179 | -.switch { | ||
180 | - position: relative; | ||
181 | - display: inline-block; | ||
182 | - width: 60px; | ||
183 | - height: 34px; | ||
184 | -} | ||
185 | - | ||
186 | -/* Hide default HTML checkbox */ | ||
187 | -.switch input {display:none;} | ||
188 | - | ||
189 | -/* The slider */ | ||
190 | -.slider { | ||
191 | - position: absolute; | ||
192 | - cursor: pointer; | ||
193 | - top: 0; | ||
194 | - left: 0; | ||
195 | - right: 0; | ||
196 | - bottom: 0; | ||
197 | - background-color: #ccc; | ||
198 | - -webkit-transition: .4s; | ||
199 | - transition: .4s; | ||
200 | -} | ||
201 | - | ||
202 | -.slider:before { | ||
203 | - position: absolute; | ||
204 | - content: ""; | ||
205 | - height: 26px; | ||
206 | - width: 26px; | ||
207 | - left: 4px; | ||
208 | - bottom: 4px; | ||
209 | - background-color: white; | ||
210 | - -webkit-transition: .4s; | ||
211 | - transition: .4s; | ||
212 | -} | ||
213 | - | ||
214 | -input:checked + .slider { | ||
215 | - background-color: #2196F3; | ||
216 | -} | ||
217 | - | ||
218 | -input:focus + .slider { | ||
219 | - box-shadow: 0 0 1px #2196F3; | ||
220 | -} | ||
221 | - | ||
222 | -input:checked + .slider:before { | ||
223 | - -webkit-transform: translateX(26px); | ||
224 | - -ms-transform: translateX(26px); | ||
225 | - transform: translateX(26px); | ||
226 | -} | ||
227 | - | ||
228 | -/* Rounded sliders */ | ||
229 | -.slider.round { | ||
230 | - border-radius: 34px; | ||
231 | -} | ||
232 | - | ||
233 | -.slider.round:before { | ||
234 | - border-radius: 50%; | ||
235 | -} | ... | ... |
... | @@ -43,7 +43,7 @@ body | ... | @@ -43,7 +43,7 @@ body |
43 | font-size: 16px; | 43 | font-size: 16px; |
44 | background: #fff; | 44 | background: #fff; |
45 | margin: 45px; | 45 | margin: 45px; |
46 | - width: 1600px; | 46 | + width: 100%; |
47 | border-collapse: collapse; | 47 | border-collapse: collapse; |
48 | text-align: left; | 48 | text-align: left; |
49 | } | 49 | } | ... | ... |
1 | {% load staticfiles %} | 1 | {% load staticfiles %} |
2 | <!DOCTYPE html> | 2 | <!DOCTYPE html> |
3 | <html lang="en" dir="ltr"> | 3 | <html lang="en" dir="ltr"> |
4 | + | ||
4 | <head> | 5 | <head> |
5 | <meta charset="utf-8"> | 6 | <meta charset="utf-8"> |
6 | <title> FileShell</title> | 7 | <title> FileShell</title> |
... | @@ -8,8 +9,8 @@ | ... | @@ -8,8 +9,8 @@ |
8 | <link rel="stylesheet" href="{% static 'css/dropzone.css' %}"> | 9 | <link rel="stylesheet" href="{% static 'css/dropzone.css' %}"> |
9 | <link rel="stylesheet" href="{% static 'css/style.css' %}"> | 10 | <link rel="stylesheet" href="{% static 'css/style.css' %}"> |
10 | </head> | 11 | </head> |
11 | -<body> | ||
12 | 12 | ||
13 | +<body> | ||
13 | <div class="left_bar"> | 14 | <div class="left_bar"> |
14 | <a href=/> <img class = 'shell_icon' src= "{% static 'resources/shell.png' %}" width="200" height="200"/></a> | 15 | <a href=/> <img class = 'shell_icon' src= "{% static 'resources/shell.png' %}" width="200" height="200"/></a> |
15 | <div class="nav"> | 16 | <div class="nav"> |
... | @@ -42,4 +43,5 @@ | ... | @@ -42,4 +43,5 @@ |
42 | } | 43 | } |
43 | </script> | 44 | </script> |
44 | </body> | 45 | </body> |
46 | + | ||
45 | </html> | 47 | </html> | ... | ... |
-
Please register or login to post a comment