File tree Expand file tree Collapse file tree 3 files changed +27
-20
lines changed
Expand file tree Collapse file tree 3 files changed +27
-20
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ <h1>Download files</h1>
1010 </ div >
1111 {% endif %}
1212
13- < form method =" POST " action =" /upload " enctype =" multipart/form-data " accept-charset =" utf-8 " >
13+ {#
1414 < div class ="card mt-4 ">
1515 < div class ="card-body ">
1616 < div class ="form-group ">
@@ -25,6 +25,7 @@ <h1>Download files</h1>
2525 </ div >
2626 </ div >
2727 </ div >
28+ #}
2829
2930 < div class ="row mt-4 ">
3031 < div class ="col-sm ">
@@ -42,11 +43,6 @@ <h2>OR</h2>
4243 </ div >
4344 </ div >
4445
45- < div class ="text-center mt-4 ">
46- < input type ="Submit " class ="btn btn-success btn-lg " value ="Next ">
47- </ div >
48- </ form >
49-
5046 {% if categories.len() == 0 %}
5147 < div class ="modal fade " id ="staticBackdrop " data-bs-backdrop ="static " data-bs-keyboard ="false " tabindex ="-1 " aria-labelledby ="staticBackdropLabel " aria-hidden ="false ">
5248 < div class ="modal-dialog modal-dialog-centered ">
Original file line number Diff line number Diff line change @@ -4,13 +4,18 @@ <h2 class="text-center">
44 < label for ="magnet "> Magnet link</ label >
55 </ h2 >
66
7- < div class ="row align-items-center ">
8- < div class ="col-md-3 text-center ">
9- < img src ="/assets/images/magnet.png " class ="img-64 ">
7+ < form method ="POST " action ="/magnet/upload " enctype ="multipart/form-data " accept-charset ="utf-8 ">
8+ < div class ="row align-items-center ">
9+ < div class ="col-md-3 text-center ">
10+ < img src ="/assets/images/magnet.png " class ="img-64 ">
11+ </ div >
12+ < div class ="col-md-9 ">
13+ < input type ="text " name ="magnet " class ="form-control " placeholder ="Magnet link to download " id ="magnet "{% if let Some(post) = post %} value ="{{ post.magnet }} "{% endif %} >
14+ < div class ="text-center mt-4 ">
15+ < input disabled type ="Submit " class ="btn btn-success btn-lg " value ="Next ">
16+ </ div >
17+ </ div >
1018 </ div >
11- < div class ="col-md-9 ">
12- < input type ="text " name ="magnet " class ="form-control " placeholder ="Magnet link to download " id ="magnet "{# TODO {% if post.magnet %} value ="{{ post.magnet }} "{% endif %}#} >
13- </ div >
14- </ div >
19+ </ form >
1520 </ div >
1621</ div >
Original file line number Diff line number Diff line change 22 < div class ="card-body ">
33 < h2 class ="text-center "> Torrent file</ h2 >
44
5- < div class ="row align-items-center ">
6- < div class ="col-md-3 text-center ">
7- < img src ="/assets/images/torrent.png " class ="img-64 ">
5+ < form method ="POST " action ="/torrent/upload " enctype ="multipart/form-data " accept-charset ="utf-8 ">
6+ < div class ="row align-items-center ">
7+ < div class ="col-md-3 text-center ">
8+ < img src ="/assets/images/torrent.png " class ="img-64 ">
9+ </ div >
10+ < div class ="col-md-9 ">
11+ < input type ="file " id ="torrent " name ="torrent " class ="form-control ">
12+ < div class ="text-center mt-4 ">
13+ {# TODO: Implement torrent upload form #}
14+ < input disabled type ="Submit " class ="btn btn-success btn-lg " value ="Next ">
15+ </ div >
16+ </ div >
817 </ div >
9- < div class ="col-md-9 ">
10- < input type ="file " id ="torrent " name ="torrent " class ="form-control ">
11- </ div >
12- </ div >
18+ </ form >
1319 </ div >
1420</ div >
You can’t perform that action at this time.
0 commit comments