Commit f05ed7f5 authored by wolftune's avatar wolftune

added /trademarks page and connected

This still needs the database updated to have an actual page
comparable to the way /tou and /priv work. I'm not clear on
how those get updated.
parent 39ad1903
......@@ -61,6 +61,7 @@ import Handler.RepoFeed
import Handler.ResetPassword
import Handler.SnowdriftEvent
import Handler.ToU
import Handler.Trademarks
import Handler.User
import Handler.User.Comment
import Handler.Volunteer
......
module Handler.Trademarks where
import Import
import Widgets.Doc
getTrademarksR :: Handler Html
getTrademarksR = defaultLayout $ do
snowdriftTitle "Trademarks"
renderDoc "Trademarks"
......@@ -99,6 +99,7 @@ library
Handler.ResetPassword
Handler.SnowdriftEvent
Handler.ToU
Handler.Trademarks
Handler.User
Handler.User.Comment
Handler.Utils
......
......@@ -14,6 +14,7 @@
/priv PrivacyR GET
/reset-password ResetPasswordR GET POST
/tou ToUR GET
/trademarks TrademarksR GET
/tutorial/markdown MarkdownTutorialR GET
/donate DonateR GET
......
......@@ -6,12 +6,13 @@ $newline never
\<!--[if gt IE 8]><!-->
<html .no-js lang="en"> <!--<![endif]-->
<head>
<link rel="shortcut icon" href="@{FaviconR}">
<link rel="shortcut icon" href=@{FaviconR}>
<meta charset="UTF-8">
<script>
/*
@licstart The following is the entire license notice for the JavaScript code in this page.
@licstart The following is the entire license notice for the
JavaScript code in this page.
Copyrights on the code are held by the respective authors,
see git commit history where not otherwise specified.
......@@ -31,7 +32,8 @@ $newline never
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice for the JavaScript code in this page.
@licend The above is the entire license notice for the JavaScript
code in this page.
*/
<title>#{pageTitle pc}
......@@ -43,12 +45,14 @@ $newline never
^{pageHead pc}
\<!--[if lt IE 9]>
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
\</script>
\<![endif]-->
<script src=@{StaticR js_modernizr_js}>
<script>
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/,'js');
document.documentElement.className
= document.documentElement.className.replace(/\bno-js\b/,'js');
function fixup_logo() {
var head = document.getElementById("head");
......@@ -70,20 +74,24 @@ $newline never
<footer>
<div .row>
<div .col-md-4>
Writings and images here are free to use and share under #
Aside from
<a href=@{TrademarksR}> trademarks
, writings and images here #
are free to use and share under #
<a rel="license" title="Creative Commons Attribution Share-Alike 4.0 International" href="https://creativecommons.org/licenses/by-sa/4.0">
CC&nbsp;BY-SA
<div .col-md-4>
This website's #
<a href="#{extraSourceRepo $ appExtra $ settings master}">source code
This site's #
<a href=#{extraSourceRepo $ appExtra $ settings master}>
source code
\ is free under the terms of the #
<a rel="license" title="Affero GPL version 3.0 or later" href="https://www.gnu.org/licenses/agpl">
<a rel="license" title="Affero GPL v3 or later" href="https://www.gnu.org/licenses/agpl">
GNU&nbsp;AGPLv3+
<div .col-md-4>
The #
<a href="/license/javascript" rel="jslicense">licenses for any JavaScript
\ we use are all free/libre/open also
All JavaScript on this site is #
<a href=@{JsLicenseR} rel="jslicense">
freely-licensed
$maybe analytics <- extraAnalytics $ appExtra $ settings master
<script>
......
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