moved the position of the author id in the code history view

This commit is contained in:
hyung-hwan 2016-12-29 15:38:26 +00:00
parent daa23cbcab
commit 02c4674202
2 changed files with 23 additions and 20 deletions

View File

@ -139,12 +139,6 @@ $this->load->view (
print "<div class='commit-author-icon'>";
print "<a href='{$user_home_url}'><img src='{$user_icon_url}' class='commit-author-icon' /></a>";
print "</div>";
print '<div class="commit-author-id">';
print "<a href='{$user_home_url}'>";
print htmlspecialchars($h['author']);
print '</a>';
print '</div>';
}
print '</td>';
@ -184,8 +178,16 @@ $this->load->view (
print codepot_unixtimetodispdate(strtotime($h['date']));
print '</tt>';
print '</div>';
print '<div class="commit-author-id">';
print "<a href='{$user_home_url}'>";
print htmlspecialchars($h['author']);
print '</a>';
print '</div>';
print '</div>';
print '<div class="commit-actions">';
if ($file['type'] == 'file')
{

View File

@ -231,11 +231,6 @@
height: 3em;
}
#code_history_result_table .commit-author-id {
font-weight: bold;
font-size: 0.9em;
}
#code_history_result_table td.commit-message-td {
vertical-align: middle;
}
@ -278,14 +273,9 @@
vertical-align: middle;
}
#code_history_result_table .commit-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
vertical-align: middle;
}
#code_history_result_table .commit-revision {
#code_history_result_table .commit-revision,
#code_history_result_table .commit-author-id {
background-color: #008CBA;
border: 1px solid #008CBA;
color: white;
@ -299,13 +289,24 @@
transition-duration: 0.4s;
}
#code_history_result_table .commit-revision:hover {
#code_history_result_table .commit-revision:hover,
#code_history_result_table .commit-author-id:hover {
background-color: #00BCFA;
}
#code_history_result_table .commit-actions {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
vertical-align: middle;
}
#code_history_result_table .commit-revision a,
#code_history_result_table .commit-revision a:hover,
#code_history_result_table .commit-revision a:visited {
#code_history_result_table .commit-revision a:visited,
#code_history_result_table .commit-author-id a,
#code_history_result_table .commit-author-id a:hover,
#code_history_result_table .commit-author-id a:visited {
color: white
}