added some anchors in the code history view to use images
This commit is contained in:
parent
f8f55aa39b
commit
3528a4a684
@ -286,5 +286,6 @@ LICENSE
|
|||||||
Medium-editor https://github.com/yabwe/medium-editor/blob/master/LICENSE
|
Medium-editor https://github.com/yabwe/medium-editor/blob/master/LICENSE
|
||||||
PDFJS https://github.com/mozilla/pdf.js
|
PDFJS https://github.com/mozilla/pdf.js
|
||||||
WebODF http://webodf.org/
|
WebODF http://webodf.org/
|
||||||
|
ICONMONSTR Icons https://iconmonstr.com/
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -148,7 +148,9 @@ $this->load->view (
|
|||||||
print '</a>';
|
print '</a>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
|
print '<td rowspan="2" style="vertical-align:middle; width: 1%">';
|
||||||
print '<div class="commit-actions">';
|
print '<div class="commit-actions">';
|
||||||
if ($file['type'] == 'file')
|
if ($file['type'] == 'file')
|
||||||
{
|
{
|
||||||
@ -159,8 +161,13 @@ $this->load->view (
|
|||||||
'<div class="codepot-buttoned-anchor"><i class="fa fa-server"></i> ' . $this->lang->line('Difference') . '</div>');
|
'<div class="codepot-buttoned-anchor"><i class="fa fa-server"></i> ' . $this->lang->line('Difference') . '</div>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",
|
||||||
|
// '<div class="codepot-buttoned-anchor">' . $this->lang->line('Changes') . '</div>');
|
||||||
print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",
|
print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}",
|
||||||
'<div class="codepot-buttoned-anchor">' . $this->lang->line('Changes') . '</div>');
|
sprintf('<img src="%s" class="codepot-buttoned-img-30" alt="%s"/>', base_url_make('/css/images/iconmonstr-script-4-240.png'), $this->lang->line('Changes')));
|
||||||
|
print ' ';
|
||||||
|
print anchor ("code/file/{$project->id}/{$xfullpath}/{$h['rev']}",
|
||||||
|
sprintf('<img src="%s" class="codepot-buttoned-img-30" alt="%s"/>', base_url_make('/css/images/iconmonstr-sitemap-7-240.png'), $this->lang->line('Changes')));
|
||||||
print '</div>';
|
print '</div>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
@ -1098,6 +1098,18 @@ a.codepot-buttoned-anchor:visited {
|
|||||||
color: #E9E9E9 !important;
|
color: #E9E9E9 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.codepot-buttoned-img-30 {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
padding: 2px;
|
||||||
|
border: 1px solid #AAAAAA;
|
||||||
|
background-color: inherit;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
.codepot-buttoned-img-30:hover {
|
||||||
|
background-color: #AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
/* === list === */
|
/* === list === */
|
||||||
ul.codepot-horizontal-list {
|
ul.codepot-horizontal-list {
|
||||||
clear: both;
|
clear: both;
|
||||||
|
@ -25,6 +25,8 @@ www_DATA = \
|
|||||||
filexml.png \
|
filexml.png \
|
||||||
folder.png \
|
folder.png \
|
||||||
html.png \
|
html.png \
|
||||||
|
iconmonstr-script-4-240.png \
|
||||||
|
iconmonstr-sitemap-7-240.png \
|
||||||
i-node.png \
|
i-node.png \
|
||||||
l-node.png \
|
l-node.png \
|
||||||
log.png \
|
log.png \
|
||||||
|
@ -170,6 +170,8 @@ www_DATA = \
|
|||||||
filexml.png \
|
filexml.png \
|
||||||
folder.png \
|
folder.png \
|
||||||
html.png \
|
html.png \
|
||||||
|
iconmonstr-script-4-240.png \
|
||||||
|
iconmonstr-sitemap-7-240.png \
|
||||||
i-node.png \
|
i-node.png \
|
||||||
l-node.png \
|
l-node.png \
|
||||||
log.png \
|
log.png \
|
||||||
|
BIN
codepot/src/css/images/iconmonstr-script-4-240.png
Normal file
BIN
codepot/src/css/images/iconmonstr-script-4-240.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
codepot/src/css/images/iconmonstr-sitemap-7-240.png
Normal file
BIN
codepot/src/css/images/iconmonstr-sitemap-7-240.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Loading…
Reference in New Issue
Block a user