<div class="row"> <?php foreach ($request_tokens as $row) { ?> <?php $token = $row['OAuthToken']; ?> <?php $app = $row['OAuthConsumer']; ?> <div class="span4" style="margin-top: 8px; margin-bottom: 8px;"> <?php echo $app->getLink(); ?> requested access on <?php echo Utility::formatDateTime($token->get('last_seen')); ?> <a href="/app/authorize?oauth_token=<?php echo $token->get('token'); ?> " class="btn btn-primary btn-mini">view</a> <a href="<?php echo $token->getUrl(); ?> /revoke" class="btn btn-danger btn-mini">deny</a> </div> <?php } ?> </div> </div>
?> </td> <?php } ?> <?php if ($hide != 'queue') { ?> <td><?php echo $log->getQueue()->getLink(); ?> </td> <?php } ?> <?php /*if ($hide != 'user'): ?> <td><?=$log->getUser()->getLink()?></td> <? endif*/ ?> <td><?php echo Utility::formatDateTime($log->get('error_date')); ?> </td> </tr> <?php } ?> </table> <?php }
<td><?php echo Utility::filesizeFormat($file->get('size')); ?> </td> </tr> <tr> <th>MD5 Hash:</th> <td><?php echo $file->get('hash'); ?> </td> </tr> <tr> <th>Add Date:</th> <td><?php echo Utility::formatDateTime($file->get('add_date')); ?> `</td> </tr> <tr> <th>Manage:</th> <td><a href="/job/create/file:<?php echo $file->id; ?> ">re-run</a></td> </tr> </tbody> </table> </div> <div class="span6"> TODO: add file jobs here.
</td> </tr> <?php } ?> <tr> <th>Add Date:</th> <td><?php echo Utility::formatDateTime($config->get('add_date')); ?> </td> </tr> <tr> <th>Edit Date:</th> <td><?php echo Utility::formatDateTime($config->get('edit_date')); ?> </td> </tr> <tr> <th>Config Data:</th> <td> <button class="btn" onclick="$(this).hide(); $('#config_data').show()">Click to show config data</button> <span id="config_data" style="display: none"><?php echo nl2br(Utility::sanitize($config->get('config_data'))); ?> </span> </td> </tr> </tbody> </table>
<th>Taken Date:</th> <td><?php echo Utility::formatDateTime($job->get('taken_date')); ?> </td> </tr> <?php } ?> <?php if (strtotime($job->get('finish_date')) > 0) { ?> <tr> <th>Finished Date:</th> <td><?php echo Utility::formatDateTime($job->get('finish_date')); ?> </td> </tr> <?php } ?> <?php if ($job->get('output_log')) { ?> <tr> <th>Output Log:</th> <td><?php echo nl2br(Utility::sanitize($job->get('output_log'))); ?> </td>
$c = $row['Comment']; ?> <?php $u = $row['User']; ?> <div id="comment_<?php echo $c->id; ?> " class="comment_data"> <div class="comment_meta"> <h4><?php echo $u->getLink(); ?> </h4> <h4 class="muted"><?php echo Utility::formatDateTime($c->get('comment_date')); ?> </h4> </div> <div class="comment_body"><?php echo Utility::cleanAndPretty($c->get('comment')); ?> </div> </div> <?php } } else { ?> <div class="alert alert-info"> No comments found. </div>
)</span></td> <?php } else { ?> <td><span class="muted">n/a</span></td> <?php } ?> </tr> <tr> <th>Finished:</th> <?php if (strtotime($job->get('verified_time')) > 0) { ?> <td><?php echo Utility::formatDateTime($job->get('verified_time')); ?> <span class="muted">(<?php echo Utility::relativeTime($job->get('verified_time')); ?> )</span></td> <?php } else { ?> <td><span class="muted">n/a</span></td> <?php } ?> </tr> <tr>