diff --git a/archivebox/themes/admin/base.html b/archivebox/themes/admin/base.html index 00dfec45..d8ad8d00 100644 --- a/archivebox/themes/admin/base.html +++ b/archivebox/themes/admin/base.html @@ -226,7 +226,14 @@ $("#snapshotGridView").click(function() { selectSnapshotGridView(); }); - + + $('input:checkbox').change(function(){ + if($(this).is(':checked')) + $(this).parent().parent().parent().parent().addClass('selected-card'); + else + $(this).parent().parent().parent().parent().removeClass('selected-card') + }); + }); }; $(function () { diff --git a/archivebox/themes/admin/snapshots_grid.html b/archivebox/themes/admin/snapshots_grid.html index d374cff5..a7a2d4f9 100644 --- a/archivebox/themes/admin/snapshots_grid.html +++ b/archivebox/themes/admin/snapshots_grid.html @@ -119,6 +119,9 @@ footer { margin-left: .5rem; } +.selected-card{ + border: 5px solid #ffaa31; +}