<commit_before>﻿@using Azimuth.Infrastructure.Concrete
@using Microsoft.AspNet.Identity

@{

    UserCredential loggedUser = new UserCredential{Id = -1};
    if (Request.IsAuthenticated)
    {
        loggedUser = AzimuthIdentity.Current.UserCredential;   
    }
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("styles", false)
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header col-xs-12 col-sm-6 col-lg-8">
                <a class="col-xs-4" href="@Url.Action("Index", "PublicPlaylists")">
                    <img src="~/Images/logo.jpg" height="40" />
                </a>
                @if (Request.IsAuthenticated)
                {
                    <div class="col-xs-5 pull-right">
                        <form role="form" action="/search">
                            <div class="input-group navbar-btn">
                                <input type="text" placeholder="Search" class="form-control" style="min-width: 150px;" name="searchParam" />
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-default">
                                        <div class="glyphicon glyphicon-search"></div>
                                    </button>
                                </span>
                            </div>
                        </form>
                    </div>
                }
                <button type="button" class="navbar-toggle collapsed col-xs-1 pull-right" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            @if (Request.IsAuthenticated)
            {
                <div class="navbar-collapse collapse in col-xs-6 col-lg-4">
                    <ul class="nav navbar-nav">
                        <li id="user-settings">
                            <a id="user-image" href="@Url.Action("Index", "Music")">
                                <img src="@AzimuthIdentity.Current.UserCredential.PhotoBig"/>
                            </a>
                            <a href="@Url.Action("Index", "Music")">@User.Identity.GetUserName() </a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-sort-desc"></i></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="@Url.Action("Index", "UserProfile")"><i class="fa fa-lock"></i>&nbsp; Account</a></li>
                                <li class="divider"></li>
                                <li><a href="@Url.Action("LogOff", "Account")"><i class="fa fa-sign-out"></i>&nbsp; Log off</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
                
                @Html.Hidden("userId", loggedUser.Id)
            }<commit_msg>Fixed links<commit_after>﻿@using Azimuth.Infrastructure.Concrete
@using Microsoft.AspNet.Identity

@{

    UserCredential loggedUser = new UserCredential{Id = -1};
    if (Request.IsAuthenticated)
    {
        loggedUser = AzimuthIdentity.Current.UserCredential;   
    }
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title</title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    @RenderSection("styles", false)
</head>
<body>
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header col-xs-12 col-sm-6 col-lg-8">
                <a class="col-xs-4" href="/PublicPlaylists">
                    <img src="~/Images/logo.jpg" height="40" />
                </a>
                @if (Request.IsAuthenticated)
                {
                    <div class="col-xs-5 pull-right">
                        <form role="form" action="/search">
                            <div class="input-group navbar-btn">
                                <input type="text" placeholder="Search" class="form-control" style="min-width: 150px;" name="searchParam" />
                                <span class="input-group-btn">
                                    <button type="submit" class="btn btn-default">
                                        <div class="glyphicon glyphicon-search"></div>
                                    </button>
                                </span>
                            </div>
                        </form>
                    </div>
                }
                <button type="button" class="navbar-toggle collapsed col-xs-1 pull-right" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            @if (Request.IsAuthenticated)
            {
                <div class="navbar-collapse collapse in col-xs-6 col-lg-4">
                    <ul class="nav navbar-nav">
                        <li id="user-settings">
                            <a id="user-image" href="@Url.Action("Index", "Music")">
                                <img src="@AzimuthIdentity.Current.UserCredential.PhotoBig"/>
                            </a>
                            <a href="@Url.Action("Index", "Music")">@User.Identity.GetUserName() </a>
                        </li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-sort-desc"></i></a>
                            <ul class="dropdown-menu" role="menu">
                                <li><a href="/UserProfile"><i class="fa fa-lock"></i>&nbsp; Account</a></li>
                                <li class="divider"></li>
                                <li><a href="@Url.Action("LogOff", "Account")"><i class="fa fa-sign-out"></i>&nbsp; Log off</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
                
                @Html.Hidden("userId", loggedUser.Id)
            }
{'fraction_non_alphanumeric': 0.15375788869764773, 'fraction_numerical': 0.006024096385542169, 'mean_word_length': 1.3621273712737128, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3933730', 'n_tokens_mistral': 1944, 'n_tokens_neox': 1820, 'n_words': 315}