cleanup WIP

This commit is contained in:
Synox 2018-06-22 23:10:19 +02:00
parent ac67bf1659
commit d1e5551cc2
2 changed files with 99 additions and 98 deletions

View File

@ -21,10 +21,11 @@ $mailIds = array_map(function ($mail) {
$mailIdsJoinedString = filter_var(join('|', $mailIds), FILTER_SANITIZE_SPECIAL_CHARS);
function niceDate($date) {
// TODO: make nicer
return $date;
}
?>
?>
<!doctype html>
@ -79,7 +80,8 @@ function niceDate($date){
<button type="button" class="btn btn-outline-secondary" onclick="location.reload()">
<i class="fas fa-sync"></i>
Reload!</button>
Reload!
</button>
</div>
<!-- move the rest of the page a bit down to show all content -->
@ -149,7 +151,6 @@ function niceDate($date){
</select>
</div>
</div>
<div class="col-auto my-1">
@ -184,7 +185,8 @@ function niceDate($date){
<div class="media-body">
<h6 class="list-group-item-heading"><?php echo filter_var($email->fromName, FILTER_SANITIZE_SPECIAL_CHARS)?><span class="text-muted"><?php echo filter_var($email->fromAddress, FILTER_SANITIZE_SPECIAL_CHARS)?></span>
<h6 class="list-group-item-heading"><?php echo filter_var($email->fromName, FILTER_SANITIZE_SPECIAL_CHARS) ?>
<span class="text-muted"><?php echo filter_var($email->fromAddress, FILTER_SANITIZE_SPECIAL_CHARS) ?></span>
<small class="float-right"><?php echo niceDate($email->date) ?></small>
</h6>
<p class="list-group-item-text text-truncate">
@ -340,7 +342,6 @@ function niceDate($date){
.attr('title', 'Copied!')
.tooltip('_fixTitle')
.tooltip('show')
.attr('title', 'Copy to clipboard')
.tooltip('_fixTitle');
e.clearSelection();
});

View File

@ -92,7 +92,7 @@ footer {
}
#new-content-avalable {
/*display: none;*/
display: none;
text-align: center;
}