Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
lscsoft
gracedb
Commits
10aeaefa
Commit
10aeaefa
authored
May 23, 2019
by
Jonah Kanner
🤓
Committed by
GraceDB
Jun 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
javascript works
parent
1b8b640e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
11 deletions
+9
-11
bower.json
bower.json
+5
-1
gracedb/superevents/views.py
gracedb/superevents/views.py
+1
-1
gracedb/templates/superevents/public.html
gracedb/templates/superevents/public.html
+3
-9
No files found.
bower.json
View file @
10aeaefa
...
...
@@ -7,6 +7,10 @@
"jquery"
:
"3.2.1"
,
"jquery-ui"
:
"1.12.1"
,
"moment-timezone"
:
"0.5.0"
,
"moment"
:
"2.11.1"
"moment"
:
"2.11.1"
,
"tablesaw"
:
"3.1.2"
},
"resolutions"
:
{
"webcomponentsjs"
:
"^0.6.0"
}
}
gracedb/superevents/views.py
View file @
10aeaefa
...
...
@@ -126,7 +126,7 @@ class SupereventPublic(ListView):
def
get_queryset
(
self
,
**
kwargs
):
# -- Query only for public events
qs
=
Superevent
.
objects
.
filter
(
is_exposed
=
True
,
category
=
'
T
'
)
#-- Change cateogry to P for production
qs
=
Superevent
.
objects
.
filter
(
is_exposed
=
True
,
category
=
'
P
'
)
#-- Change cateogry to P for production
return
qs
def
get_context_data
(
self
,
**
kwargs
):
...
...
gracedb/templates/superevents/public.html
View file @
10aeaefa
...
...
@@ -6,16 +6,10 @@
{% block jscript %}
{% load static %}
<link
rel=
"stylesheet"
href=
"{% static "
css
/
labeltips.css
"
%}"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
css
/
tablesaw.css
"
%}"
/>
<script
src=
"{% static "
moment
/
moment.js
"
%}"
></script>
<script
src=
"{% static "
moment-timezone
/
builds
/
moment-timezone-with-data.min.js
"
%}"
></script>
<script
src=
"{% static "
dojo
/
dojo.js
"
%}"
data-dojo-config=
"async: true"
></script>
<script
src=
"{% static "
jquery
/
dist
/
jquery.min.js
"
%}"
></script>
<script
language=
"javascript"
type=
"text/javascript"
src=
"{% static "
js
/
tablesaw.js
"
%}"
></script>
<script
language=
"javascript"
type=
"text/javascript"
src=
"{% static "
js
/
tablesaw-init.js
"
%}"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static "
tablesaw
/
dist
/
tablesaw.css
"
%}"
/>
<script
language=
"javascript"
type=
"text/javascript"
src=
"{% static "
tablesaw
/
dist
/
tablesaw.js
"
%}"
></script>
<script
language=
"javascript"
type=
"text/javascript"
src=
"{% static "
tablesaw
/
dist
/
tablesaw-init.js
"
%}"
></script>
<script
src=
"//filamentgroup.github.io/demo-head/loadfont.js"
></script>
<!-- Styles for dgrid -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment