Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 53cf9a15

Von Cem Aydin vor fast 4 Jahren hinzugefügt

  • ID 53cf9a1530e7303854ce2adbfdeb77134dfc234d
  • Vorgänger 20969f5d
  • Nachfolger 749423e3

Neues Design Bugfix: #391 CSV Import Tabelle korrekturen/verbesserungen

- Tabelle Unterhalb der Einstellungs-Blöcke über volle Breite anzeigen
- Generische Klasse zur Anzeige von horizontalem Scrollbalken verwendet,
Kommentare in Less-Datei eingefügt
- less/css neu kompiliert

Unterschiede anzeigen:

css/less/main.less
35 35
//   - Toggle buttons
36 36
//   - Columns
37 37
//   - Paragraph within Wrapper
38
//   - Horizontal Scroll
38 39
// - CATEGORIES
39 40
//   - Plus & Minus / Positive & Negative
40 41
//   - Styled Text
css/less/specials.less
16 16
// - ACCOUNT LIST
17 17
// - ROW POSITON DETAILS (E.G. SALES ORDER)
18 18
// - TABLE #DISPLAY ROW
19
// - DIV #CSV IMPORT REPORT TABLE WRAPPER
19
// - #RESULTS (CSV IMPORT RESULTS)
20 20
// ----------------------------------------------------------------------------
21 21

  
22 22

  
......
134 134

  
135 135

  
136 136
// --------------------------------------
137
// DIV #CSV IMPORT REPORT TABLE WRAPPER
137
// DIV #RESULTS (CSV IMPORT RESULTS)
138 138
// --------------------------------------
139 139

  
140
div#csv_import_report_table_wrapper{
141
  overflow-x: scroll;
140
#results {
141
  // show below others and limit width so that scrollbar is displayed
142
  clear: left;
143
  width: 95vw;
142 144
}
css/style.css
5072 5072
table#display_row tbody tr td input.row-position {
5073 5073
  float: left;
5074 5074
}
5075
div#csv_import_report_table_wrapper {
5076
  overflow-x: scroll;
5075
#results {
5076
  clear: left;
5077
  width: 95vw;
5077 5078
}
5078 5079
/* ------------------------------------------------------------- */
5079 5080
/* JQUERY UI (jquery-ui.less)                                    */
templates/webpages/csv_import/form.html
228 228

  
229 229
[% END # UNLESS SELF.worker.is_multiplexed %]
230 230

  
231
</div><!-- /.col -->
232

  
231 233
[% IF SELF.deferred %]
232
  <div id="results">
234
  <div id="results" class="horizontal-scroll-wrapper">
233 235
    [% PROCESS 'csv_import/_deferred_results.html' %]
234 236
  </div>
235 237
[% END %]
236 238

  
239
<div class="col wi-verywide">
237 240

  
238 241
<h3 class="caption">[% LxERP.t8('Help on column names') %]</h3>
239 242

  
templates/webpages/csv_import/report.html
20 20
[% END %]
21 21

  
22 22
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %]
23
 <div id="csv_import_report_table_wrapper">
24
 <table class="tbl-list">
23
<table class="tbl-list">
25 24

  
26 25
[% SET max_col = 0 %]
27 26
[% FOREACH rownum = SELF.display_rows %]
......
62 61
[% END %]
63 62
</tbody>
64 63

  
65
 </table>
66
 </div>
64
</table>
67 65

  
68 66
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url = SELF.base_url %]
69 67

  

Auch abrufbar als: Unified diff