<commit_before>@section("content")

	<div class="container main">
		<div class="col-lg-4">
			<div class="row">
				<div class="col-xs-6 col-xs-offset-3">
					<button class="btn btn-block btn-danger" data-toggle="modal" data-target="#help">Help</button>
					<button class="btn btn-block btn-info" data-toggle="modal" data-target="#other">What not to accept</button>
				</div>
			</div>
		</div>
		<div class="col-lg-8">

			<div class="row">
				<div id="player-test">
					<div>
						<div class="col-xs-1" style="padding-right: 0" id="play-pause">
							<i class="fa fa-play audio-icon" id="audio-play"></i>
							<i class="fa fa-pause audio-icon" id="audio-pause" style="display: none"></i>
						</div>
						<div class="col-xs-5" id="audio-slider">
							<input id="audio-progress" type="range" class="track-slider" min="0" max="1000" step="1" value="0">
							<div class="buffer" style="margin-right: 30px">
								<div id="audio-buffer" class="buffer-bar" style="width: 0%"></div>
							</div>
						</div>
						<div class="col-xs-1" id="audio-time">
							0:00
						</div>
						<div class="col-xs-1" style="padding-right: 0">
							<i class="fa fa-volume-up audio-icon" id="volume-high"></i>
							<i class="fa fa-volume-down audio-icon" id="volume-low" style="display: none"></i>
							<i class="fa fa-volume-off audio-icon" id="volume-muted" style="color: rgb(153, 153, 153); display: none"></i>
						</div>
						<div class="col-xs-2" style="padding-right: 0">
							<input type="range" class="track-slider" min="0" max="100" step="1" value="80" id="volume">
							<div class="buffer" style="margin-right: 15px">
								<div id="audio-bar" class="buffer-bar" style="width: 80%"></div>
							</div>
							
						</div>
						<div class="col-xs-2">
							<button class="btn btn-xs btn-default" style="margin-top: 2px;" id="audio-reset">reset state</button>
						</div>
					</div>
				</div>
				<p id="np" class="text-center"></p>
			</div>
		</div>
	</div>	
	<hr>
	@foreach ($pending as $p)
		@if ($p["dupe_flag"])
			<div class="well" style="background-color: rgba(217, 83, 79, 0.5); padding-bottom: 0">
		@else
			<div class="well" style="padding-bottom: 0">
		@endif
			{{ Form::open(["url" => "/admin/pending/" . $p["id"], "class" => "form-horizontal"]) }}
				<div class="container" style="width: 100%">
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Artist</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["artist"] }}}" placeholder="Artist" name="artist">
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Title</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["track"] }}}" placeholder="Title" name="title">
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Album</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["album"] }}}" placeholder="Album" name="album">
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Tags</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" placeholder="Tags" name="tags">
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Uploader</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm">{{{ $p["submitter"] }}}</p>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">
								Bitrate
							</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm" style="overflow: hidden; white-space: nowrap">{{{ ceil($p["bitrate"] / 1000) }}}kbps {{{ $p["mode"] ?: "" }}}</p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Size</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm">
									<button type="button" class="btn btn-xs btn-primary play-button" data-url="/admin/pending-song/{{{ $p["id"] }}}" data-format="{{ $p["format"] ?: "mp3" }}">
										{{{ date("i\ms\s", floor($p["length"]) ?: 0) }}}, {{{ number_format($p["filesize"] / 1048576, 2) }}}MB
									</button>
								</p>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Name</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm" style="overflow: hidden; white-space: nowrap">
									<a href="/admin/pending-song/{{{ $p["id"] }}}" title="{{{ $p["origname"] }}}" target="_blank" class="btn btn-warning btn-xs">
										{{{ strlen($p["origname"]) > 17 ? preg_replace("/(.{1,10})(.*)(\.(mp3|flac))/u", "$1..$3", $p["origname"]) : $p["origname"] }}}
									</a>
								</p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Comment</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm">{{{ $p["comment"] }}}</p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm" style="padding-top: 0">
								<button type="submit" name="choice" value="accept" class="btn btn-sm btn-success accept-song">Accept</button>
							</label>
							<div class="col-xs-8">
								<div class="checkbox">
									<input type="checkbox" name="good" value="1"> Good?
								</div>
							</div>
						</div>
						<div class="form-group"><commit_msg>Reduce the font size of the pending page's comments<commit_after>@section("content")

	<div class="container main">
		<div class="col-lg-4">
			<div class="row">
				<div class="col-xs-6 col-xs-offset-3">
					<button class="btn btn-block btn-danger" data-toggle="modal" data-target="#help">Help</button>
					<button class="btn btn-block btn-info" data-toggle="modal" data-target="#other">What not to accept</button>
				</div>
			</div>
		</div>
		<div class="col-lg-8">

			<div class="row">
				<div id="player-test">
					<div>
						<div class="col-xs-1" style="padding-right: 0" id="play-pause">
							<i class="fa fa-play audio-icon" id="audio-play"></i>
							<i class="fa fa-pause audio-icon" id="audio-pause" style="display: none"></i>
						</div>
						<div class="col-xs-5" id="audio-slider">
							<input id="audio-progress" type="range" class="track-slider" min="0" max="1000" step="1" value="0">
							<div class="buffer" style="margin-right: 30px">
								<div id="audio-buffer" class="buffer-bar" style="width: 0%"></div>
							</div>
						</div>
						<div class="col-xs-1" id="audio-time">
							0:00
						</div>
						<div class="col-xs-1" style="padding-right: 0">
							<i class="fa fa-volume-up audio-icon" id="volume-high"></i>
							<i class="fa fa-volume-down audio-icon" id="volume-low" style="display: none"></i>
							<i class="fa fa-volume-off audio-icon" id="volume-muted" style="color: rgb(153, 153, 153); display: none"></i>
						</div>
						<div class="col-xs-2" style="padding-right: 0">
							<input type="range" class="track-slider" min="0" max="100" step="1" value="80" id="volume">
							<div class="buffer" style="margin-right: 15px">
								<div id="audio-bar" class="buffer-bar" style="width: 80%"></div>
							</div>
							
						</div>
						<div class="col-xs-2">
							<button class="btn btn-xs btn-default" style="margin-top: 2px;" id="audio-reset">reset state</button>
						</div>
					</div>
				</div>
				<p id="np" class="text-center"></p>
			</div>
		</div>
	</div>	
	<hr>
	@foreach ($pending as $p)
		@if ($p["dupe_flag"])
			<div class="well" style="background-color: rgba(217, 83, 79, 0.5); padding-bottom: 0">
		@else
			<div class="well" style="padding-bottom: 0">
		@endif
			{{ Form::open(["url" => "/admin/pending/" . $p["id"], "class" => "form-horizontal"]) }}
				<div class="container" style="width: 100%">
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Artist</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["artist"] }}}" placeholder="Artist" name="artist">
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Title</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["track"] }}}" placeholder="Title" name="title">
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Album</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" value="{{{ $p["album"] }}}" placeholder="Album" name="album">
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-2 input-sm">Tags</label>
							<div class="col-xs-10">
								<input type="text" class="form-control input-sm" placeholder="Tags" name="tags">
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Uploader</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm">{{{ $p["submitter"] }}}</p>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">
								Bitrate
							</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm" style="overflow: hidden; white-space: nowrap">{{{ ceil($p["bitrate"] / 1000) }}}kbps {{{ $p["mode"] ?: "" }}}</p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Size</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm">
									<button type="button" class="btn btn-xs btn-primary play-button" data-url="/admin/pending-song/{{{ $p["id"] }}}" data-format="{{ $p["format"] ?: "mp3" }}">
										{{{ date("i\ms\s", floor($p["length"]) ?: 0) }}}, {{{ number_format($p["filesize"] / 1048576, 2) }}}MB
									</button>
								</p>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Name</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm" style="overflow: hidden; white-space: nowrap">
									<a href="/admin/pending-song/{{{ $p["id"] }}}" title="{{{ $p["origname"] }}}" target="_blank" class="btn btn-warning btn-xs">
										{{{ strlen($p["origname"]) > 17 ? preg_replace("/(.{1,10})(.*)(\.(mp3|flac))/u", "$1..$3", $p["origname"]) : $p["origname"] }}}
									</a>
								</p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm">Comment</label>
							<div class="col-xs-8">
								<p class="form-control-static input-sm"><small>{{{ $p["comment"] }}}</small></p>
							</div>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="form-group">
							<label class="control-label col-xs-4 input-sm" style="padding-top: 0">
								<button type="submit" name="choice" value="accept" class="btn btn-sm btn-success accept-song">Accept</button>
							</label>
							<div class="col-xs-8">
								<div class="checkbox">
									<input type="checkbox" name="good" value="1"> Good?
								</div>
							</div>
						</div>
						<div class="form-group">
{'fraction_non_alphanumeric': 0.22778473091364204, 'fraction_numerical': 0.019190654985398414, 'mean_word_length': 2.7409488139825218, 'pattern_counts': {'":': 0, '<': 315, '<?xml version=': 0, '>': 321, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3724873', 'n_tokens_mistral': 5775, 'n_tokens_neox': 4196, 'n_words': 849}