Skip to content

Commit 6072ea5

Browse files
committed
add add thumbnail on upload button
1 parent 08af2cd commit 6072ea5

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

views/uploading.pug

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,22 @@ block content
130130
input.radio-button(type='radio', name='visibility' value="private")
131131
| Private
132132
br
133+
134+
div(style="margin:0 auto;text-align:center")
135+
h4.fw(style="margin-bottom:3px;font-size:17px;") (Optional)
136+
label.fw(for='title' style="font-size:20px") Select A Thumbnail
133137
br
134138

139+
div.dropdown(style="display:inline;")
140+
button#dropdownMenu1.fw.btn.btn-primary.dropdown-toggle(type='button', data-toggle='dropdown' style="border-radius:5px;font-size:15px;;margin-top:3px;")
141+
| Choose File
142+
143+
br
144+
135145
label.fw(for='title' style="font-size:20px") Select A Category
136146
br
137147

138-
div.dropdown(style="display:inline;padding-right:15px;")
148+
div.dropdown(style="display:inline;")
139149
button#dropdownMenu1.fw.btn.btn-primary.dropdown-toggle(type='button', data-toggle='dropdown' style="border-radius:5px;font-size:15px;")
140150
| Category: &nbsp
141151
span.caret
@@ -147,14 +157,10 @@ block content
147157
if category.displayName !== 'All Uploads' && category.displayName !== 'Category Overview'
148158
a.categoryValue(style="cursor:pointer;" data-value=category.name data-displayname=category.displayName) #{category.displayName}
149159

150-
br
151-
div#categoryScrollTo(style="")
152-
br
160+
div#categoryScrollTo(style="margin-top:3px;")
153161
div.categoryName#categoryName(style="display:none")
154-
h5.fw(style="font-size:20px;").categoryDisplayName Category: $Thing
155162
br
156-
157-
163+
h5.fw(style="font-size:20px;").categoryDisplayName Category: $Thing
158164

159165

160166
// subcategories
@@ -168,10 +174,6 @@ block content
168174
input.radio-button.subcategoryOption(type='radio', name='subcategory' value=subcategory.name required)
169175
| #{subcategory.displayName}
170176

171-
br
172-
br
173-
174-
175177

176178
// RATINGS
177179
label.fw(for='rating' style="font-size:24px;margin-top:26px;margin-bottom:15px;") Rating (*)

0 commit comments

Comments
 (0)