1
0
www.mikescher.com/www/protected/views/msmain/admin.php

87 lines
1.8 KiB
PHP

<?php
/* @var $this MsMainController */
?>
<?php
$this->breadcrumbs =
[
'Admin',
];
?>
<div class="container">
<?php echo MsHtml::pageHeader("Adminstration", "mikescher.de"); ?>
<div class="row">
<div class="span3">
<?php
echo MsHtml::lead('Programs');
echo MsHtml::stackedTabs(
[
['label' => 'Show', 'url' => '/log'],
['label' => 'Manage', 'url' => '/log/admin'],
['label' => 'Create', 'url' => '/log/create'],
]
); ?>
</div>
<div class="span3">
<?php
echo MsHtml::lead('Logs');
echo MsHtml::stackedTabs(
[
['label' => 'Show', 'url' => '/programs'],
['label' => 'Manage', 'url' => '/programs/admin'],
['label' => 'Create', 'url' => '/programs/create'],
]
); ?>
</div>
<div class="span3" style="display: none">
<?php
echo MsHtml::lead('Programs');
echo MsHtml::stackedTabs(
[
['label' => 'Home', 'url' => '#'],
['label' => 'Profile', 'url' => '#'],
['label' => 'Messages', 'url' => '#'],
]
); ?>
</div>
<div class="span3" style="display: none">
<?php
echo MsHtml::lead('Programs');
echo MsHtml::stackedTabs(
[
['label' => 'Home', 'url' => '#'],
['label' => 'Profile', 'url' => '#'],
['label' => 'Messages', 'url' => '#'],
]
); ?>
</div>
</div>
<div class="well well-small">
<?php
$egh = new ExtendedGitGraph('Mikescher');
$egh->loadData();
?>
<h2>ExtendedGitGraph</h2>
<hr>
<strong>Last Update: </strong> <?php echo $egh->getFinishedDate()->format('d.m.Y H:i'); ?> <br>
<strong>Repositories: </strong> <?php echo count($egh->repositories); ?> <br>
<strong>Commits: </strong> <?php echo count($egh->commits); ?> <br>
<br><br>
<a class="btn btn-primary" href="?do_egh_update=1"> Update </a>
</div>
</div>