<commit_before><table id='login_table' border='0'>
  <!--
  <tr>
    <td><img src="/images/login.jpg" width="50px"/></td>
    <td>
      <%= link_to_function 'Login with Campus for Christ intranet account', "Effect.SlideDown('login_form')" %>
    </td>
  </tr>
  -->
  <tr>
    <td></td>
    <td>
      <div id='login_form' style='display:none'><%= render :partial => 'cim_login_form' %></div>
    </td>
  </tr>
  <tr>
    <td><%= link_to image_tag('logo_thekey.png', :height => '50px', :width => '100px', 
                              :style => 'vertical-align: middle'),
                          CASClient::Frameworks::Rails::Filter.login_url(controller) %></td>
    <td><%= link_to 'Login with TheKey (formerly GCX)', CASClient::Frameworks::Rails::Filter.login_url(controller) %></td>
  </tr>
</table>

<%= render :partial => 'account_links' %><commit_msg>branded the login page<commit_after><%

def brand_link(link)
  if link.include? "?"
    link << "&"
  else
    link << "?"
  end
  link << "template=https://d15ip9v2bx8xzx.cloudfront.net/media/sso/c4ctemplate.css"
  link.gsub("login?", "login.htm?")
end

%>
<table id='login_table' border='0'>
  <!--
  <tr>
    <td><img src="/images/login.jpg" width="50px"/></td>
    <td>
      <%= link_to_function 'Login with Campus for Christ intranet account', "Effect.SlideDown('login_form')" %>
    </td>
  </tr>
  -->
  <tr>
    <td></td>
    <td>
      <div id='login_form' style='display:none'><%= render :partial => 'cim_login_form' %></div>
    </td>
  </tr>
  <tr>
    <td><%= link_to image_tag('logo_thekey.png', :height => '50px', :width => '100px', 
                              :style => 'vertical-align: middle'),
                          brand_link CASClient::Frameworks::Rails::Filter.login_url(controller) %></td>
    <td><%= link_to 'Login with TheKey (formerly GCX)', brand_link CASClient::Frameworks::Rails::Filter.login_url(controller) %></td>
  </tr>
</table>

<%= render :partial => 'account_links' %>
{'fraction_non_alphanumeric': 0.20962025316455696, 'fraction_numerical': 0.011139240506329114, 'mean_word_length': 3.1338912133891212, 'pattern_counts': {'":': 0, '<': 68, '<?xml version=': 0, '>': 72, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1988857', 'n_tokens_mistral': 745, 'n_tokens_neox': 709, 'n_words': 135}