Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 43ad0ced

Von Hans Peter Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 43ad0ced7a03f32031169679b63da9767a18fb02
  • Vorgänger 75c6df82
  • Nachfolger 1e6c34b8

Design 4.0: nur noch eine Stil-Datei

Unterschiede anzeigen:

SL/Controller/RequirementSpecOrder.pm
192 192
  my ($self) = @_;
193 193

  
194 194
  $::auth->assert('requirement_spec_edit');
195
  $::request->{layout}->use_stylesheet("${_}.css") for qw(jquery.contextMenu requirement_spec);
195
  $::request->{layout}->use_stylesheet("${_}.css") for qw(jquery.contextMenu);
196 196
  $::request->{layout}->use_javascript("${_}.js")  for qw(jquery.jstree jquery/jquery.contextMenu client_js requirement_spec);
197 197

  
198 198
  return 1;
SL/Form.pm
419 419

  
420 420
  # standard css for all
421 421
  # this should gradually move to the layouts that need it
422
#  $layout->use_stylesheet("$_.css") for qw(
423
#    common main menu list_accounts jquery.autocomplete
424
#    jquery.multiselect2side
425
#    ui-lightness/jquery-ui
426
#    jquery-ui.custom
427
#    tooltipster themes/tooltipster-light
428
#  );
429
  # Use only style.css which is compiled from the less-files in /css/less/
422 430
  $layout->use_stylesheet("$_.css") for qw(
423
    common main menu list_accounts jquery.autocomplete
424
    jquery.multiselect2side
425
    ui-lightness/jquery-ui
426
    jquery-ui.custom
427
    tooltipster themes/tooltipster-light
431
    style
428 432
  );
429 433

  
430 434
  $layout->use_javascript("$_.js") for (qw(
SL/Layout/CssMenu.pm
4 4
use parent qw(SL::Layout::Base);
5 5

  
6 6
sub use_stylesheet {
7
  qw(icons16.css),
7
  qw(style.css),
8 8
}
9 9

  
10 10
sub pre_content {
SL/Layout/Javascript.pm
69 69
    qw(
70 70
      dhtmlsuite/menu-item.css
71 71
      dhtmlsuite/menu-bar.css
72
      icons16.css
73
      menu.css
74 72
    ),
75 73
    ( map { $_->stylesheets } $_[0]->sub_layouts ),
76 74
    $_[0]->sub_layouts_by_name->{actionbar}->stylesheets,
SL/Layout/MenuLeft.pm
8 8
use URI;
9 9

  
10 10
sub stylesheets {
11
  qw(icons16.css icons24.css menu.css)
11
  #qw(icons16.css icons24.css menu.css) # no need for that with new design
12 12
}
13 13

  
14 14
sub javascripts_inline {
SL/Layout/None.pm
38 38
sub use_stylesheet {
39 39
  my $self = shift;
40 40
  qw(
41
    main.css
42
    menu.css
41
    style.css
43 42
  ),
44 43
  $self->SUPER::use_stylesheet(@_);
45 44
}
SL/Layout/Top.pm
22 22
  );
23 23
}
24 24

  
25
sub stylesheets {
26
 'frame_header/header.css';
27
}
25
# Only one CSS-File is used for standard design which are compiled from the LESS-Files in /css/less
26
#sub stylesheets {
27
# 'frame_header/header.css';
28
#}
28 29

  
29 30
sub javascripts {
30 31
  'jquery-ui.js',

Auch abrufbar als: Unified diff