feat: History page - List previous commits

This commit is contained in:
NGPixel
2017-04-30 16:37:10 -04:00
parent a7c4f42ef0
commit a748b3a4eb
10 changed files with 132 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ $(() => {
offset: -50
})
$('.stickyscroll').sticky({ topSpacing: 15 })
$('.stickyscroll').sticky({ topSpacing: 15, bottomSpacing: 75 })
// ====================================
// Notifications
@@ -58,5 +58,6 @@ $(() => {
require('./pages/create.js')(alerts, socket)
require('./pages/edit.js')(alerts, socket)
require('./pages/source.js')(alerts)
require('./pages/history.js')(alerts)
require('./pages/admin.js')(alerts)
})

View File

@@ -0,0 +1,11 @@
'use strict'
import $ from 'jquery'
module.exports = (alerts) => {
if ($('#page-type-history').length) {
let currentBasePath = ($('#page-type-history').data('entrypath') !== 'home') ? $('#page-type-history').data('entrypath') : ''
}
}