<commit_before>@**
 * Copyright (C) 2014 <NAME> (born 1979)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *@

@(hostname: String, minMaxJs: String, minMaxCss: String)

@asset(file: String) = @{
  routes.Assets.at(path = "/public/res", file)
}

<!DOCTYPE html>
<html ng-app="DebikiAdminApp">
<head>
  <title>Debiki Dashboard</title>
  <meta name="viewport" content="initial-scale=1.0, minimum-scale=0.01">
  <meta charset="utf-8">

  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Bree+Serif">
  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
  <link rel="stylesheet" href="@asset(s"admin-app.$minMaxCss")">

  @* Needed by the page-app. *@
  <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>

  <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.@minMaxJs"></script>
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.@minMaxJs"></script>
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular-sanitize.@minMaxJs"></script>

  <script src="//cdnjs.cloudflare.com/ajax/libs/react/0.11.2/react-with-addons.@minMaxJs"></script>

  @* For now only, should probably install via e.g. Bower? and include in JS bundle? *@
  <script src="//angular-ui.github.io/ui-router/release/angular-ui-router.js"></script>

  @* Could perhaps provide a touch version too? Then could use yepnope, but would
  then have to start the app manually. See client/app/bootstrap-angularjs.ls.  *@<commit_msg>Fix admin page: use React 0.12.1.<commit_after>@**
 * Copyright (C) 2014 <NAME> (born 1979)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *@

@(hostname: String, minMaxJs: String, minMaxCss: String)

@asset(file: String) = @{
  routes.Assets.at(path = "/public/res", file)
}

<!DOCTYPE html>
<html ng-app="DebikiAdminApp">
<head>
  <title>Debiki Dashboard</title>
  <meta name="viewport" content="initial-scale=1.0, minimum-scale=0.01">
  <meta charset="utf-8">

  <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Bree+Serif">
  <link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
  <link rel="stylesheet" href="@asset(s"admin-app.$minMaxCss")">

  @* Needed by the page-app. *@
  <script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script>

  <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.@minMaxJs"></script>
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.@minMaxJs"></script>
  <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular-sanitize.@minMaxJs"></script>

  <script src="//cdnjs.cloudflare.com/ajax/libs/react/0.12.1/react-with-addons.@minMaxJs"></script>

  @* For now only, should probably install via e.g. Bower? and include in JS bundle? *@
  <script src="//angular-ui.github.io/ui-router/release/angular-ui-router.js"></script>

  @* Could perhaps provide a touch version too? Then could use yepnope, but would
  then have to start the app manually. See client/app/bootstrap-angularjs.ls.  *@
{'fraction_non_alphanumeric': 0.14903403863845446, 'fraction_numerical': 0.017479300827966882, 'mean_word_length': 4.208383233532934, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3719942', 'n_tokens_mistral': 1503, 'n_tokens_neox': 1420, 'n_words': 393}