Commit dae04f64 authored by Viktor Velev's avatar Viktor Velev

Admin style

parent 9bbb5d29
......@@ -40,3 +40,14 @@
.bet-item:hover {
background-color: #EEE !important;
}
.admin-page {
margin: auto;
margin-top: 20%;
margin-left: 40%;
}
.xml {
text-align: center;
margin-top: 40% !important;
}
......@@ -24,7 +24,6 @@ export default class AdminPage extends Component {
render() {
return (
<div className="admin-page">
АДМИН ПЕЙДЖ
<Dropzone accept=".xml"
onDrop={this.onDrop.bind(this)} >
{({ isDragActive, isDragReject, acceptedFiles, rejectedFiles }) => {
......@@ -38,7 +37,7 @@ export default class AdminPage extends Component {
return acceptedFiles.length || rejectedFiles.length
? `Accepted ${acceptedFiles.length}, rejected ${rejectedFiles.length} files`
: "Try dropping some files.";
: <p class="xml"> Drop your XML </p>;
}}
</Dropzone>
{this.state.xml}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment