Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 44f32989

Von Hans Peter Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 44f3298936056cec9a0af3cf81f60ea430cd455e
  • Vorgänger 17cb823b
  • Nachfolger 40ed6242

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
422 422

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

  
433 437
  $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