File tree 2 files changed +32
-12
lines changed
2 files changed +32
-12
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,24 @@ th{font-weight:bold;}
32
32
.toc li : before { content : counters (toc, "." ) ". " ; counter-increment : toc }
33
33
.toc a { color : blue }
34
34
35
+ # upload-form {
36
+ width : 500px ;
37
+ border : 1px solid # ccc ;
38
+ }
39
+
40
+ # upload-form dt {
41
+ float : left;
42
+ padding-right : 1em ;
43
+ padding-top : 3px ;
44
+ width : 150px ;
45
+ text-align : right;
46
+ font-weight : bold;
47
+ }
48
+
49
+ # upload-form dd {
50
+ padding-top : 3px ;
51
+ }
52
+
35
53
.thumbimage {
36
54
max-width : 500px ;
37
55
max-height : 220px ;
Original file line number Diff line number Diff line change 1
1
- if defined? err
2
2
%h2 .error = err
3
+ %p
4
+ Pick a file to upload from your local system.
3
5
%form .upload { :method => 'post', :enctype => 'multipart/form-data' }
4
- %table .upload
5
- %tr
6
- %th{ :align = > 'right' } From Local File:
7
- %td
8
- %input{ :id => " upload-file" , :type=> " file" , :name=> " file" }
9
- %tr
10
- %th{ :align = > 'right' } Save File As:
11
- %td
12
- %input{ :id => " upload-filename" , :type => " text" , :name=> " filename" }
13
- %tr
14
- %th { :align => 'right' }
15
- %input{ :type = > " submit " , :value => " Upload " }
6
+ %dl .upload{ :id = > 'upload-form' }
7
+ %dt
8
+ From Local File:
9
+ %dd
10
+ %input{ :id => " upload-file" , :type=> " file" , :name=> " file" }
11
+ %dt
12
+ Save File As:
13
+ %dd
14
+ %input{ :id => " upload-filename" , :type => " text" , :name=> " filename" }
15
+ %dt
16
+ %input { :type => " submit " , :value => " Upload " }
17
+ %dd
You can’t perform that action at this time.
0 commit comments