1
0
mirror of synced 2024-11-24 06:20:12 +01:00

Covnert Museca and SDVX to fragments.

This commit is contained in:
Jennifer Taylor 2022-10-08 22:13:20 +00:00
parent 7f2c8b0ef2
commit 3843e37d4e
7 changed files with 24 additions and 26 deletions

View File

@ -182,9 +182,9 @@ var network_records = createReactClass({
}
return (
<span>
<>
{ paginate ?
<div className="section">
<div className="section" key="paginatebuttons">
{songids.map(function(songid) {
if (songid < 0) {
curbutton = curbutton + 1;
@ -207,7 +207,7 @@ var network_records = createReactClass({
</div> :
null
}
<div className="section">
<div className="section" key="contents">
<table className="list records">
<thead></thead>
<tbody>
@ -284,7 +284,7 @@ var network_records = createReactClass({
</tbody>
</table>
</div>
</span>
</>
);
},
@ -304,7 +304,6 @@ var network_records = createReactClass({
return this.getPlays(this.state.records[songid]) > 0;
}.bind(this));
}
return this.renderBySongIDList(songids, false);
},
@ -356,7 +355,7 @@ var network_records = createReactClass({
}
return (
<span>
<>
<div className="section">
{window.valid_charts.map(function(chartname, index) {
return (
@ -373,7 +372,7 @@ var network_records = createReactClass({
}.bind(this))}
</div>
{ this.renderBySongIDList(songids, false) }
</span>
</>
);
},
@ -406,7 +405,7 @@ var network_records = createReactClass({
}
return (
<span>
<>
<div className="section">
{window.valid_charts.map(function(chartname, index) {
return (
@ -423,7 +422,7 @@ var network_records = createReactClass({
}.bind(this))}
</div>
{ this.renderBySongIDList(songids, false) }
</span>
</>
);
},

View File

@ -54,14 +54,14 @@ var settings_view = createReactClass({
return (
<LabelledSection vertical={true} label="Name">{
!this.state.editing_name ?
<span>
<>
<span>{player.name}</span>
<Edit
onClick={function(event) {
this.setState({editing_name: true});
}.bind(this)}
/>
</span> :
</> :
<form className="inline" onSubmit={this.saveName}>
<input
type="text"

View File

@ -175,9 +175,9 @@ var network_records = createReactClass({
}
return (
<span>
<>
{ paginate ?
<div className="section">
<div className="section" key="paginatebuttons">
{songids.map(function(songid) {
if (songid < 0) {
curbutton = curbutton + 1;
@ -200,7 +200,7 @@ var network_records = createReactClass({
</div> :
null
}
<div className="section">
<div className="section" key="contents">
<table className="list records">
<thead></thead>
<tbody>
@ -299,7 +299,7 @@ var network_records = createReactClass({
</tbody>
</table>
</div>
</span>
</>
);
},
@ -371,7 +371,7 @@ var network_records = createReactClass({
}
return (
<span>
<>
<div className="section">
{window.valid_charts.map(function(chartname, index) {
return (
@ -388,7 +388,7 @@ var network_records = createReactClass({
}.bind(this))}
</div>
{ this.renderBySongIDList(songids, false) }
</span>
</>
);
},
@ -421,7 +421,7 @@ var network_records = createReactClass({
}
return (
<span>
<>
<div className="section">
{window.valid_charts.map(function(chartname, index) {
return (
@ -438,7 +438,7 @@ var network_records = createReactClass({
}.bind(this))}
</div>
{ this.renderBySongIDList(songids, false) }
</span>
</>
);
},

View File

@ -111,7 +111,7 @@ var rivals_view = createReactClass({
if (count >= 3) { avail = false; }
return (
<span>
<>
{avail ?
<Add
title="Add Rival"
@ -121,7 +121,7 @@ var rivals_view = createReactClass({
/> :
null
}
</span>
</>
);
},

View File

@ -60,10 +60,10 @@ var network_scores = createReactClass({
<span className="grade">{score.grade}</span>
<span className="label">Score</span>
<span className="score">{score.points}</span>
{score.combo >= 0 ? <span>
{score.combo >= 0 ? <>
<span className="label">Combo</span>
<span className="score">{score.combo}</span>
</span> : null}
</> : null}
</div>
{has_stats ? <div title="critical / near / error">
{score.stats.critical}

View File

@ -54,14 +54,14 @@ var settings_view = createReactClass({
return (
<LabelledSection vertical={true} label="Name">{
!this.state.editing_name ?
<span>
<>
<span>{player.name}</span>
<Edit
onClick={function(event) {
this.setState({editing_name: true});
}.bind(this)}
/>
</span> :
</> :
<form className="inline" onSubmit={this.saveName}>
<input
type="text"

View File

@ -132,7 +132,6 @@ var top_scores = createReactClass({
{
name: 'Judgement Stats',
render: function(topscore) {
console.log(topscore);
has_stats = (
topscore.stats.critical > 0 ||
topscore.stats.near > 0 ||