Unverified Commit fe35b467 authored by Mark Stenglein's avatar Mark Stenglein
Browse files

LICENSE: Make things LibreJS friendly

This commit does a few things in order to make #srctweb work correctly
with LibreJS users.

- Adds a librejs page which includes a table of the external sources we
  used, their licenses, as well as a link to the uncompressed source

- Adds the uncompressed source of Bootstrap.js v3.0.3

- Adds a link in the footer to the LibreJS page so that the addon can
  find the license table from any page.
Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
parent f94fffd1
This diff is collapsed.
......@@ -30,7 +30,8 @@
<a href="https://wiki.srct.gmu.edu/">Wiki</a> &middot;
<a href="{{ url_for('termsOfService') }}">Terms</a> &middot;
<a href="{{ url_for('privacyPolicy') }}">Privacy</a> &middot;
<a href="{{ url_for('contact') }}">Contact</a>
<a href="{{ url_for('contact') }}">Contact</a> &middot;
<a href="{{ url_for('librejs') }}" data-jslicense="1">JavaScript License Info</a>
{% extends "layouts/base.html" %}
{% block title %}
SRCT | JavaScript License Information
{% endblock %}
{% block pagetitle %}
JavaScript License Information
{% endblock %}
{% block description %}
Meta Information for GNU LibreJS Users
{% endblock %}
{% block content %}
<table id="jslicense-labels1">
<td><a href="/static/js/bootstrap.min.js">bootstrap.min.js</a></td>
<td><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache-2.0</a></td>
<td><a href="/static/js/bootstrap.js">bootstrap.js</a></td>
{% endblock %}
......@@ -13,6 +13,11 @@ def calendar():
renderHead = True,
def librejs():
return render_template("librejs.html",
renderHead = True,
def contact():
return render_template("contact.html",
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment