diff --git a/codepot/README b/codepot/README index bdfa74ac..268caec9 100644 --- a/codepot/README +++ b/codepot/README @@ -286,5 +286,6 @@ LICENSE Medium-editor https://github.com/yabwe/medium-editor/blob/master/LICENSE PDFJS https://github.com/mozilla/pdf.js WebODF http://webodf.org/ + ICONMONSTR Icons https://iconmonstr.com/ ------------------------------------------------------------------------ diff --git a/codepot/src/codepot/views/code_history.php b/codepot/src/codepot/views/code_history.php index cbbb677e..21351465 100644 --- a/codepot/src/codepot/views/code_history.php +++ b/codepot/src/codepot/views/code_history.php @@ -148,7 +148,9 @@ $this->load->view ( print ''; print ''; print ''; + print ''; + print ''; print '
'; if ($file['type'] == 'file') { @@ -159,8 +161,13 @@ $this->load->view ( '
' . $this->lang->line('Difference') . '
'); } + //print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", + // '
' . $this->lang->line('Changes') . '
'); print anchor ("code/revision/{$project->id}/{$xfullpath}/{$h['rev']}", - '
' . $this->lang->line('Changes') . '
'); + sprintf('%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('%s', base_url_make('/css/images/iconmonstr-sitemap-7-240.png'), $this->lang->line('Changes'))); print '
'; print ''; print ''; diff --git a/codepot/src/css/common.css b/codepot/src/css/common.css index aa33dcbc..b26c2700 100644 --- a/codepot/src/css/common.css +++ b/codepot/src/css/common.css @@ -1098,6 +1098,18 @@ a.codepot-buttoned-anchor:visited { 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 === */ ul.codepot-horizontal-list { clear: both; diff --git a/codepot/src/css/images/Makefile.am b/codepot/src/css/images/Makefile.am index cc29d987..ca30cb22 100644 --- a/codepot/src/css/images/Makefile.am +++ b/codepot/src/css/images/Makefile.am @@ -25,6 +25,8 @@ www_DATA = \ filexml.png \ folder.png \ html.png \ + iconmonstr-script-4-240.png \ + iconmonstr-sitemap-7-240.png \ i-node.png \ l-node.png \ log.png \ diff --git a/codepot/src/css/images/Makefile.in b/codepot/src/css/images/Makefile.in index c3ec14b5..a7ad35bf 100644 --- a/codepot/src/css/images/Makefile.in +++ b/codepot/src/css/images/Makefile.in @@ -170,6 +170,8 @@ www_DATA = \ filexml.png \ folder.png \ html.png \ + iconmonstr-script-4-240.png \ + iconmonstr-sitemap-7-240.png \ i-node.png \ l-node.png \ log.png \ diff --git a/codepot/src/css/images/iconmonstr-script-4-240.png b/codepot/src/css/images/iconmonstr-script-4-240.png new file mode 100644 index 00000000..4f7d379d Binary files /dev/null and b/codepot/src/css/images/iconmonstr-script-4-240.png differ diff --git a/codepot/src/css/images/iconmonstr-sitemap-7-240.png b/codepot/src/css/images/iconmonstr-sitemap-7-240.png new file mode 100644 index 00000000..34a5b3f9 Binary files /dev/null and b/codepot/src/css/images/iconmonstr-sitemap-7-240.png differ