Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
print: add current time on header too, hide in normal css
  • Loading branch information
tpruvot committed Jun 23, 2014
1 parent 58b8b6f commit ade9f69
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion css/blueskin.css
Expand Up @@ -121,7 +121,7 @@ td, th {
clear:both;
}

.page_footer .timestamp {
span.timestamp {
color: #fff;
}

Expand Down
8 changes: 3 additions & 5 deletions css/gitphp.css
Expand Up @@ -96,13 +96,11 @@ img.logo {
}

/*
* Footer local time for date ref
* Header or Footer local time for date ref
*/
div.page_footer .timestamp {
span.timestamp {
float: right;
margin-right: 20px;
display: inline-block;
line-height: 18px;
display: none; /* only visible on print */
}

/*
Expand Down
2 changes: 1 addition & 1 deletion css/gitphpskin.css
Expand Up @@ -119,7 +119,7 @@ div.page_footer_text {
font-style: italic;
}

div.page_footer .timestamp {
span.timestamp {
color: #555555;
font-style: italic;
}
Expand Down
6 changes: 6 additions & 0 deletions css/print.css
Expand Up @@ -59,3 +59,9 @@ div.log_body {
#blobData td.ln {
border-right-color: transparent;
}

span.timestamp {
display: inline-block;
line-height: 16px;
margin-right: 4px;
}
2 changes: 2 additions & 0 deletions templates/title.tpl
Expand Up @@ -25,6 +25,8 @@
{/if}
{include file='refbadges.tpl' commit=$titlecommit}

<span class="timestamp">{time()|date_format:"%a, %d %b %Y %H:%M"} {date('T')}</span>

{else}
{if $target == 'shortlog'}
{if $disablelink}
Expand Down

0 comments on commit ade9f69

Please sign in to comment.