Skip to content
Snippets Groups Projects
Commit bf151720 authored by Branson Stephens's avatar Branson Stephens Committed by Branson Stephens
Browse files

Chaned options to settings. Tweaked label for FAR threshold.

parent 15dd0c7b
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<li id="nav-create"><a href="{% url create %}">Create</a></li> <li id="nav-create"><a href="{% url create %}">Create</a></li>
<li id="nav-reports"><a href="{% url reports %}">Reports</a></li> <li id="nav-reports"><a href="{% url reports %}">Reports</a></li>
<li id="nav-feeds"><a href="{% url feeds %}">RSS</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-userprofile"><a href="{% url userprofile-home %}">Settings</a></li>
{% if ligouser %}<li id="nav-user">Authenticated as: {{ ligouser.name }}</li>{% endif %} {% if ligouser %}<li id="nav-user">Authenticated as: {{ ligouser.name }}</li>{% endif %}
<ul> <ul>
{% endblock %} {% endblock %}
...@@ -36,7 +36,7 @@ function changeTime(obj, label) { ...@@ -36,7 +36,7 @@ function changeTime(obj, label) {
<li id="nav-reports"><a href="{% url reports %}">Reports</a></li> <li id="nav-reports"><a href="{% url reports %}">Reports</a></li>
<li id="nav-feeds"><a href="{% url feeds %}">RSS</a></li> <li id="nav-feeds"><a href="{% url feeds %}">RSS</a></li>
<li id="nav-latest"><a href="{% url latest %}">Latest</a></li> <li id="nav-latest"><a href="{% url latest %}">Latest</a></li>
<li id="nav-userprofile"><a href="{% url userprofile-home %}">Options</a></li> <li id="nav-userprofile"><a href="{% url userprofile-home %}">Settings</a></li>
{% if ligouser %}<li id="nav-user">Authenticated as: {{ ligouser.name }}</li>{% endif %} {% if ligouser %}<li id="nav-user">Authenticated as: {{ ligouser.name }}</li>{% endif %}
</ul> </ul>
<center> <center>
......
...@@ -26,7 +26,7 @@ You can read about using the service on the ...@@ -26,7 +26,7 @@ You can read about using the service on the
<div class="text"> <div class="text">
To receive email alerts when GraCEDb events are created, sign up 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> or set up your own alert under the on the <a target="_blank" href="http://listserv.ligo.org/cgi-bin/mailman/listinfo/gracedb">gracedb mailing list</a> or set up your own alert under the
<a href="{% url userprofile-home %}">Options</a> menu item. <a href="{% url userprofile-home %}">Settings</a> menu item.
</div> </div>
{% endblock %} {% endblock %}
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Options | Create {{ creating }}{% endblock %} {% block title %}Settings | Create {{ creating }}{% endblock %}
{% block heading %}Create {{ creating }}{% endblock %} {% block heading %}Create {{ creating }}{% endblock %}
{% block pageid %}userprofile{% endblock %} {% block pageid %}userprofile{% endblock %}
......
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}Options | Notifications{% endblock %} {% block title %}Settings | Notifications{% endblock %}
{% block heading %}Notifications{% endblock %} {% block heading %}Notifications{% endblock %}
{% block pageid %}userprofile{% endblock %} {% block pageid %}userprofile{% endblock %}
......
...@@ -17,7 +17,7 @@ urlpatterns = patterns('', ...@@ -17,7 +17,7 @@ urlpatterns = patterns('',
url (r'^$', 'gracedb.views.index', name="home"), url (r'^$', 'gracedb.views.index', name="home"),
(r'^events/', include('gracedb.urls')), (r'^events/', include('gracedb.urls')),
(r'^api/', include('gracedb.urls_rest')), (r'^api/', include('gracedb.urls_rest')),
(r'^options/', include('userprofile.urls')), (r'^settings/', include('userprofile.urls')),
(r'^cli/create', 'gracedb.views.create'), (r'^cli/create', 'gracedb.views.create'),
(r'^cli/ping', 'gracedb.views.ping'), (r'^cli/ping', 'gracedb.views.ping'),
(r'^cli/log', 'gracedb.views.log'), (r'^cli/log', 'gracedb.views.log'),
......
...@@ -6,6 +6,7 @@ from django.forms.models import modelformset_factory ...@@ -6,6 +6,7 @@ from django.forms.models import modelformset_factory
def triggerFormFactory(postdata=None, user=None): def triggerFormFactory(postdata=None, user=None):
class TF(forms.ModelForm): class TF(forms.ModelForm):
farThresh = forms.FloatField(label='FAR Threshold')
class Meta: class Meta:
model = Trigger model = Trigger
exclude = ['user', 'triggerType'] exclude = ['user', 'triggerType']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment