gosscms/templates/admin-main.html

18 lines
488 B
HTML
Raw Permalink Normal View History

2017-08-29 19:33:09 +00:00
<section class="admin">
<div class="container">
<div>
<h3>Admin Sections</h3>
<a id="btnPhotos" class="button" href="/admin/photos">Photo Galleries</a>
<a id="btnNews" class="button" href="/admin/news">News</a>
</div>
2017-08-28 20:04:19 +00:00
</div>
2017-08-29 19:33:09 +00:00
</section>
2017-08-28 20:04:19 +00:00
<script>
document.getElementById('btnPhotos').onClick = function() {
console.log("Go to photo management");
}
document.getElementById('btnNews').onClick = function() {
console.log("Go to news management");
}
</script>