mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
js: Remove javascript license link from footer
The link is hidden but not removed. librejs will still parse it. Ideally we would want to do this from <link data-jslicense='1' href=''> but that seems to cause problems for librejs. Librejs users can still find out about the license of Javscript script file using Librejs menu. We already have a link to FreedomBox source code in the home page. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
parent
68777a5cfe
commit
72c1c7349f
@ -134,6 +134,12 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="hidden">
|
||||
<a href="{% static 'jslicense.html' %}" data-jslicense="1">
|
||||
{% trans "JavaScript license information" %}</a>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
@ -246,14 +246,13 @@
|
||||
<footer>
|
||||
<div class="container">
|
||||
{% block footer_block %}
|
||||
<div class="license-info">
|
||||
<p>
|
||||
<a href="{% static 'jslicense.html' %}" data-jslicense="1">
|
||||
{% trans "JavaScript license information" %}</a>
|
||||
</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
||||
<div class="hidden">
|
||||
<a href="{% static 'jslicense.html' %}" data-jslicense="1">
|
||||
{% trans "JavaScript license information" %}</a>
|
||||
</div>
|
||||
</footer><!--/.footer-->
|
||||
</div><!--/#container-->
|
||||
{% block app_js %}<!-- placeholder for app-specific js files -->{% endblock %}
|
||||
|
||||
@ -170,11 +170,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="license-info">
|
||||
<p>
|
||||
<a href="{% static 'jslicense.html' %}" data-jslicense="1">
|
||||
{% trans "JavaScript license information" %}</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -161,12 +161,6 @@ body {
|
||||
|
||||
/* Sticky footer styles
|
||||
-------------------------------------------------- */
|
||||
footer .license-info {
|
||||
opacity: 0.5;
|
||||
margin-right: 20px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.footer-logo {
|
||||
width: 140px;
|
||||
}
|
||||
@ -211,10 +205,6 @@ footer {
|
||||
padding-top: 150px;
|
||||
}
|
||||
|
||||
footer license-info p {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.shortcut-label {
|
||||
min-height: 50px;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user