Skip to content

Commit

Permalink
Small bugs and tweaks
Browse files Browse the repository at this point in the history
* Makefile: fix target name typo
* about.html: needs its own customized welcome
* main.html, welcome.html: move "do not show" into the correct "div"
  • Loading branch information
rocky committed May 2, 2021
1 parent 180cee2 commit 650995e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ runserver:

#: Run Django-based server in testserver mode. Use environment variable "o" for manage options
testserver:
$(PYTHON) mathics_django/manage.py tesetserver $o
$(PYTHON) mathics_django/manage.py testserver $o

check: djangotest doctest

Expand Down
1 change: 1 addition & 0 deletions mathics_django/web/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ <h1> Version information </h1>
See the <a href="/doc">documentation</a> for a full list of supported functions.

<!-- {% include 'welcome.html' %} -->
</div>

{% endblock main %}
{% endblock html_body %}
2 changes: 0 additions & 2 deletions mathics_django/web/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
<div id="queriesContainer"></div>

{% include 'welcome.html' %}
<div style="position:absolute;right:0;bottom:-2.8em;">
<p style="text-align:right;color:#3f3f3f;"><label><input type="checkbox" id="hideStartupMsg" />Do not show on startup.</label></p>
</div>


Expand Down
6 changes: 5 additions & 1 deletion mathics_django/web/templates/welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
<!--<p><small>This box will disappear as soon as you submit your first query.</small></p>-->
</p>
<p>Mathics uses <a href="http://www.mathjax.org/" target="_blank">MathJax</a> to display beautiful math.
For further information about the project visit <a href="https://mathics.org" target="_blank">the home page</a>.</p>
For further information about the project visit <a href="https://mathics.org" target="_blank">the home page</a>.</p>

<div style="position:absolute;right:0;bottom:-2.8em;">
<p style="text-align:right;color:#3f3f3f;"><label><input type="checkbox" id="hideStartupMsg" />Do not show on startup.</label></p>

</div>

0 comments on commit 650995e

Please sign in to comment.