Cifo_Administrador commited on
Commit ·
ec7f286
1
Parent(s): fbdd07a
cambios menores en UI y validacion de que login funcione correctamente
Browse files- frontend/index.html +0 -1
- frontend/src/app.js +0 -7
- frontend/src/style.css +2 -2
frontend/index.html
CHANGED
|
@@ -162,7 +162,6 @@
|
|
| 162 |
<option value="hot">Más activos</option>
|
| 163 |
<option value="bullish-trend">Tendencia alcista</option>
|
| 164 |
<option value="bearish-trend">Tendencia bajista</option>
|
| 165 |
-
<option value="volatile">Más volátiles</option>
|
| 166 |
<option value="high-volume">Alto volumen</option>
|
| 167 |
<option value="open-only">Mercados Abiertos</option>
|
| 168 |
</select>
|
|
|
|
| 162 |
<option value="hot">Más activos</option>
|
| 163 |
<option value="bullish-trend">Tendencia alcista</option>
|
| 164 |
<option value="bearish-trend">Tendencia bajista</option>
|
|
|
|
| 165 |
<option value="high-volume">Alto volumen</option>
|
| 166 |
<option value="open-only">Mercados Abiertos</option>
|
| 167 |
</select>
|
frontend/src/app.js
CHANGED
|
@@ -257,13 +257,6 @@ function filterByTrend(markets, trendType) {
|
|
| 257 |
.sort((a, b) => a.momentum - b.momentum)
|
| 258 |
.map((w) => w.market)
|
| 259 |
|
| 260 |
-
case 'volatile':
|
| 261 |
-
// Más volátiles = mayor desviación estándar de cambios
|
| 262 |
-
return withTrend
|
| 263 |
-
.filter((w) => w.volatility > 0.3)
|
| 264 |
-
.sort((a, b) => b.volatility - a.volatility)
|
| 265 |
-
.map((w) => w.market)
|
| 266 |
-
|
| 267 |
case 'high-volume':
|
| 268 |
// Alto volumen
|
| 269 |
return withTrend
|
|
|
|
| 257 |
.sort((a, b) => a.momentum - b.momentum)
|
| 258 |
.map((w) => w.market)
|
| 259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 260 |
case 'high-volume':
|
| 261 |
// Alto volumen
|
| 262 |
return withTrend
|
frontend/src/style.css
CHANGED
|
@@ -324,8 +324,8 @@ h6 { font-size: var(--fs-h6); line-height: 1.4; font-weight: 500; }
|
|
| 324 |
font-family: var(--font-mono);
|
| 325 |
outline: none;
|
| 326 |
cursor: pointer;
|
| 327 |
-
min-width:
|
| 328 |
-
max-width:
|
| 329 |
appearance: none;
|
| 330 |
-webkit-appearance: none;
|
| 331 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b90a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|
|
|
|
| 324 |
font-family: var(--font-mono);
|
| 325 |
outline: none;
|
| 326 |
cursor: pointer;
|
| 327 |
+
min-width: 160px;
|
| 328 |
+
max-width: 240px;
|
| 329 |
appearance: none;
|
| 330 |
-webkit-appearance: none;
|
| 331 |
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b90a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
|