mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Ranklist time range align
This commit is contained in:
parent
1a27d0b881
commit
75ca103b1f
2 changed files with 29 additions and 21 deletions
|
@ -145,27 +145,25 @@ export default function RankList() {
|
|||
</p>
|
||||
</div>
|
||||
<Sleep />
|
||||
<center>
|
||||
<label>
|
||||
Megjelenítés:
|
||||
<select
|
||||
className={styles.sinceHeaderRow}
|
||||
onChange={(e) => {
|
||||
console.log(e.target.value)
|
||||
updateSince(e.target.value)
|
||||
}}
|
||||
>
|
||||
{Object.keys(sinceOptions).map((key) => {
|
||||
const val = sinceOptions[key]
|
||||
return (
|
||||
<option key={key} value={key}>
|
||||
{val.name}
|
||||
</option>
|
||||
)
|
||||
})}
|
||||
</select>
|
||||
</label>
|
||||
</center>
|
||||
<div className={styles.timeRangeSelect}>
|
||||
<div>Megjelenítés:</div>
|
||||
<select
|
||||
className={styles.sinceHeaderRow}
|
||||
onChange={(e) => {
|
||||
console.log(e.target.value)
|
||||
updateSince(e.target.value)
|
||||
}}
|
||||
>
|
||||
{Object.keys(sinceOptions).map((key) => {
|
||||
const val = sinceOptions[key]
|
||||
return (
|
||||
<option key={key} value={key}>
|
||||
{val.name}
|
||||
</option>
|
||||
)
|
||||
})}
|
||||
</select>
|
||||
</div>
|
||||
<div className={styles.headerRow}>
|
||||
<div>{'Rank'}</div>
|
||||
<div>{'Felhasználó ID'}</div>
|
||||
|
|
|
@ -106,3 +106,13 @@
|
|||
.sumrow {
|
||||
color: white;
|
||||
}
|
||||
|
||||
.timeRangeSelect {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.timeRangeSelect > div {
|
||||
padding: 0px 5px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue