mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -05:00
Restrict scope of scroll-position-saving
This commit is contained in:
parent
075b8f67fe
commit
98afb6cde2
@ -40,8 +40,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</head>
|
</head>
|
||||||
<body class="has-navbar-fixed-top" ic-history-elt="true"
|
<body class="has-navbar-fixed-top" ic-history-elt="true"
|
||||||
ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'
|
ic-global-include='{"csrfmiddlewaretoken": "{{ csrf_token }}"}'>
|
||||||
ic-on-beforeSend="savePlace()">
|
|
||||||
<div id="page-load-indicator"> </div>
|
<div id="page-load-indicator"> </div>
|
||||||
{% block navbar %}
|
{% block navbar %}
|
||||||
<nav class="navbar is-fixed-top" role="navigation"
|
<nav class="navbar is-fixed-top" role="navigation"
|
||||||
@ -53,6 +52,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
{% if own_acct %}
|
{% if own_acct %}
|
||||||
@ -76,6 +76,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Home');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-home"></span>
|
<span class="fa fa-home"></span>
|
||||||
@ -87,6 +88,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Notifications');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Notifications');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-bell-o"></span>
|
<span class="fa fa-bell-o"></span>
|
||||||
@ -98,6 +100,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Local timeline');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Local timeline');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-community"></span>
|
<span class="fa fa-community"></span>
|
||||||
@ -109,6 +112,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Federated timeline');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Federated timeline');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-globe"></span>
|
<span class="fa fa-globe"></span>
|
||||||
@ -120,6 +124,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'New toot');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'New toot');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-edit"> </span>
|
<span class="fa fa-edit"> </span>
|
||||||
@ -131,6 +136,7 @@
|
|||||||
ic-scroll-to-target="true"
|
ic-scroll-to-target="true"
|
||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Search');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Search');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-search"> </span>
|
<span class="fa fa-search"> </span>
|
||||||
@ -144,6 +150,7 @@
|
|||||||
|
|
||||||
ic-scroll-to-target="true" ic-select-from-response="#main"
|
ic-scroll-to-target="true" ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
|
ic-on-beforeSend="savePlace"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'Settings');"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'Settings');"
|
||||||
ic-indicator="#page-load-indicator">
|
ic-indicator="#page-load-indicator">
|
||||||
<span class="fa fa-gear"></span>
|
<span class="fa fa-gear"></span>
|
||||||
|
@ -146,7 +146,8 @@
|
|||||||
ic-select-from-response="#main"
|
ic-select-from-response="#main"
|
||||||
ic-push-url="true"
|
ic-push-url="true"
|
||||||
ic-on-success="afterPage('{{ own_acct.username }}', 'thread')"
|
ic-on-success="afterPage('{{ own_acct.username }}', 'thread')"
|
||||||
ic-indicator="#page-load-indicator"">
|
ic-indicator="#page-load-indicator"
|
||||||
|
ic-on-beforeSend="savePlace">
|
||||||
thread
|
thread
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user