moved the position of the author id in the code history view
This commit is contained in:
parent
daa23cbcab
commit
02c4674202
@ -139,12 +139,6 @@ $this->load->view (
|
|||||||
print "<div class='commit-author-icon'>";
|
print "<div class='commit-author-icon'>";
|
||||||
print "<a href='{$user_home_url}'><img src='{$user_icon_url}' class='commit-author-icon' /></a>";
|
print "<a href='{$user_home_url}'><img src='{$user_icon_url}' class='commit-author-icon' /></a>";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
print '<div class="commit-author-id">';
|
|
||||||
print "<a href='{$user_home_url}'>";
|
|
||||||
print htmlspecialchars($h['author']);
|
|
||||||
print '</a>';
|
|
||||||
print '</div>';
|
|
||||||
}
|
}
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
@ -184,8 +178,16 @@ $this->load->view (
|
|||||||
print codepot_unixtimetodispdate(strtotime($h['date']));
|
print codepot_unixtimetodispdate(strtotime($h['date']));
|
||||||
print '</tt>';
|
print '</tt>';
|
||||||
print '</div>';
|
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>';
|
||||||
|
|
||||||
|
|
||||||
print '<div class="commit-actions">';
|
print '<div class="commit-actions">';
|
||||||
if ($file['type'] == 'file')
|
if ($file['type'] == 'file')
|
||||||
{
|
{
|
||||||
|
@ -231,11 +231,6 @@
|
|||||||
height: 3em;
|
height: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
#code_history_result_table .commit-author-id {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
|
|
||||||
#code_history_result_table td.commit-message-td {
|
#code_history_result_table td.commit-message-td {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
@ -278,14 +273,9 @@
|
|||||||
vertical-align: middle;
|
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;
|
background-color: #008CBA;
|
||||||
border: 1px solid #008CBA;
|
border: 1px solid #008CBA;
|
||||||
color: white;
|
color: white;
|
||||||
@ -299,13 +289,24 @@
|
|||||||
transition-duration: 0.4s;
|
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;
|
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,
|
||||||
#code_history_result_table .commit-revision a:hover,
|
#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
|
color: white
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user