diff --git a/static/css/style.css b/static/css/style.css index 0d82bfe5f8a5338609dc99791ab6b22c936ed9be..e263b2ff7d193461f3464fd919d55bde3c1f039b 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -120,6 +120,7 @@ a.link, a, a.active { #home #nav-home a, #create #nav-create a, #search #nav-search a, +#doc #nav-doc a, #feeds #nav-feeds a, #about #nav-about a, #archive #nav-archive a, @@ -134,6 +135,7 @@ a.link, a, a.active { #home #nav-home a:hover, #create #nav-create a, #search #nav-search a, +#doc #nav-doc a, #feeds #nav-feeds a, #about #nav-about a:hover, #archive #nav-archive a:hover, diff --git a/templates/base.html b/templates/base.html index 893af0f375e5448321b9f0bcef95784e9d40aa4e..a06fbde397aace240a513ba9984bd9bc6a85e59f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -62,6 +62,7 @@ function changeTime(obj, label) { <li id="nav-create"><a href="{% url create %}">Create</a></li> <li id="nav-feeds"><a href="{% url feeds %}">RSS</a></li> <li id="nav-userprofile"><a href="{% url userprofile-home %}">Options</a></li> + <li id="nav-doc"><a href="{% url doc %}">Docs</a></li> {% if ligouser %}<li id="nav-user">Authenticated as: {{ ligouser.name }}</li>{% endif %} </ul> {% endblock %} diff --git a/templates/doc/index.html b/templates/doc/index.html new file mode 100644 index 0000000000000000000000000000000000000000..cd8eb4f07b49f90ab6491ad511bc7d727d565127 --- /dev/null +++ b/templates/doc/index.html @@ -0,0 +1,32 @@ +{% extends "base.html" %} + +{% block title %}Docs{% endblock %} +{% block heading %}GraceDB <em>Alpha</em> — Overview{% endblock %} +{% block pageid %}doc{% endblock %} + +{% block content %} + +<div class="text"> + +I am the <strong>DOC</strong>. +Find the client +<a href="http://www.lsc-group.phys.uwm.edu/cgit/lalsuite/plain/glue/bin/gracedb">HERE</a>. + +<hr/> +The gravitational-wave candidate event database (GraCEDb) is a +prototype system to organize candidate events from gravitational-wave +searches and to provide an environment to record information about +follow-ups. A simple client tool is provided in +<a href="https://www.lsc-group.phys.uwm.edu/daswg/projects/glue.html">Glue</a> +to submit a candidate event to the database. +You can read about using the service at the +<a href="https://www.lsc-group.phys.uwm.edu/daswg/wiki/HowtoGraceDb">Howto page</a>. More details are available at the +<a href="https://www.lsc-group.phys.uwm.edu/daswg/projects/gracedb.html">Project page</a>. +</div> + +<div class="text"> +To receive email alerts when GraCEDb events are created, sign up +on the <a target="_blank" href="http://listserv.ligo.org/cgi-bin/mailman/listinfo/gracedb">gracedb mailing list</a>. +</div> + +{% endblock %} diff --git a/urls.py b/urls.py index 4a8e866b79eb90658344438998e3fca9d843205f..a073ff97f426f60b374beb5a4194ae1e416ad2e0 100644 --- a/urls.py +++ b/urls.py @@ -14,6 +14,7 @@ urlpatterns = patterns('', url (r'^$', 'gracedb.gracedb.views.index', name="home"), (r'^events/', include('gracedb.gracedb.urls')), + url (r'^doc/', 'gracedb.gracedb.doc.index', name="doc"), (r'^options/', include('gracedb.userprofile.urls')), (r'^cli/create', 'gracedb.gracedb.views.create'), (r'^cli/ping', 'gracedb.gracedb.views.ping'),