<commit_before>extends layout

block body
	div(data-ng-controller='IndexCtrl', data-ng-show="loaded")

		div.alert.alert-danger(data-ng-if='alertMessage') {{ alertMessage }}

		div.jumbotron(data-ng-if='loaded && !loggedIn')
			h2.text-center Scrobble Along
			p.text-center.
				Have you ever been listening to a radio station and wished there was a way to scrobble those songs?
				Now you can! Log in with your Last.fm account and select a station below, and you will scrobble along
				with what they play. For more information about how this works and how to get in touch, see the
				<a href="about">about</a> page.
			p.text-center
				a.btn.btn-primary.btn-lg(href='{{loginUrl}}') Log In With Last.fm

		div(data-ng-if='loggedIn')
			div#user-info
				div.user-tile(user-tile)
				div.station-tile(data-ng-repeat='station in stations | filter:{currentlyScrobbling:true}', station-tile)
				p#continue-scrobbling-note Note: ScrobbleAlong will continue scrobbling even if you close your browser window.

		div
			div.pull-left
				h3 Stations
			div.btn-group.btn-group-sm.pull-right.sort-buttons(data-ng-if='loggedIn')
				button.btn.btn-default.disabled(type='button') Sort:
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("scrobbles")', ng-class='{active: sortStationsBy=="scrobbles"}') Scrobbles
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("compatibility")', ng-class='{active: sortStationsBy=="compatibility"}') Compatibility
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("lastfmUsername")', ng-class='{active: sortStationsBy=="lastfmUsername"}') Name

		div.clearfix

		div.well.stations
			div.station-tile(data-ng-repeat='station in stations | filter:{currentlyScrobbling:false} | orderBy:sortStations', station-tile)
			div.clearfix<commit_msg>Hide content until angular is loaded<commit_after>extends layout

block body
	div.ng-hide(data-ng-controller='IndexCtrl', data-ng-show="loaded")

		div.alert.alert-danger(data-ng-if='alertMessage') {{ alertMessage }}

		div.jumbotron(data-ng-if='loaded && !loggedIn')
			h2.text-center Scrobble Along
			p.text-center.
				Have you ever been listening to a radio station and wished there was a way to scrobble those songs?
				Now you can! Log in with your Last.fm account and select a station below, and you will scrobble along
				with what they play. For more information about how this works and how to get in touch, see the
				<a href="about">about</a> page.
			p.text-center
				a.btn.btn-primary.btn-lg(href='{{loginUrl}}') Log In With Last.fm

		div(data-ng-if='loggedIn')
			div#user-info
				div.user-tile(user-tile)
				div.station-tile(data-ng-repeat='station in stations | filter:{currentlyScrobbling:true}', station-tile)
				p#continue-scrobbling-note Note: ScrobbleAlong will continue scrobbling even if you close your browser window.

		div
			div.pull-left
				h3 Stations
			div.btn-group.btn-group-sm.pull-right.sort-buttons(data-ng-if='loggedIn')
				button.btn.btn-default.disabled(type='button') Sort:
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("scrobbles")', ng-class='{active: sortStationsBy=="scrobbles"}') Scrobbles
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("compatibility")', ng-class='{active: sortStationsBy=="compatibility"}') Compatibility
				button.btn.btn-default(type='button', data-ng-click='changeStationSort("lastfmUsername")', ng-class='{active: sortStationsBy=="lastfmUsername"}') Name

		div.clearfix

		div.well.stations
			div.station-tile(data-ng-repeat='station in stations | filter:{currentlyScrobbling:false} | orderBy:sortStations', station-tile)
			div.clearfix
{'fraction_non_alphanumeric': 0.13644910018802042, 'fraction_numerical': 0.0010744023636852001, 'mean_word_length': 4.746913580246914, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '5064763', 'n_tokens_mistral': 1334, 'n_tokens_neox': 1193, 'n_words': 268}