mirror of
https://github.com/olegvodyanov/instalinks.git
synced 2025-12-20 11:27:04 +03:00
Compare commits
No commits in common. "416c85b310357cf805226b4c83cc7bf74f5fcb8a" and "c23c862d0baccdad9d5185f2201131229efe2735" have entirely different histories.
416c85b310
...
c23c862d0b
@ -9,4 +9,4 @@ urlpatterns = [
|
|||||||
path('api/links/add/', views.add_link, name='add_link'),
|
path('api/links/add/', views.add_link, name='add_link'),
|
||||||
path('api/links/<int:link_id>/delete/', views.delete_link, name='delete_link'),
|
path('api/links/<int:link_id>/delete/', views.delete_link, name='delete_link'),
|
||||||
path('api/links/<int:link_id>/watched/', views.mark_watched, name='mark_watched'),
|
path('api/links/<int:link_id>/watched/', views.mark_watched, name='mark_watched'),
|
||||||
]
|
]
|
||||||
@ -4,6 +4,7 @@ const newLinksContainer = document.getElementById('newLinksContainer');
|
|||||||
const watchedLinksContainer = document.getElementById('watchedLinksContainer');
|
const watchedLinksContainer = document.getElementById('watchedLinksContainer');
|
||||||
|
|
||||||
const PER_PAGE = 8;
|
const PER_PAGE = 8;
|
||||||
|
let linksData = [];
|
||||||
let currentPage = 1;
|
let currentPage = 1;
|
||||||
|
|
||||||
function loadLinks() {
|
function loadLinks() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user