<commit_before>﻿@model LuckyMe.Core.ViewModels.DrawIndexQuery

@{
    ViewBag.Title = "Listagem";
}

<div class="box">
    <div class="box-header">
        <h3 class="box-title">Listagem</h3>
        <div class="box-tools pull-right">
            @Html.Partial("Pager", Model.Results)
        </div>
    </div>
    <div class="box-body">
        <table class="table">
            <tr>
                <th>
                    Nome
                </th>
                <th>
                    Data
                </th>
                <th>
                    Custo
                </th>
                <th>
                    Pr&#233;mio
                </th>
                <th></th>
            </tr>

            @foreach (var item in Model.Results.Items)
            {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.Game.Name)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Date)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Cost)
                    </td>
                    <td>
                        @Html.DisplayFor(modelItem => item.Award)
                    </td>
                    <td>
                        @Html.ActionLink("Editar", "Edit", new { id = item.Id }) |
                        @Html.ActionLink("Apagar", "Delete", new { id = item.Id })
                    </td>
                </tr>
            }

        </table>
    </div>
    <div class="box-footer">
        <div class="box-tools pull-right">
            @Html.Partial("Pager", Model.Results)
        </div>
    </div>
</div>


<commit_msg>Improved mobile view<commit_after>﻿@model LuckyMe.Core.ViewModels.DrawIndexQuery

@{
    ViewBag.Title = "Listagem";
}

<div class="box">
    <div class="box-header">
        <h3 class="box-title">Listagem</h3>
        <div class="box-tools pull-right">
            @Html.Partial("Pager", Model.Results)
        </div>
    </div>
    <div class="box-body">
        <table class="table">
            <tr>
                <th>
                    Nome
                </th>
                <th>
                    Data
                </th>
                <th class="hidden-xs">
                    Custo
                </th>
                <th class="hidden-xs">
                    Pr&#233;mio
                </th>
                <th></th>
            </tr>

            @foreach (var item in Model.Results.Items)
            {
                <tr>
                    <td>
                        @Html.DisplayFor(modelItem => item.Game.Name)
                    </td>
                    <td style="text-wrap: none">
                        @Html.DisplayFor(modelItem => item.Date)
                    </td>
                    <td class="hidden-xs">
                        @Html.DisplayFor(modelItem => item.Cost)
                    </td>
                    <td class="hidden-xs">
                        @Html.DisplayFor(modelItem => item.Award)
                    </td>
                    <td>
                        @Html.ActionLink("Editar", "Edit", new { id = item.Id }) |
                        @Html.ActionLink("Apagar", "Delete", new { id = item.Id })
                    </td>
                </tr>
            }

        </table>
    </div>
    <div class="box-footer">
        <div class="box-tools pull-right">
            @Html.Partial("Pager", Model.Results)
        </div>
    </div>
</div>



{'fraction_non_alphanumeric': 0.1368124118476728, 'fraction_numerical': 0.0028208744710860366, 'mean_word_length': 0.9044038668098818, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 91, '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': '5263878', 'n_tokens_mistral': 1020, 'n_tokens_neox': 941, 'n_words': 174}