<commit_before>{% extends "site_base.html" %}

{% load class_tags %}

{% block page_title %}
  Welcome to KukuiCup!
{% endblock %}

{% block extra_head %}
  {% import_page_css "landing" STATIC_URL CSS_THEME %}
{% endblock %}

{% block body %}

<div {% get_id_and_classes "landing-page" %}>
  <div {% get_id_and_classes "landing-logo" %}>
    <a href="{% url landing %}"><img src="{{STATIC_URL}}css/default/images/old-logo.png"/></a>
  </div>
  <div {% get_id_and_classes "landing-title" %}>
    <h2>The Kukui Cup: Lights out, game on!</h2>
  </div>
</div>

<div {% get_id_and_classes "landing-intro" %}>
 Aloha! The Kukui Cup is an energy challenge that can be played by all first year UH students living in the Hale Aloha residence halls.
<p> <p>

<button {% get_id_and_classes "landing-button-participant" %} onclick='javascript:location.href="{% url home_index %}"'>
  <h3>I live in Hale Aloha</h3>
	<h5>You will be prompted for your <br>
	UH username and password, it's safe</h5>
</button>

<p>

<button {% get_id_and_classes "landing-button-non-participant" %} onclick="javascript:location.href='{% url about %}'">
  <h3>I don't live in these residence halls</h3>
	<h5>but I'd like to know more about the Kukui Cup</h5>
</button>

</div>

<!--[if lt IE 9]>
<script type="text/javascript" 
 src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>


<script><commit_msg>Tweak to the browser check script to also see if the browser supports opacity.<commit_after>{% extends "site_base.html" %}

{% load class_tags %}

{% block page_title %}
  Welcome to KukuiCup!
{% endblock %}

{% block extra_head %}
  {% import_page_css "landing" STATIC_URL CSS_THEME %}
{% endblock %}

{% block body %}

<div {% get_id_and_classes "landing-page" %}>
  <div {% get_id_and_classes "landing-logo" %}>
    <a href="{% url landing %}"><img src="{{STATIC_URL}}css/default/images/old-logo.png"/></a>
  </div>
  <div {% get_id_and_classes "landing-title" %}>
    <h2>The Kukui Cup: Lights out, game on!</h2>
  </div>
</div>

<div {% get_id_and_classes "landing-intro" %}>
 Aloha! The Kukui Cup is an energy challenge that can be played by all first year UH students living in the Hale Aloha residence halls.
<p> <p>

<button {% get_id_and_classes "landing-button-participant" %} onclick='javascript:location.href="{% url home_index %}"'>
  <h3>I live in Hale Aloha</h3>
	<h5>You will be prompted for your <br>
	UH username and password, it's safe</h5>
</button>

<p>

<button {% get_id_and_classes "landing-button-non-participant" %} onclick="javascript:location.href='{% url about %}'">
  <h3>I don't live in these residence halls</h3>
	<h5>but I'd like to know more about the Kukui Cup</h5>
</button>

</div>

<script>
jQuery(document).ready(function($) {
  // Check if the browser supports opacity as another check for an up to date browser.
  if(!jQuery.support.opacity) {
    $('#landing-button-participant').unbind('click').click(function() {
      location.href='{% url browser_check %}';
    });
  }
});
</script>

<!--[if lt IE 9]>
<script type="text/javascript" 
 src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>


<script>
{'fraction_non_alphanumeric': 0.17075471698113207, 'fraction_numerical': 0.007547169811320755, 'mean_word_length': 4.456260720411664, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, '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': '4377248', 'n_tokens_mistral': 1233, 'n_tokens_neox': 1128, 'n_words': 303}