<commit_before>.container

  -if @courselist
    h2 
      | Course List 
      i.fa.fa-th-list
    table.table.table-striped.table-hover
      tbody
        tr
          th Course ID
          th Course Name
          th Date
          th Course Institution
          th Course Fees
          th Course Page
        -@courselist.each do |course|
          tr
            td
              a href="/courses/#{course['id']}" #{course['id'] }
            td width='400'
              = course['name']
            td width='200'
              = course['date']
            td 
              = course['institution']
            td
              = course['fees']
            td
              a href="#{course['url']}"
                i.fa.fa-external-link

- if @courselist.size >= 25
  p.text-right
    i.fa.fa-music
    i.fa.fa-arrow-up.elevator-button.fa-4x

javascript:
  window.onload = function() {
    var elevator = new Elevator({
      element: document.querySelector('.elevator-button'),
      targetElement: document.querySelector('#elevator-target'),
      mainAudio: '/music/elevator.mp3',
      endAudio: '/music/ding.mp3',
      duration: 15000
    });
  }<commit_msg>when table too long 100 items show top button<commit_after>.container

  -if @courselist
    h2 
      | Course List 
      i.fa.fa-th-list
    table.table.table-striped.table-hover
      tbody
        tr
          th Course ID
          th Course Name
          th Date
          th Course Institution
          th Course Fees
          th Course Page
        -@courselist.each do |course|
          tr
            td
              a href="/courses/#{course['id']}" #{course['id'] }
            td width='400'
              = course['name']
            td width='200'
              = course['date']
            td 
              = course['institution']
            td
              = course['fees']
            td
              a href="#{course['url']}"
                i.fa.fa-external-link

- if @courselist.size >= 100
  p.text-right
    i.fa.fa-music
    i.fa.fa-arrow-up.elevator-button.fa-4x

javascript:
  window.onload = function() {
    var elevator = new Elevator({
      element: document.querySelector('.elevator-button'),
      targetElement: document.querySelector('#elevator-target'),
      mainAudio: '/music/elevator.mp3',
      endAudio: '/music/ding.mp3',
      duration: 15000
    });
  }
{'fraction_non_alphanumeric': 0.12075471698113208, 'fraction_numerical': 0.015932914046121592, 'mean_word_length': 1.4932079414838035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2085724', 'n_tokens_mistral': 747, 'n_tokens_neox': 705, 'n_words': 152}