diff --git a/htdocs/themes/bootstrap/css/style.css b/htdocs/themes/bootstrap/css/style.css index db66ffa..85a007f 100644 --- a/htdocs/themes/bootstrap/css/style.css +++ b/htdocs/themes/bootstrap/css/style.css @@ -66,3 +66,17 @@ table.table thead .sorting_desc { background: url('../images/sort_desc.png') no- table.table thead .sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; } table.table thead .sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; } + +/* Diff style +-------------------------------------------------- */ +.text ins { + color: green; + background: #dfd; + text-decoration: none; +} + +.text del { + color: red; + background: #fdd; +} + diff --git a/htdocs/themes/bootstrap/views/view/view.php b/htdocs/themes/bootstrap/views/view/view.php index 2f534f8..115b662 100644 --- a/htdocs/themes/bootstrap/views/view/view.php +++ b/htdocs/themes/bootstrap/views/view/view.php @@ -1,6 +1,14 @@ -load->view('defaults/header'); ?> +load->view('defaults/header'); -uri->segment(3); + +if($seg3 != 'diff'){ + $page_url = $url; +}else{ + $page_url = $url . '/diff'; +} + +if(isset($insert)){ echo $insert; }?> @@ -13,13 +21,27 @@