11
11
</ head >
12
12
13
13
< body class ="container mt-5 ">
14
+
14
15
< h1 class ="text-center "> Redimensionador y Convertidor de Imágenes</ h1 >
15
16
16
17
< div class ="d-flex justify-content-center my-4 ">
@@ -24,24 +25,36 @@ <h2>Redimensionar Imagen</h2>
24
25
< form id ="resizeForm " action ="/resize " method ="POST " enctype ="multipart/form-data " onsubmit ="return submitForm('resizeForm', event) " class ="mb-4 needs-validation " novalidate >
25
26
< div class ="mb-3 ">
26
27
< label for ="file " class ="form-label "> Selecciona una imagen:</ label >
27
- < input type ="file " class ="form-control " id ="file " name ="file " required >
28
+ < div class ="input-group ">
29
+ < span class ="input-group-text "> < i class ="fas fa-file-image "> </ i > </ span >
30
+ < input type ="file " class ="form-control " id ="file " name ="file " required >
31
+ </ div >
28
32
</ div >
29
33
< div class ="mb-3 ">
30
34
< label for ="width " class ="form-label "> Ancho:</ label >
31
- < input type ="text " class ="form-control " id ="width " name ="width " required >
35
+ < div class ="input-group ">
36
+ < span class ="input-group-text "> < i class ="fas fa-arrows-alt-h "> </ i > </ span >
37
+ < input type ="text " class ="form-control " id ="width " name ="width " required >
38
+ </ div >
32
39
</ div >
33
40
< div class ="mb-3 ">
34
41
< label for ="height " class ="form-label "> Alto:</ label >
35
- < input type ="text " class ="form-control " id ="height " name ="height " required >
42
+ < div class ="input-group ">
43
+ < span class ="input-group-text "> < i class ="fas fa-arrows-alt-v "> </ i > </ span >
44
+ < input type ="text " class ="form-control " id ="height " name ="height " required >
45
+ </ div >
36
46
</ div >
37
47
< div class ="mb-3 ">
38
48
< label for ="resizeFormat " class ="form-label "> Formato:</ label >
39
- < select class ="form-select " id ="resizeFormat " name ="format " required >
40
- < option value ="JPEG "> JPEG</ option >
41
- < option value ="PNG "> PNG</ option >
42
- < option value ="WEBP "> WEBP</ option >
43
- </ select >
44
- </ div >
49
+ < div class ="input-group ">
50
+ < span class ="input-group-text "> < i class ="fas fa-file-export "> </ i > </ span >
51
+ < select class ="form-select " id ="resizeFormat " name ="format " required >
52
+ < option value ="JPEG "> JPEG</ option >
53
+ < option value ="PNG "> PNG</ option >
54
+ < option value ="WEBP "> WEBP</ option >
55
+ </ select >
56
+ </ div >
57
+ </ div >
45
58
< button type ="submit " class ="btn btn-primary "> < i class ="fas fa-expand-arrows-alt "> </ i > Redimensionar</ button >
46
59
</ form >
47
60
</ div >
@@ -51,17 +64,23 @@ <h2>Convertir Formato de Imagen</h2>
51
64
< form id ="convertForm " action ="/convert " method ="POST " enctype ="multipart/form-data " onsubmit ="return submitForm('convertForm', event) " class ="mb-4 needs-validation " novalidate >
52
65
< div class ="mb-3 ">
53
66
< label for ="convertFile " class ="form-label "> Selecciona una imagen:</ label >
54
- < input type ="file " class ="form-control " id ="convertFile " name ="file " required >
67
+ < div class ="input-group ">
68
+ < span class ="input-group-text "> < i class ="fas fa-file-image "> </ i > </ span >
69
+ < input type ="file " class ="form-control " id ="convertFile " name ="file " required >
70
+ </ div >
55
71
</ div >
56
72
< div class ="mb-3 ">
57
73
< label for ="convertFormat " class ="form-label "> Formato:</ label >
58
- < select class ="form-select " id ="convertFormat " name ="format " required >
59
- < option value ="JPEG "> JPEG</ option >
60
- < option value ="PNG "> PNG</ option >
61
- < option value ="WEBP "> WEBP</ option >
62
- </ select >
63
- </ div >
64
- < button type ="submit " class ="btn btn-primary "> Convertir</ button >
74
+ < div class ="input-group ">
75
+ < span class ="input-group-text "> < i class ="fas fa-file-export "> </ i > </ span >
76
+ < select class ="form-select " id ="convertFormat " name ="format " required >
77
+ < option value ="JPEG "> JPEG</ option >
78
+ < option value ="PNG "> PNG</ option >
79
+ < option value ="WEBP "> WEBP</ option >
80
+ </ select >
81
+ </ div >
82
+ </ div >
83
+ < button type ="submit " class ="btn btn-primary "> < i class ="fas fa-exchange-alt "> </ i > Convertir</ button >
65
84
</ form >
66
85
</ div >
67
86
@@ -70,17 +89,22 @@ <h2>Remover Fondo de Imagen</h2>
70
89
< form id ="removeBackgroundForm " action ="/remove_background " method ="POST " enctype ="multipart/form-data " onsubmit ="return submitForm('removeBackgroundForm') " class ="mb-4 needs-validation " novalidate >
71
90
< div class ="mb-3 ">
72
91
< label for ="removeBackgroundFile " class ="form-label "> Selecciona una imagen:</ label >
73
- < input type ="file " class ="form-control " id ="removeBackgroundFile " name ="file " required >
74
- </ div >
75
- < button type ="submit " class ="btn btn-primary "> Remover Fondo</ button >
92
+ < div class ="input-group ">
93
+ < span class ="input-group-text "> < i class ="fas fa-file-image "> </ i > </ span >
94
+ < input type ="file " class ="form-control " id ="removeBackgroundFile " name ="file " required >
95
+ </ div >
96
+ </ div >
97
+ < button type ="submit " class ="btn btn-primary "> < i class ="fas fa-cut "> </ i > Remover Fondo</ button >
76
98
</ form >
77
99
</ div >
78
100
79
101
< div id ="loading " class ="text-center ">
80
102
< div class ="spinner-border text-primary " role ="status ">
81
103
< span class ="sr-only "> </ span >
82
104
</ div >
83
- < div id ="progress " class ="progress-text "> </ div >
105
+ < div id ="progress " class ="progress-text ">
106
+ < i class ="fas fa-upload "> </ i > Subiendo archivo...
107
+ </ div >
84
108
</ div >
85
109
86
110
< footer class ="footer mt-auto py-3 ">
@@ -95,7 +119,7 @@ <h2>Remover Fondo de Imagen</h2>
95
119
< div class ="col-md-6 text-right ">
96
120
< span > Powered by</ span >
97
121
< a href ="https://www.teramont.net/ " target ="_blank ">
98
- < img src ="https://www.teramont.net/assets/images/theme/logo/teramont-logo.png " alt ="Teramont Logo " width ="100 ">
122
+ < img src ="https://www.teramont.net/assets/images/theme/logo/teramont-logo.png " alt ="Teramont Logo " width ="100 " id =" teramont-logo " >
99
123
</ a >
100
124
</ div >
101
125
</ div >
0 commit comments