application.html.slim 872 Bytes
Newer Older
Kaspar Vollenweider's avatar
Kaspar Vollenweider committed
1
2
3
doctype html
html
  head
4
5
6
7
8
    meta charset='utf-8'
    meta http-equiv='X-UA-Compatible' content='IE=edge'
    meta name='viewport' content='width=device-width, initial-scale=1'
    = csrf_meta_tags

Chrysanthi Lagodimou's avatar
Chrysanthi Lagodimou committed
9
    title= t('voluntary_platform')
10

Markus Koller's avatar
Markus Koller committed
11
12
    = stylesheet_link_tag 'application', media: 'all'
    = javascript_include_tag 'application'
Tugce Nur Tas's avatar
Tugce Nur Tas committed
13
    = favicon_link_tag 'favicon.ico'
14
15
16
17
18
19
20

    - if params[:print] == 'true'
      javascript:
        $(function() {
          window.print();
          return false;
        });
21
22
        window.THROTTLE_TIMEOUT = #{Rails.env.test? ? 0 : 300};

23
  body class="#{controller_name.dasherize} #{action_name.dasherize}"
24
25
    .wrapper
      = render 'navigation'
26
      .container-fluid
27
        = render 'notification'
28
        = render 'unsubmitted_semester_feedback_notification'
Tugce Nur Tas's avatar
Tugce Nur Tas committed
29

30
        = yield
31
        = render 'modal_truncate'
32
    = render 'footer'