diff --git a/app/views/dmsf/_multi_upload.html.erb b/app/views/dmsf/_multi_upload.html.erb index 9200e89f..aea3a75d 100644 --- a/app/views/dmsf/_multi_upload.html.erb +++ b/app/views/dmsf/_multi_upload.html.erb @@ -65,7 +65,6 @@ <% content_for :header_tags do %> - <%= javascript_include_tag "jquery-ui-1.8.13.min.js", :plugin => "redmine_dmsf" %> <%= javascript_include_tag "plupload/plupload.js", :plugin => "redmine_dmsf" %> <%= javascript_include_tag "plupload/plupload.flash.js", :plugin => "redmine_dmsf" %> <%= javascript_include_tag "plupload/plupload.gears.js", :plugin => "redmine_dmsf" %> diff --git a/app/views/dmsf/show.html.erb b/app/views/dmsf/show.html.erb index 8b813079..7407f3ba 100644 --- a/app/views/dmsf/show.html.erb +++ b/app/views/dmsf/show.html.erb @@ -28,18 +28,20 @@ form_tag({:action => "entries_operation", :id => @project, :folder_id => @folder :class => "dmfs_entries", :id => "entries_form") do %> <%= hidden_field_tag("action") %> -
| - <%= sort_header_tag("title", :caption => l(:link_title)) %> - <%= sort_header_tag("size", :caption => l(:link_size)) %> - <%= sort_header_tag("modified", :caption => l(:link_modified)) %> - <%= sort_header_tag("version", :caption => l(:link_ver)) %> - <%= sort_header_tag("author", :caption => l(:link_author)) %> + | <%= l(:link_title) %> | +<%= l(:link_size) %> | +<%= l(:link_modified) %> | +<%= l(:link_ver) %> | +<%= l(:link_author) %> | + | + | 0 | +<%= subfolder.deep_file_count %> | <% end %> <% @files.each do |file| %> @@ -164,19 +168,18 @@ form_tag({:action => "entries_operation", :id => @project, :folder_id => @folder1 | +<%=file.last_revision.size%> | <% end %>
|---|
-
| <%=l(:field_user)%> | diff --git a/app/views/dmsf_files/show.html.erb b/app/views/dmsf_files/show.html.erb index 5cf96c52..d2454158 100644 --- a/app/views/dmsf_files/show.html.erb +++ b/app/views/dmsf_files/show.html.erb @@ -151,7 +151,6 @@ sUrl = "jquery.dataTables/#{I18n.locale.to_s.downcase}.json" if I18n.locale && ! jQuery(".access-table").dataTable({ "bJQueryUI": true, - "sPaginationType": "full_numbers", "oLanguage": { 'sUrl': '<%= Engines::RailsExtensions::AssetHelpers.plugin_asset_path("redmine_dmsf", "javascripts", sUrl) %>' } diff --git a/assets/stylesheets/dmsf.css b/assets/stylesheets/dmsf.css index 97f49bb5..6964a6c4 100644 --- a/assets/stylesheets/dmsf.css +++ b/assets/stylesheets/dmsf.css @@ -10,7 +10,6 @@ table.entries tbody td, table.entries tbody tr:hover td { } table.entries { - margin-bottom: 10px; } table.entries td.modified { @@ -25,12 +24,16 @@ table.entries td.title { width: 50%; } -table.entries th.check { +table.entries th.check, table.entries td.check { width: 17px; padding: 2px; text-align: left; } +table.entries th.check div.DataTables_sort_wrapper { + padding: 0; +} + .icon-file.filetype-doc, .icon-file.filetype-docx { background-image: url(../images/filetypes/doc.png); } @@ -192,3 +195,7 @@ p.no-ident { margin-bottom: 0; margin-top: 0; } + +table.access-table tbody td, table.access-table tbody tr:hover td { + border: solid 1px #D7D7D7; +} diff --git a/assets/stylesheets/jquery.dataTables/images/highlight.png b/assets/stylesheets/jquery.dataTables/images/highlight.png new file mode 100644 index 00000000..87eb83dc Binary files /dev/null and b/assets/stylesheets/jquery.dataTables/images/highlight.png differ diff --git a/assets/stylesheets/jquery.dataTables/jquery-ui.dataTables.css b/assets/stylesheets/jquery.dataTables/jquery-ui.dataTables.css index 1c104139..36c8eba1 100644 --- a/assets/stylesheets/jquery.dataTables/jquery-ui.dataTables.css +++ b/assets/stylesheets/jquery.dataTables/jquery-ui.dataTables.css @@ -1,32 +1,3 @@ -/* - * File: demo_table_jui.css - * CVS: $Id$ - * Description: CSS descriptions for DataTables demo pages - * Author: Allan Jardine - * Created: Tue May 12 06:47:22 BST 2009 - * Modified: $Date$ by $Author$ - * Language: CSS - * Project: DataTables - * - * Copyright 2009 Allan Jardine. All Rights Reserved. - * - * *************************************************************************** - * DESCRIPTION - * - * The styles given here are suitable for the demos that are used with the standard DataTables - * distribution (see www.datatables.net). You will most likely wish to modify these styles to - * meet the layout requirements of your site. - * - * Common issues: - * 'full_numbers' pagination - I use an extra selector on the body tag to ensure that there is - * no conflict between the two pagination types. If you want to use full_numbers pagination - * ensure that you either have "example_alt_pagination" as a body class name, or better yet, - * modify that selector. - * Note that the path used for Images is relative. All images are by default located in - * ../images/ - relative to this CSS file. - */ - - /* * jQuery UI specific styling */ @@ -276,17 +247,6 @@ table.display tr.even.gradeU { } -tr.odd { - background-color: #E2E4FF; -} - -tr.even { - background-color: white; -} - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Misc @@ -372,144 +332,25 @@ table.display tr.odd.row_selected td { */ /* For the standard odd/even */ tr.odd td.sorting_1 { - background-color: #D3D6FF; + background: url('images/highlight.png?2') repeat; } tr.odd td.sorting_2 { - background-color: #DADCFF; + background: url('images/highlight.png?5') repeat; } tr.odd td.sorting_3 { - background-color: #E0E2FF; + background: url('images/highlight.png?5') repeat; } tr.even td.sorting_1 { - background-color: #EAEBFF; + background: url('images/highlight.png?5') repeat; } tr.even td.sorting_2 { - background-color: #F2F3FF; + background: url('images/highlight.png?5') repeat; } tr.even td.sorting_3 { - background-color: #F9F9FF; + background: url('images/highlight.png?5') repeat; } - - -/* For the Conditional-CSS grading rows */ -/* - Colour calculations (based off the main row colours) - Level 1: - dd > c4 - ee > d5 - Level 2: - dd > d1 - ee > e2 - */ -tr.odd.gradeA td.sorting_1 { - background-color: #c4ffc4; -} - -tr.odd.gradeA td.sorting_2 { - background-color: #d1ffd1; -} - -tr.odd.gradeA td.sorting_3 { - background-color: #d1ffd1; -} - -tr.even.gradeA td.sorting_1 { - background-color: #d5ffd5; -} - -tr.even.gradeA td.sorting_2 { - background-color: #e2ffe2; -} - -tr.even.gradeA td.sorting_3 { - background-color: #e2ffe2; -} - -tr.odd.gradeC td.sorting_1 { - background-color: #c4c4ff; -} - -tr.odd.gradeC td.sorting_2 { - background-color: #d1d1ff; -} - -tr.odd.gradeC td.sorting_3 { - background-color: #d1d1ff; -} - -tr.even.gradeC td.sorting_1 { - background-color: #d5d5ff; -} - -tr.even.gradeC td.sorting_2 { - background-color: #e2e2ff; -} - -tr.even.gradeC td.sorting_3 { - background-color: #e2e2ff; -} - -tr.odd.gradeX td.sorting_1 { - background-color: #ffc4c4; -} - -tr.odd.gradeX td.sorting_2 { - background-color: #ffd1d1; -} - -tr.odd.gradeX td.sorting_3 { - background-color: #ffd1d1; -} - -tr.even.gradeX td.sorting_1 { - background-color: #ffd5d5; -} - -tr.even.gradeX td.sorting_2 { - background-color: #ffe2e2; -} - -tr.even.gradeX td.sorting_3 { - background-color: #ffe2e2; -} - -tr.odd.gradeU td.sorting_1 { - background-color: #c4c4c4; -} - -tr.odd.gradeU td.sorting_2 { - background-color: #d1d1d1; -} - -tr.odd.gradeU td.sorting_3 { - background-color: #d1d1d1; -} - -tr.even.gradeU td.sorting_1 { - background-color: #d5d5d5; -} - -tr.even.gradeU td.sorting_2 { - background-color: #e2e2e2; -} - -tr.even.gradeU td.sorting_3 { - background-color: #e2e2e2; -} - - -/* - * Row highlighting example - */ -.ex_highlight #example tbody tr.even:hover, #example tbody tr.even td.highlighted { - background-color: #ECFFB3; -} - -.ex_highlight #example tbody tr.odd:hover, #example tbody tr.odd td.highlighted { - background-color: #E6FF99; -} \ No newline at end of file
|---|