Skip to content

Commit

Permalink
Use gwbootstrap 1.3.5 (#408)
Browse files Browse the repository at this point in the history
* Update code comment for using dropdown-menu-end

* Update gwbootstrap version

* Update gwdetchar version pin

---------

Co-authored-by: Evan Goetz <evan.goetz@ligo.org>
  • Loading branch information
eagoetz and Evan Goetz committed Apr 18, 2024
1 parent 6071cc4 commit 4120c12
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gwsumm/html/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def state_switcher(states, default=0):
page.a(str(state), class_='dropdown-item state', title=str(state),
id_='state_%s' % re_cchar.sub('_', str(state)).lower(),
onclick='jQuery(this).load_state(\'%s\');' % href)
page.div.close() # dropdown-menu dropdown-menu-right
page.div.close() # dropdown-menu dropdown-menu-end
page.li.close() # nav-item dropdown state-switch
page.ul.close() # nav navbar-nav
return page
Expand Down
4 changes: 2 additions & 2 deletions gwsumm/html/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
'font-awesome/6.5.1/css/fontawesome.min.css'),
('font-awesome-solid', 'https://cdnjs.cloudflare.com/ajax/libs/'
'font-awesome/6.5.1/css/solid.min.css'),
('gwbootstrap', 'https://cdn.jsdelivr.net/npm/gwbootstrap@1.3.4/'
('gwbootstrap', 'https://cdn.jsdelivr.net/npm/gwbootstrap@1.3.5/'
'lib/gwbootstrap.min.css'),
))

Expand All @@ -51,7 +51,7 @@
('datepicker', 'https://cdnjs.cloudflare.com/ajax/libs/'
'bootstrap-datepicker/1.9.0/js/'
'bootstrap-datepicker.min.js'),
('gwbootstrap', 'https://cdn.jsdelivr.net/npm/gwbootstrap@1.3.4/'
('gwbootstrap', 'https://cdn.jsdelivr.net/npm/gwbootstrap@1.3.5/'
'lib/gwbootstrap-extra.min.js'),
))

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ classifiers = [
dependencies = [
"astropy >=3.0.0",
"gwdatafind >=1.1.1",
"gwdetchar >=2.2.4",
"gwdetchar >=2.2.5",
"gwpy >=2.0.0",
"gwtrigfind",
"lalsuite",
Expand Down

0 comments on commit 4120c12

Please sign in to comment.