<commit_before>﻿@{ 
    var coreSettings = await settingService.GetSettingsAsync<CoreSettings>();
    var currentUser = await userManager.GetUserAsync(Context.User);
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - Fanray Admin Console</title>
    <link rel="shortcut icon" href="/favicon.ico">
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet">
    <link href="https://unpkg.com/vuetify@1.2.2/dist/vuetify.min.css" rel="stylesheet">
    <link rel="stylesheet" href="~/admin/css/admin.css" asp-append-version="true" />
    @RenderSection("Styles", required: false)
</head>
<body>
    @Html.AntiForgeryToken()

    <div id="app" v-cloak>
        <v-app light>
            @* Drawer *@
            <v-navigation-drawer :clipped="$vuetify.breakpoint.lgAndUp"
                                 v-model="drawer"
                                 fixed
                                 app>
                <v-list dense>
                    <template v-for="nav in adminNavs">
                        <v-list-tile :href="nav.url" :value="nav.active" active-class="admin-active-nav">
                            <v-list-tile-action>
                                <v-icon>{{ nav.icon }}</v-icon>
                            </v-list-tile-action>
                            <v-list-tile-content>
                                <v-list-tile-title>
                                    {{ nav.text }}
                                </v-list-tile-title>
                            </v-list-tile-content>
                        </v-list-tile>
                    </template>
                </v-list>
            </v-navigation-drawer>
            @* Topbar *@
            <v-toolbar :clipped-left="$vuetify.breakpoint.lgAndUp"
                       color="blue darken-3"
                       dark
                       app
                       dense
                       fixed>
                <v-toolbar-side-icon @@click.stop="drawer = !drawer"></v-toolbar-side-icon>
                <v-toolbar-title class="hidden-sm-and-down">@coreSettings.Title</v-toolbar-title>
                <v-spacer></v-spacer>
                <v-menu offset-y origin="center center" :nudge-bottom="6" transition="scale-transition">
                    <v-btn icon large flat slot="activator">
                        <v-avatar size="32px">
                            <img gravatar-email="@currentUser.Email" title="@currentUser.DisplayName" />
                        </v-avatar>
                    </v-btn>
                    <v-list>
                        <v-list-tile @@click="">
                            <v-list-tile-action>
                                <v-icon>account_circle</v-icon>
                            </v-list-tile-action>
                            <v-list-tile-content>
                                <v-list-tile-title>Profile</v-list-tile-title>
                            </v-list-tile-content>
                        </v-list-tile>
                        <v-list-tile @@click="logout">
                            <v-list-tile-action>
                                <v-icon>power_settings_new</v-icon>
                            </v-list-tile-action>
                            <v-list-tile-content>
                                <v-list-tile-title>Logout</v-list-tile-title>
                            </v-list-tile-content>
                        </v-list-tile>
                    </v-list>
                </v-menu>
                <v-btn icon href="/" title="Go to my blog">
                    <v-icon>exit_to_app</v-icon>
                </v-btn>
            </v-toolbar>
            @* Content *@
            <v-content>
                @RenderBody()
            </v-content>
            <v-snackbar :timeout="3000"
                        bottom
                        right
                        :color="snackbar.color"
                        v-model="snackbar.show">
                <span style="font-size:larger">{{ snackbar.text }}</span>
                <v-btn dark flat @@click.native="snackbar.show = false" icon><commit_msg>styles: Fix admin avatar dropdown menu #113<commit_after>﻿@{ 
    var coreSettings = await settingService.GetSettingsAsync<CoreSettings>();
    var currentUser = await userManager.GetUserAsync(Context.User);
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - Fanray Admin Console</title>
    <link rel="shortcut icon" href="/favicon.ico">
    <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet">
    <link href="https://unpkg.com/vuetify@1.2.2/dist/vuetify.min.css" rel="stylesheet">
    <link rel="stylesheet" href="~/admin/css/admin.css" asp-append-version="true" />
    @RenderSection("Styles", required: false)
</head>
<body>
    @Html.AntiForgeryToken()

    <div id="app" v-cloak>
        <v-app light>
            @* Drawer *@
            <v-navigation-drawer :clipped="$vuetify.breakpoint.lgAndUp"
                                 v-model="drawer"
                                 fixed
                                 app>
                <v-list dense>
                    <template v-for="nav in adminNavs">
                        <v-list-tile :href="nav.url" :value="nav.active" active-class="admin-active-nav">
                            <v-list-tile-action>
                                <v-icon>{{ nav.icon }}</v-icon>
                            </v-list-tile-action>
                            <v-list-tile-content>
                                <v-list-tile-title>
                                    {{ nav.text }}
                                </v-list-tile-title>
                            </v-list-tile-content>
                        </v-list-tile>
                    </template>
                </v-list>
            </v-navigation-drawer>
            @* Topbar *@
            <v-toolbar :clipped-left="$vuetify.breakpoint.lgAndUp"
                       color="blue darken-3"
                       dark
                       app
                       dense
                       fixed>
                <v-toolbar-side-icon @@click.stop="drawer = !drawer"></v-toolbar-side-icon>
                <v-toolbar-title class="hidden-sm-and-down">@coreSettings.Title</v-toolbar-title>
                <v-spacer></v-spacer>
                <v-menu light offset-y left transition="scale-transition">
                    <v-btn icon slot="activator">
                        <v-avatar size="32px">
                            <img gravatar-email="@currentUser.Email" title="@currentUser.DisplayName" />
                        </v-avatar>
                    </v-btn>
                    <v-list dense>
                        <v-list-tile @@click="">
                            <v-icon class="cat-action-icon">account_circle</v-icon>
                            <v-list-tile-title>Profile</v-list-tile-title>
                        </v-list-tile>
                        <v-list-tile @@click="logout">
                            <v-icon class="cat-action-icon">power_settings_new</v-icon>
                            <v-list-tile-title>Logout</v-list-tile-title>
                        </v-list-tile>
                    </v-list>
                </v-menu>
                <v-btn icon href="/" title="View blog">
                    <v-icon>public</v-icon>
                </v-btn>
            </v-toolbar>
            @* Content *@
            <v-content>
                @RenderBody()
            </v-content>
            <v-snackbar :timeout="3000"
                        bottom
                        right
                        :color="snackbar.color"
                        v-model="snackbar.show">
                <span style="font-size:larger">{{ snackbar.text }}</span>
                <v-btn dark flat @@click.native="snackbar.show = false" icon>
{'fraction_non_alphanumeric': 0.13881368446960374, 'fraction_numerical': 0.006645335958651243, 'mean_word_length': 1.1465927099841522, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 153, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2225540', 'n_tokens_mistral': 2352, 'n_tokens_neox': 2191, 'n_words': 319}