|
|
@ -1,5 +1,3 @@ |
|
|
|
|
|
|
|
|
|
|
|
import { Chart } from 'react-charts' |
|
|
|
|
|
|
|
import React, {useState,useEffect,useRef} from 'react'; |
|
|
|
import React, {useState,useEffect,useRef} from 'react'; |
|
|
|
import logo from './logo.svg'; |
|
|
|
import logo from './logo.svg'; |
|
|
|
import './App.css'; |
|
|
|
import './App.css'; |
|
|
@ -842,7 +840,7 @@ function BestPlaysPanel(p) { |
|
|
|
var [update,setUpdate] = useState(false) |
|
|
|
var [update,setUpdate] = useState(false) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
|
useEffect(()=>{ |
|
|
|
axios.get("http://projectdivar.com/bestplays/"+p.username+"?fails=false&limit=5&offset=0") |
|
|
|
axios.get("http://www.projectdivar.com/bestplays/"+p.username+"?fails=false&limit=5&offset=0") |
|
|
|
.then((data)=>{setBestPlays(data.data);}) |
|
|
|
.then((data)=>{setBestPlays(data.data);}) |
|
|
|
},[p.profileUpdate,update,p.username]) |
|
|
|
},[p.profileUpdate,update,p.username]) |
|
|
|
|
|
|
|
|
|
|
@ -851,7 +849,7 @@ function BestPlaysPanel(p) { |
|
|
|
{bestPlays.map((play,i)=>{return <li key={i} className={"list-group-item list-group-item-action "+(i%2==0?"background-list-1":"background-list-2")}> |
|
|
|
{bestPlays.map((play,i)=>{return <li key={i} className={"list-group-item list-group-item-action "+(i%2==0?"background-list-1":"background-list-2")}> |
|
|
|
<Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} index={i} play={play} song={p.songs[play.songid]}/> |
|
|
|
<Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} index={i} play={play} song={p.songs[play.songid]}/> |
|
|
|
</li>})} |
|
|
|
</li>})} |
|
|
|
<LoadMore username={p.username} profileUpdate={p.profileUpdate} listItem={true} url={"http://projectdivar.com/bestplays/"+p.username} params={{fails:false,limit:15,offset:5}} value={bestPlays} setValue={setBestPlays}/> |
|
|
|
<LoadMore username={p.username} profileUpdate={p.profileUpdate} listItem={true} url={"http://www.projectdivar.com/bestplays/"+p.username} params={{fails:false,limit:15,offset:5}} value={bestPlays} setValue={setBestPlays}/> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
@ -948,7 +946,7 @@ function PlayData(p) { |
|
|
|
<h5>Individual Plays for {p.song.name} from {p.username}</h5> |
|
|
|
<h5>Individual Plays for {p.song.name} from {p.username}</h5> |
|
|
|
<div className="border rounded"> |
|
|
|
<div className="border rounded"> |
|
|
|
{data.map((play,i)=><Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} key={i} play={play} mini={true} song={p.song}/>)} |
|
|
|
{data.map((play,i)=><Play setModalSrc={p.setModalSrc} setModalVisible={p.setModalVisible} key={i} play={play} mini={true} song={p.song}/>)} |
|
|
|
<LoadMore profileUpdate={p.profileUpdate} username={p.username} url={"http://projectdivar.com/plays/"+p.username+"/"+p.song.id} params={{limit:15,offset:5}} value={data} setValue={setData}/> |
|
|
|
<LoadMore profileUpdate={p.profileUpdate} username={p.username} url={"http://www.projectdivar.com/plays/"+p.username+"/"+p.song.id} params={{limit:15,offset:5}} value={data} setValue={setData}/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</> |
|
|
|
</> |
|
|
@ -2226,7 +2224,7 @@ function EventEditor() { |
|
|
|
const[send,setSend] = useState(false) |
|
|
|
const[send,setSend] = useState(false) |
|
|
|
const[message,setMessage] = useState("") |
|
|
|
const[message,setMessage] = useState("") |
|
|
|
|
|
|
|
|
|
|
|
const EVENTID = 17; |
|
|
|
const EVENTID = 10; |
|
|
|
|
|
|
|
|
|
|
|
//console.log(moment().format("YYYY-MM-DDTHH:mm"))
|
|
|
|
//console.log(moment().format("YYYY-MM-DDTHH:mm"))
|
|
|
|
|
|
|
|
|
|
|
@ -2313,89 +2311,246 @@ function EventEditor() { |
|
|
|
</> |
|
|
|
</> |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function CanEditor() { |
|
|
|
function ChartData() { |
|
|
|
const [password,setPassword] = useState(""); |
|
|
|
const[eventData,setEventData] = useState([]) |
|
|
|
const [cans,setCans] = useState(0); |
|
|
|
|
|
|
|
const [games,setGames] = useState(0); |
|
|
|
|
|
|
|
const[update,setUpdate] = useState(false) |
|
|
|
const[update,setUpdate] = useState(false) |
|
|
|
|
|
|
|
const [chartData,setChartData] = useState([]) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
|
useEffect(()=>{ |
|
|
|
refreshCount() |
|
|
|
|
|
|
|
const interval = setInterval(()=>{ |
|
|
|
const interval = setInterval(()=>{ |
|
|
|
refreshCount() |
|
|
|
axios.get("http://projectdivar.com/eventdata/t20") |
|
|
|
},5000); |
|
|
|
.then((data)=>{ |
|
|
|
|
|
|
|
var values; |
|
|
|
|
|
|
|
data.data.map((obj)=>{if (values[obj.rank]) {values[obj.rank]=[...values[obj.rank],obj]} else {values[obj.rank]=[obj]}}) |
|
|
|
|
|
|
|
setEventData(values); |
|
|
|
|
|
|
|
console.log(data.data) |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.catch((err)=>{}) |
|
|
|
|
|
|
|
},30000); |
|
|
|
return ()=>{clearInterval(interval)} |
|
|
|
return ()=>{clearInterval(interval)} |
|
|
|
},[update]) |
|
|
|
},[update]) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
|
useEffect(()=>{ |
|
|
|
|
|
|
|
console.log(eventData) |
|
|
|
},[password]) |
|
|
|
setChartData( |
|
|
|
|
|
|
|
{ |
|
|
|
function refreshCount() { |
|
|
|
datasets: [{ |
|
|
|
axios.get("http://projectdivar.com/cans") |
|
|
|
label: 'T1', |
|
|
|
.then((data)=>{ |
|
|
|
data: GetChartData(eventData,1), |
|
|
|
if (data.data.cans>cans) { |
|
|
|
backgroundColor: [ |
|
|
|
setCans(data.data.cans) |
|
|
|
'rgba(255, 99, 132, 0.05)', |
|
|
|
} |
|
|
|
'rgba(54, 162, 235, 0.05)', |
|
|
|
if (data.data.cans+data.data.notcan>games) { |
|
|
|
'rgba(255, 206, 86, 0.05)', |
|
|
|
setGames(Number(data.data.cans)+Number(data.data.notcan)) |
|
|
|
'rgba(75, 192, 192, 0.05)', |
|
|
|
} |
|
|
|
'rgba(153, 102, 255, 0.05)', |
|
|
|
}) |
|
|
|
'rgba(255, 159, 64, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 99, 132, 1)', |
|
|
|
|
|
|
|
'rgba(54, 162, 235, 1)', |
|
|
|
|
|
|
|
'rgba(255, 206, 86, 1)', |
|
|
|
|
|
|
|
'rgba(75, 192, 192, 1)', |
|
|
|
|
|
|
|
'rgba(153, 102, 255, 1)', |
|
|
|
|
|
|
|
'rgba(255, 159, 64, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T2', |
|
|
|
|
|
|
|
data: GetChartData(eventData,2), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(54, 162, 235, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(54, 162, 235, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T3', |
|
|
|
|
|
|
|
data: GetChartData(eventData,3), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 206, 86, 0.05)', |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 206, 86, 1)', |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T4', |
|
|
|
|
|
|
|
data: GetChartData(eventData,4), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(75, 192, 192, 0.05)', |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(75, 192, 192, 1)', |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T5', |
|
|
|
|
|
|
|
data: GetChartData(eventData,5), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(153, 102, 255, 0.05)', |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(153, 102, 255, 1)', |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T6', |
|
|
|
|
|
|
|
data: GetChartData(eventData,6), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 159, 64, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 159, 64, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T7', |
|
|
|
|
|
|
|
data: GetChartData(eventData,7), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 99, 132, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 99, 132, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T8', |
|
|
|
|
|
|
|
data: GetChartData(eventData,8), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(54, 162, 235, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(54, 162, 235, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T9', |
|
|
|
|
|
|
|
data: GetChartData(eventData,9), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 206, 86, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 206, 86, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T10', |
|
|
|
|
|
|
|
data: GetChartData(eventData,10), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(75, 192, 192, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(75, 192, 192, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T20', |
|
|
|
|
|
|
|
data: GetChartData(eventData,20), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(0, 0, 0, 0.05)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(0, 0, 0, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T50', |
|
|
|
|
|
|
|
data: GetChartData(eventData,50), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 255, 255, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 255, 255, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
,{ |
|
|
|
function sendRequest(cans) { |
|
|
|
label: 'T100', |
|
|
|
axios.post("http://projectdivar.com/cans",{cans:cans}) |
|
|
|
data: GetChartData(eventData,100), |
|
|
|
.then((data)=>{ |
|
|
|
backgroundColor: [ |
|
|
|
refreshCount() |
|
|
|
'rgba(150, 255, 150, 0.5)' |
|
|
|
}) |
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(150, 255, 150, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T500', |
|
|
|
|
|
|
|
data: GetChartData(eventData,500), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(160, 0, 0, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(160, 0, 0, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T1000', |
|
|
|
|
|
|
|
data: GetChartData(eventData,1000), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 150, 150, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 150, 150, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T5000', |
|
|
|
|
|
|
|
data: GetChartData(eventData,5000), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(0, 140, 0, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(0, 140, 0, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
},{ |
|
|
|
|
|
|
|
label: 'T10000', |
|
|
|
|
|
|
|
data: GetChartData(eventData,10000), |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(30, 30, 255, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(30, 30, 255, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
}/*,{ |
|
|
|
|
|
|
|
label: 'T100 HAPPY FORTUNE NEW YEAR', |
|
|
|
|
|
|
|
data: [ |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(0,'days').add(0,'hours'),y:0}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(0,'days').add(7,'hours'),y:54036}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(4,'days').add(23,'hours'),y:451398}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(5,'days').add(3,'hours'),y:470204}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(7,'days').add(18,'hours'),y:671150}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(15,'hours'),y:915147}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(17,'hours'),y:952330}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(19,'hours'),y:988548}, |
|
|
|
|
|
|
|
{x:moment('2021-01-12 12:00:00+09:00').add(8,'days').add(21,'hours'),y:1027488}, |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
backgroundColor: [ |
|
|
|
|
|
|
|
'rgba(255, 255, 150, 0.5)' |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
borderColor: [ |
|
|
|
|
|
|
|
'rgba(255, 255, 150, 1)' |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
}*/], |
|
|
|
|
|
|
|
options: { |
|
|
|
|
|
|
|
scales: { |
|
|
|
|
|
|
|
yAxes: [{ |
|
|
|
|
|
|
|
ticks: { |
|
|
|
|
|
|
|
beginAtZero: true, |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}], |
|
|
|
|
|
|
|
xAxes: [{ |
|
|
|
|
|
|
|
type: 'time', |
|
|
|
|
|
|
|
time: { |
|
|
|
|
|
|
|
unit: 'hours', |
|
|
|
|
|
|
|
displayFormats: { |
|
|
|
|
|
|
|
hours: 'MMM D hA' |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
ticks: { |
|
|
|
|
|
|
|
min:EVENTSTART, |
|
|
|
|
|
|
|
max:EVENTEND |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
distribution: 'linear' |
|
|
|
|
|
|
|
}] |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function addCan(t) { |
|
|
|
|
|
|
|
setCans(Number(cans)+1) |
|
|
|
|
|
|
|
setGames(Number(games)+1) |
|
|
|
|
|
|
|
sendRequest(true) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
function addGame(t) { |
|
|
|
|
|
|
|
setGames(Number(games)+1) |
|
|
|
|
|
|
|
sendRequest(false) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
},[eventData]) |
|
|
|
|
|
|
|
|
|
|
|
return <> |
|
|
|
return ( |
|
|
|
<div className="container"> |
|
|
|
<> |
|
|
|
<div className="row"> |
|
|
|
<h1>繋ぎ手たちは導かれ~前編~</h1> |
|
|
|
<div className="col-12 text-center"> |
|
|
|
<Line data={chartData} /> |
|
|
|
<h3>Can %</h3> |
|
|
|
|
|
|
|
<h1>{((cans/games)*100).toFixed(2)+"%"}</h1> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="row"> |
|
|
|
|
|
|
|
<div className="col-6 text-center"> |
|
|
|
|
|
|
|
<h5>Cans</h5> |
|
|
|
|
|
|
|
<h1>{cans}</h1> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="col-6 text-center"> |
|
|
|
|
|
|
|
<h5>Total Games</h5> |
|
|
|
|
|
|
|
<h1>{games}</h1> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
{/*{password!=="muni_62"&&<> |
|
|
|
|
|
|
|
<b>Password to Edit:</b> |
|
|
|
|
|
|
|
<input type="password" placeholder="Password" onChange={(t)=>{ |
|
|
|
|
|
|
|
setPassword(t.currentTarget.value) |
|
|
|
|
|
|
|
}} |
|
|
|
|
|
|
|
/></>} |
|
|
|
|
|
|
|
{password=="muni_62"&&<> |
|
|
|
|
|
|
|
<div className="row"> |
|
|
|
|
|
|
|
<div className="col-6 text-center"> |
|
|
|
|
|
|
|
<button onClick={(t)=>{addGame(t)}}>No Can</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div className="col-6 text-center"> |
|
|
|
|
|
|
|
<button onClick={(t)=>{addCan(t)}}>Can</button> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</>}*/} |
|
|
|
|
|
|
|
</> |
|
|
|
</> |
|
|
|
|
|
|
|
) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function Website() { |
|
|
|
function Website() { |
|
|
@ -2407,7 +2562,7 @@ function Website() { |
|
|
|
const [userSettings,setUserSettings] = useState({}) |
|
|
|
const [userSettings,setUserSettings] = useState({}) |
|
|
|
|
|
|
|
|
|
|
|
useEffect(()=>{ |
|
|
|
useEffect(()=>{ |
|
|
|
axios.get("http://.projectdivar.com/songs") |
|
|
|
axios.get("http://www.projectdivar.com/songs") |
|
|
|
.then((data)=>{ |
|
|
|
.then((data)=>{ |
|
|
|
setSongs(data.data) |
|
|
|
setSongs(data.data) |
|
|
|
}) |
|
|
|
}) |
|
|
@ -2415,7 +2570,7 @@ function Website() { |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<div className="row"> |
|
|
|
<div className="row"> |
|
|
|
<div className="col-md-2 pt-3 pb-3 overflow-hidden text-center"> |
|
|
|
{/*<div className="col-md-2 pt-3 pb-3 overflow-hidden text-center"> |
|
|
|
<h3 className="d-none d-md-block">Menu</h3> |
|
|
|
<h3 className="d-none d-md-block">Menu</h3> |
|
|
|
<LoginInfo setUserSettings={setUserSettings} setUsername={setUsername} update={loginPanelUpdate}/> |
|
|
|
<LoginInfo setUserSettings={setUserSettings} setUsername={setUsername} update={loginPanelUpdate}/> |
|
|
|
<br/><br/> |
|
|
|
<br/><br/> |
|
|
@ -2424,7 +2579,7 @@ function Website() { |
|
|
|
<Link to="/divabot#content">DivaBot</Link><br/> |
|
|
|
<Link to="/divabot#content">DivaBot</Link><br/> |
|
|
|
<hr/> |
|
|
|
<hr/> |
|
|
|
<a href="http://discord.gg/eJ3cMzM"><img src="http://projectdivar.com/files/discord_button_small.png"/></a> |
|
|
|
<a href="http://discord.gg/eJ3cMzM"><img src="http://projectdivar.com/files/discord_button_small.png"/></a> |
|
|
|
</div> |
|
|
|
</div>*/} |
|
|
|
<div className="col-md-10 pt-3 pb-3"> |
|
|
|
<div className="col-md-10 pt-3 pb-3"> |
|
|
|
<div id="content"/> |
|
|
|
<div id="content"/> |
|
|
|
<Switch> |
|
|
|
<Switch> |
|
|
@ -2466,16 +2621,12 @@ function Website() { |
|
|
|
</Route> |
|
|
|
</Route> |
|
|
|
<Route path="/event"> |
|
|
|
<Route path="/event"> |
|
|
|
<h1 className="title">Event Data</h1> |
|
|
|
<h1 className="title">Event Data</h1> |
|
|
|
<EventData/> |
|
|
|
<ChartData/> |
|
|
|
</Route> |
|
|
|
</Route> |
|
|
|
<Route path="/eventedit"> |
|
|
|
<Route path="/eventedit"> |
|
|
|
<h1 className="title">Event Editor</h1> |
|
|
|
<h1 className="title">Event Editor</h1> |
|
|
|
<EventEditor/> |
|
|
|
<EventEditor/> |
|
|
|
</Route> |
|
|
|
</Route> |
|
|
|
<Route path="/cancount"> |
|
|
|
|
|
|
|
<h1 className="title">Can or no Can?</h1> |
|
|
|
|
|
|
|
<CanEditor/> |
|
|
|
|
|
|
|
</Route> |
|
|
|
|
|
|
|
<Route path="/"> |
|
|
|
<Route path="/"> |
|
|
|
<h1 className="title">Project DivaR</h1> |
|
|
|
<h1 className="title">Project DivaR</h1> |
|
|
|
Welcome! This website is here to store and track all your Project Diva records for yours and others' enjoyment! |
|
|
|
Welcome! This website is here to store and track all your Project Diva records for yours and others' enjoyment! |
|
|
@ -2625,7 +2776,7 @@ function App() { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Router> |
|
|
|
<Router> |
|
|
|
<div className="container-fluid content"> |
|
|
|
<div className="container-fluid content"> |
|
|
|
<div className="row"> |
|
|
|
{/*<div className="row"> |
|
|
|
<div className="topbar col-md-12 pt-1 overflow-hidden border rounded text-center"> |
|
|
|
<div className="topbar col-md-12 pt-1 overflow-hidden border rounded text-center"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<Link to="/"> |
|
|
|
<Link to="/"> |
|
|
@ -2633,7 +2784,7 @@ function App() { |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div>*/} |
|
|
|
<Website/> |
|
|
|
<Website/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</Router> |
|
|
|
</Router> |
|
|
|