-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #837 from project-primera/develop
Release 0.18.0
- Loading branch information
Showing
13 changed files
with
175 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
OngekiScoreLog/database/migrations/2024_04_16_145251_add_deleted_flag_in_songs.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
use Illuminate\Support\Facades\Schema; | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Database\Migrations\Migration; | ||
|
||
class AddDeletedFlagInSongs extends Migration | ||
{ | ||
/** | ||
* Run the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function up() | ||
{ | ||
Schema::table('music_datas', function (Blueprint $table){ | ||
$table->tinyInteger('deleted_normal')->after('unrated')->unsigned()->default(0); | ||
$table->tinyInteger('deleted_lunatic')->after('deleted_normal')->unsigned()->default(0); | ||
}); | ||
} | ||
|
||
/** | ||
* Reverse the migrations. | ||
* | ||
* @return void | ||
*/ | ||
public function down() | ||
{ | ||
Schema::table('music_datas', function (Blueprint $table){ | ||
$table->dropColumn('deleted_normal'); | ||
$table->dropColumn('deleted_lunatic'); | ||
}); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
OngekiScoreLog/resources/views/layouts/components/user/archive_mode_button.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<p> | ||
<b>表示モード</b><br> | ||
<div style="margin-bottom: .3em"> | ||
<a href="/user/{{$id}}/{{$mode}}" class="button{{($archive === 0) ? " is-info" : ""}}">現行譜面のみ</a> | ||
<a href="/user/{{$id}}/{{$mode}}?archive=1" class="button{{($archive === 1) ? " is-info" : ""}}">現行譜面のみ / スコア0を表示</a><br> | ||
</div> | ||
<div style="margin-bottom: .3em"> | ||
<a href="/user/{{$id}}/{{$mode}}?archive=2" class="button{{($archive === 2) ? " is-info" : ""}}">削除譜面のみ</a> | ||
<a href="/user/{{$id}}/{{$mode}}?archive=3" class="button{{($archive === 3) ? " is-info" : ""}}">削除譜面のみ / スコア0を表示</a><br> | ||
</div> | ||
<div> | ||
<a href="/user/{{$id}}/{{$mode}}?archive=4" class="button{{($archive === 4) ? " is-info" : ""}}">すべて表示(従来モード)</a><br> | ||
</div> | ||
|
||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.