<commit_before>﻿@*
This is a shape template. It looks just like an ordinary view template, but the Model object is the shape we've created with New.PersonListDashboard()
in ContentsAdminController. Therefore it also has the dynamic properties we filled up in the controller, so we'll also use them.

Be warned, this won't look too nice from the browser, but probably we can live with it for now :-).

To make itt a little nicer, you may want to apply additional stylesheets to your templates or to implement some client-side logic you'll need JS/jQuery.
Orchard gives you the ability to render (yes, render is the correct word) stylesheets and scripts in a given template. The are "rendered", because they
are shapes (it wasn't always like that) and thus it is possible to override them! Pretty thoughtful, right?
Now it turns out that we lied and we're going to have a call stack deeper than one sublevel. You'll do fine.

Please check out ResourceManifest.cs in the root to see how can you declare resources and come back here to see how to use them!
*@

@*
We'll "Require" (because that's what we do with local resources) the "Other" stylesheet and place it in the Head section. You can place resources to the
Footer using AtFoot(). The resource named "OrchardHUN.TrainingDemo.Dependecy" will also be embedded, since "Other" depends on it.
After that, we'll "Include" (because that's what we do with remote resources) the jQuery from it's official CDN and place it in the Footer.
Since Orchard is shipped with jQuery included (in the Orchard.jQuery module), the correct way to use jQuery would be: Script.Require("jQuery").AtHead();
*@
@{
    Style.Require("OrchardHUN.TrainingDemo.Other").AtHead();
    Script.Include("http://code.jquery.com/jquery-1.8.3.min.js").AtFoot();
}

@*TitleForPage also adds the title to the title tag*@
<h1>@Html.TitleForPage(T("Person List dashboard").ToString())</h1>


@* When the id is 0 we display the editor for a new item *@
@Html.Link(T("Create new Person List").Text, Url.Action("PersonListDashboard", new { Id = 0 }))

@*<commit_msg>Removing wrong AtHead() from css inclusion<commit_after>﻿@*
This is a shape template. It looks just like an ordinary view template, but the Model object is the shape we've created with New.PersonListDashboard()
in ContentsAdminController. Therefore it also has the dynamic properties we filled up in the controller, so we'll also use them.

Be warned, this won't look too nice from the browser, but probably we can live with it for now :-).

To make itt a little nicer, you may want to apply additional stylesheets to your templates or to implement some client-side logic you'll need JS/jQuery.
Orchard gives you the ability to render (yes, render is the correct word) stylesheets and scripts in a given template. The are "rendered", because they
are shapes (it wasn't always like that) and thus it is possible to override them! Pretty thoughtful, right?
Now it turns out that we lied and we're going to have a call stack deeper than one sublevel. You'll do fine.

Please check out ResourceManifest.cs in the root to see how can you declare resources and come back here to see how to use them!
*@

@*
We'll "Require" (because that's what we do with local resources) the "Other" stylesheet and place it in the Head section. You can place resources to the
Footer using AtFoot(). The resource named "OrchardHUN.TrainingDemo.Dependecy" will also be embedded, since "Other" depends on it.
After that, we'll "Include" (because that's what we do with remote resources) the jQuery from it's official CDN and place it in the Footer.
Since Orchard is shipped with jQuery included (in the Orchard.jQuery module), the correct way to use jQuery would be: Script.Require("jQuery").AtHead();
*@
@{
    Style.Require("OrchardHUN.TrainingDemo.Other");
    Script.Include("http://code.jquery.com/jquery-1.8.3.min.js").AtFoot();
}

@*TitleForPage also adds the title to the title tag*@
<h1>@Html.TitleForPage(T("Person List dashboard").ToString())</h1>


@* When the id is 0 we display the editor for a new item *@
@Html.Link(T("Create new Person List").Text, Url.Action("PersonListDashboard", new { Id = 0 }))

@*
{'fraction_non_alphanumeric': 0.08369304556354916, 'fraction_numerical': 0.003357314148681055, 'mean_word_length': 4.598657718120806, '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': '3199936', 'n_tokens_mistral': 1176, 'n_tokens_neox': 1119, 'n_words': 603}