<commit_before><link rel="import" href="../elements.html">
<link rel="import" href="../login-element/login-element.html">
<link rel="import" href="../settings-element/settings-element.html">
<link rel="import" href="../keys-element/keys-element.html">
<link rel="import" href="../users-element/users-element.html">
<link rel="import" href="../gateway-element/gateway-element.html">
<link rel="import" href="../webman-element/webman-element.html">
<link rel="import" href="../oauth-registration/oauth-registration.html">
<link rel="import" href="../clusterconfig-element/clusterconfig-element.html">

<polymer-element name="webman-app" flex layout vertical attributes="apiBase" >
  <template>
    <link rel="stylesheet" href="webman-app.css">
    <core-pages valueattr="id" selected="{{page}}" flex>
      <div horizontal layout flex id="loginpage">
        <div flex self-center>
          <div horizontal center-justified layout>
            <div><login-element apiBase="{{apiBase}}" id="login" on-login="{{handleLoggedIn}}" config="{{config}}"></login-element></div>
          </div>
        </div>
      </div>
      <core-scaffold id="mainpage" hidden?="{{!userdetails}}">
        <core-header-panel navigation flex mode="seamed">
          <core-toolbar style="background-image: url({{user.backgroundurl}});">
            WebMan <small>[{{zone}}]</small>
            <div flex></div>
            <core-image width="40px" height="40px" sizing="contain" class="profile" src="{{ user.thumbnail }}"></core-image>
          </core-toolbar>
          <core-menu theme="core-light-theme" selected="{{appPage}}" >
            <!-- the next bind is only for a update-trigger if userdetails changes -->
            <template bind="{{userdetails as ud}}">
              <template repeat="{{menuItems | allowed}}"><commit_msg>change title of web ui<commit_after><link rel="import" href="../elements.html">
<link rel="import" href="../login-element/login-element.html">
<link rel="import" href="../settings-element/settings-element.html">
<link rel="import" href="../keys-element/keys-element.html">
<link rel="import" href="../users-element/users-element.html">
<link rel="import" href="../gateway-element/gateway-element.html">
<link rel="import" href="../webman-element/webman-element.html">
<link rel="import" href="../oauth-registration/oauth-registration.html">
<link rel="import" href="../clusterconfig-element/clusterconfig-element.html">

<polymer-element name="webman-app" flex layout vertical attributes="apiBase" >
  <template>
    <link rel="stylesheet" href="webman-app.css">
    <core-pages valueattr="id" selected="{{page}}" flex>
      <div horizontal layout flex id="loginpage">
        <div flex self-center>
          <div horizontal center-justified layout>
            <div><login-element apiBase="{{apiBase}}" id="login" on-login="{{handleLoggedIn}}" config="{{config}}"></login-element></div>
          </div>
        </div>
      </div>
      <core-scaffold id="mainpage" hidden?="{{!userdetails}}">
        <core-header-panel navigation flex mode="seamed">
          <core-toolbar style="background-image: url({{user.backgroundurl}});">
            Orca <small>[{{zone}}]</small>
            <div flex></div>
            <core-image width="40px" height="40px" sizing="contain" class="profile" src="{{ user.thumbnail }}"></core-image>
          </core-toolbar>
          <core-menu theme="core-light-theme" selected="{{appPage}}" >
            <!-- the next bind is only for a update-trigger if userdetails changes -->
            <template bind="{{userdetails as ud}}">
              <template repeat="{{menuItems | allowed}}">
{'fraction_non_alphanumeric': 0.194238683127572, 'fraction_numerical': 0.0021947873799725653, 'mean_word_length': 3.5861635220125785, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, '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': '6434003', 'n_tokens_mistral': 1048, 'n_tokens_neox': 1036, 'n_words': 213}