feat: History page - List previous commits
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
11
client/js/pages/history.js
Normal file
11
client/js/pages/history.js
Normal 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') : ''
|
||||
|
||||
|
||||
}
|
||||
}
|
@@ -45,6 +45,21 @@
|
||||
transition: all .4s ease;
|
||||
line-height: 14px;
|
||||
|
||||
&.is-multiline {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
&.is-active {
|
||||
border-left: 5px solid mc('blue', '500');
|
||||
color: mc('blue', '300');
|
||||
padding-left: 15px;
|
||||
|
||||
.is-small {
|
||||
color: mc('blue', '500');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 7px;
|
||||
color: mc('blue-grey', '300');
|
||||
@@ -55,6 +70,13 @@
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.is-small {
|
||||
flex: 1 0 100%;
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
color: rgba(255,255,255,.5)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
> ul {
|
||||
|
Reference in New Issue
Block a user