<commit_before><!DOCTYPE html>
<html ng-app="app">
<head>
    <title>MPD All Access</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="js/bundle.js"></script>
    <script src="https://use.fontawesome.com/2f2f714e84.js"></script>
    <link type="text/css" rel="stylesheet" href="css/style.css">
    <link type="text/css" rel="stylesheet" href="css/jquery.contextMenu.min.css">
    <link href="https://fonts.googleapis.com/css?family=Gentium+Basic" rel="stylesheet">
</head>
<body>

<div ng-controller="SearchController">

<div class="frm">
    <span class="title"><span>g</span><i class="fa fa-music" aria-hidden="true"></i></span>
    <form id="search" ng-submit="search()">
        <input type="text" value="{{query}}" ng-model="query" placeholder="Search" select-on-click />
        <button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
    </form>
    <div style="clear:both;"></div>
</div>

<div class="o">
</div>

<h2>Artists</h2>
<ul id="artist-cards" class="cards">
    <li id="{{entry.artist.artistId}}" class="card" ng-repeat="entry in entries | filter:{type:'2'}">
        <a href ng-click="artist(entry.artist.artistId)">
            <div class="image card" style="background:url('{{entry.artist.artistArtRef}}') no-repeat center center;"></div>
        </a>
        <div class="info" style="">
            <a href ng-click="artist(entry.artist.artistId)">{{entry.artist.name}}</a>
        </div>
    </li>
</ul>

<h2>Albums</h2>
<ul id="album-cards" class="cards">
    <li id="{{entry.album.albumId}}" class="card" ng-repeat="entry in entries | filter:{type:'3'}">
        <a href ng-click="album(entry.album.albumId)">
            <div class="image card" style="background:url('{{entry.album.albumArtRef}}') no-repeat center center;"></div>
        </a>
        <div class="info" style="">
            <a href ng-click="artist(track.artistId)">
				{{entry.album.name}}<br/>
				<span>{{entry.album.year}} // {{entry.album.albumArtist}}</span>
            </a>
        </div>
    </li>
</ul>

<h2>Songs</h2>
<table id="table" class="display" >
<tbody>
    <tr id="{{entry.track.storeId}}" ng-repeat="entry in entries | filter:{type:'1'}">
        <td style="display:none;">{{entry.track.score}}</td>
        <td><a href ng-click="artist(entry.track.artistId)">{{entry.track.artist}}</a></td>
        <td>{{entry.track.title}}<div><a href ng-click="album(entry.track.albumId)">{{entry.track.album}}</a>&nbsp;({{entry.track.year}})</div></td>
        <td style="width:1px;white-space:nowrap;">
            <button class="btn track" ng-click="load(entry.track.storeId,'addv')">
                <i class="fa fa-plus" aria-hidden="true"></i>
            </button>
            <button class="btn track" ng-click="load(entry.track.storeId,'play')">
                <i class="fa fa-play" aria-hidden="true"></i>
            </button>
            <button context-menu class="context-menu-one btn btn-neutral" data-id="{{entry.track.albumId}}" data-album="{{entry.track.albumId}}" data-track="{{entry.track.storeId}}" data-artist="{{entry.track.artistId}}">
                <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
            </button>
        </td>
    </tr>
</tbody>
</table>

</div>

</body>
</html><commit_msg>Hide headers when no data<commit_after><!DOCTYPE html>
<html ng-app="app">
<head>
    <title>MPD All Access</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="js/bundle.js"></script>
    <script src="https://use.fontawesome.com/2f2f714e84.js"></script>
    <link type="text/css" rel="stylesheet" href="css/style.css">
    <link type="text/css" rel="stylesheet" href="css/jquery.contextMenu.min.css">
    <link href="https://fonts.googleapis.com/css?family=Gentium+Basic" rel="stylesheet">
</head>
<body>

<div ng-controller="SearchController">

<div class="frm">
    <span class="title"><span>g</span><i class="fa fa-music" aria-hidden="true"></i></span>
    <form id="search" ng-submit="search()">
        <input type="text" value="{{query}}" ng-model="query" placeholder="Search" select-on-click />
        <button type="submit"><i class="fa fa-search" aria-hidden="true"></i></button>
    </form>
    <div style="clear:both;"></div>
</div>

<div class="o">
</div>

<h2 ng-show="artists.length">Artists</h2>
<ul id="artist-cards" class="cards">
    <li id="{{entry.artist.artistId}}" class="card" ng-repeat="entry in artists = (entries | filter:{type:'2'})">
        <a href ng-click="artist(entry.artist.artistId)">
            <div class="image card" style="background:url('{{entry.artist.artistArtRef}}') no-repeat center center;"></div>
        </a>
        <div class="info" style="">
            <a href ng-click="artist(entry.artist.artistId)">{{entry.artist.name}}</a>
        </div>
    </li>
</ul>

<h2 ng-show="albums.length">Albums</h2>
<ul id="album-cards" class="cards">
    <li id="{{entry.album.albumId}}" class="card" ng-repeat="entry in albums = (entries | filter:{type:'3'})">
        <a href ng-click="album(entry.album.albumId)">
            <div class="image card" style="background:url('{{entry.album.albumArtRef}}') no-repeat center center;"></div>
        </a>
        <div class="info" style="">
            <a href ng-click="artist(track.artistId)">
				{{entry.album.name}}<br/>
				<span>{{entry.album.year}} // {{entry.album.albumArtist}}</span>
            </a>
        </div>
    </li>
</ul>

<h2 ng-show="tracks.length">Songs</h2>
<table id="table" class="display" >
<tbody>
    <tr id="{{entry.track.storeId}}" ng-repeat="entry in tracks = (entries | filter:{type:'1'})">
        <td style="display:none;">{{entry.track.score}}</td>
        <td><a href ng-click="artist(entry.track.artistId)">{{entry.track.artist}}</a></td>
        <td>{{entry.track.title}}<div><a href ng-click="album(entry.track.albumId)">{{entry.track.album}}</a>&nbsp;({{entry.track.year}})</div></td>
        <td style="width:1px;white-space:nowrap;">
            <button class="btn track" ng-click="load(entry.track.storeId,'addv')">
                <i class="fa fa-plus" aria-hidden="true"></i>
            </button>
            <button class="btn track" ng-click="load(entry.track.storeId,'play')">
                <i class="fa fa-play" aria-hidden="true"></i>
            </button>
            <button context-menu class="context-menu-one btn btn-neutral" data-id="{{entry.track.albumId}}" data-album="{{entry.track.albumId}}" data-track="{{entry.track.storeId}}" data-artist="{{entry.track.artistId}}">
                <i class="fa fa-ellipsis-v" aria-hidden="true"></i>
            </button>
        </td>
    </tr>
</tbody>
</table>

</div>

</body>
</html>
{'fraction_non_alphanumeric': 0.22681613044111223, 'fraction_numerical': 0.005532100742466153, 'mean_word_length': 3.4901960784313726, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3780191', 'n_tokens_mistral': 2418, 'n_tokens_neox': 2338, 'n_words': 387}