<commit_before><?php foreach($documents as $document): ?>
    <article>
        <h1><a href="/pages/read/<?=$document->url ?>"><?=$document->title ?></a></h1>
        <p><?=$document->body ?></p>
    </article>
<?php endforeach; ?>
<em>Template rendered from /views/pages/index.html.php (core Minerva pages index).</em><commit_msg>committing anything left over. moving computers.<commit_after><div class="grid_16">
    <h2 id="page-heading">Page Content</h2>
    <p>From here you should be able to manage all of the dynamic (served from the database) pages on your site.<br />
    <?=$this->html->link('Create New Page', '/pages/create'); ?></p>
    <!-- TODO: instead of linking to create a new basic page....have the link something you can hover and then popup a lightbox type thing that has all the page types listed. so when you hover you get a popup and then in that popup are these icons that when you click one of those....THEN it goes to make a page and it's making a page for the proper page type. Or maybe its not lightbox and just a little slide in under the "Create New Page" link. text, icons, both, whatever. -->
</div>

<div class="clear"></div>

<div class="grid_12">
    <table>
        <thead>
            <tr>
                <th>Page Title</th>
                <th>Page Type</th>
                <th>Owner</th>
                <th>Last Modified</th>
                <th>Created</th>
                <th>Actions</th>
            </tr>
        </thead>
        <?php foreach($documents as $page) { ?>
        <tr>
            <td>
                <a href="/page/read/<?=$page->url; ?>"><?=$page->title; ?></a>
            </td>
            <td>
                <?php if(!empty($page->page_type)) {
                    echo '<em>' . $page->page_type . '</em>';
                } else {
                    echo '<em>page</em>';
                } ?>
            </td>
            <td>
                <?=$page->ownder_id; ?>
            </td>
            <td>
                <?=$page->modified; ?>
            </td>
            <td>
                <?=$page->created; ?>
            </td>
            <td>
                <?=$this->html->link('Edit', array('controller' => 'pages', 'action' => 'update', 'page_type' => $page->page_type, 'url' => $page->url)); ?>
            </td>
        </tr>
        <?php } ?>
    </table>

<em>Template rendered from /views/pages/index.html.php (core Minerva pages index).</em>
</div>

<div class="grid_4">
    <div class="box">
        <h2>Filter &amp; Search</h2>
	    <div class="block">
            </div>
    </div>
</div>

<div class="clear"></div>
{'fraction_non_alphanumeric': 0.177462629359908, 'fraction_numerical': 0.004216174779609045, 'mean_word_length': 1.846237731733915, 'pattern_counts': {'":': 0, '<': 90, '<?xml version=': 0, '>': 110, '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': '3920567', 'n_tokens_mistral': 794, 'n_tokens_neox': 770, 'n_words': 233}