mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Added data editor to repos tab, changed some descriptions
This commit is contained in:
parent
4776405aa8
commit
b4dc053e1f
7 changed files with 24 additions and 32 deletions
|
@ -1,15 +0,0 @@
|
|||
import styles from './ircButton.module.css'
|
||||
|
||||
export default function IrcButton (props) {
|
||||
return (
|
||||
<div>
|
||||
<center>
|
||||
<a href='/irc'>
|
||||
<div className={styles.ircLink}>
|
||||
IRC chat
|
||||
</div>
|
||||
</a>
|
||||
</center>
|
||||
</div>
|
||||
)
|
||||
}
|
|
@ -10,15 +10,16 @@ class Questions extends PureComponent {
|
|||
|
||||
return (
|
||||
<div>
|
||||
{subjs.map((subj) => {
|
||||
{subjs.map((subj, i) => {
|
||||
return (
|
||||
<div>
|
||||
<div key={i}>
|
||||
<div className={styles.subjName}>
|
||||
{subj.Name}
|
||||
</div>
|
||||
{ subj.Questions.map((question) => {
|
||||
{ subj.Questions.map((question, i) => {
|
||||
return (
|
||||
<Question
|
||||
key={i}
|
||||
question={question}
|
||||
/>
|
||||
)
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
.ircLink {
|
||||
background-color: #9999ff;
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 15px 32px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
}
|
|
@ -22,6 +22,10 @@
|
|||
"qminingPageRepo": {
|
||||
"description": "Qmining weboldal Next.js felülete",
|
||||
"href": "https://gitlab.com/MrFry/qmining-page"
|
||||
},
|
||||
"dataEditor": {
|
||||
"description": "Kérdés szerkesztő",
|
||||
"href": "https://gitlab.com/MrFry/qmining-data-editor"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useState } from 'react'
|
||||
import fetch from 'unfetch'
|
||||
|
||||
import IrcButton from '../components/IrcButton.js'
|
||||
import Button from '../components/Button.js'
|
||||
|
||||
import styles from './feedback.module.css'
|
||||
import constants from '../constants.json'
|
||||
|
@ -244,7 +244,7 @@ export default function Feedback (props) {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<IrcButton />
|
||||
<Button text='IRC chat' href='/irc' />
|
||||
<p />
|
||||
<hr />
|
||||
<p />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import IrcButton from '../components/IrcButton.js'
|
||||
import Button from '../components/Button.js'
|
||||
|
||||
import styles from './repos.module.css'
|
||||
import repos from '../data/repos.json'
|
||||
|
@ -51,7 +51,18 @@ export default function Repos (props) {
|
|||
})}
|
||||
</tbody>
|
||||
</table>
|
||||
<IrcButton />
|
||||
<div className={styles.description}>
|
||||
IRC chat: egy IRC chatszoba van létrehozva egy random szerveren, ahol tuszd azonnal üzenni,
|
||||
és ha épp fent vagyok akkor azonnal válaszolok
|
||||
</div>
|
||||
<Button text='IRC chat' href='/irc' />
|
||||
<div className={styles.description}>
|
||||
Kérdés szerkesztő: Ezen az oldalon lehet szerkeszteni az összes kérdést, duplikációkat
|
||||
eltávolítani vagy helytelen válaszokat kijavítani kézzel. Ha van hozzá jelszavad, akkor ezt
|
||||
azonnal el tudod menteni, és éles adatbázis frissül ezzel, ha nincs és úgy érzed szeretnél
|
||||
akkor kattints a fenti 'IRC chat' gombra!
|
||||
</div>
|
||||
<Button text='Data Editor' href='/dataeditor' />
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
font-size: 17px;
|
||||
color: white;
|
||||
text-align: center;
|
||||
margin: 10px;
|
||||
}
|
||||
|
||||
.repoTable thead td {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue