Compare commits
3 Commits
v0.3.2
...
139568415e
Author | SHA1 | Date | |
---|---|---|---|
139568415e | |||
b74bf3be3c | |||
07fbd43cbe |
@ -6,7 +6,6 @@ pipeline:
|
|||||||
build:
|
build:
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
- apt update && apt install -y ruby ruby-dev && gem install sass
|
|
||||||
- npm install
|
- npm install
|
||||||
- npm run grunt
|
- npm run grunt
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
// Project configuration.
|
// Project configuration.
|
||||||
grunt.initConfig({
|
grunt.initConfig({
|
||||||
sass: {
|
'dart-sass': {
|
||||||
dist: {
|
dist: {
|
||||||
options: {
|
options: {
|
||||||
style: 'compressed'
|
style: 'compressed'
|
||||||
@ -69,7 +69,7 @@ module.exports = function(grunt) {
|
|||||||
},
|
},
|
||||||
css: {
|
css: {
|
||||||
files: ['assets/sass/*.sass'],
|
files: ['assets/sass/*.sass'],
|
||||||
tasks: ['sass'],
|
tasks: ['dart-sass'],
|
||||||
options: {
|
options: {
|
||||||
atBegin: true,
|
atBegin: true,
|
||||||
spawn: false
|
spawn: false
|
||||||
@ -96,12 +96,12 @@ module.exports = function(grunt) {
|
|||||||
|
|
||||||
// Load task plugins
|
// Load task plugins
|
||||||
grunt.loadNpmTasks('grunt-twig-render');
|
grunt.loadNpmTasks('grunt-twig-render');
|
||||||
grunt.loadNpmTasks('grunt-contrib-sass');
|
grunt.loadNpmTasks('grunt-dart-sass');
|
||||||
grunt.loadNpmTasks('grunt-contrib-coffee');
|
grunt.loadNpmTasks('grunt-contrib-coffee');
|
||||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
grunt.loadNpmTasks('grunt-contrib-copy');
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||||
|
|
||||||
// Default task(s).
|
// Default task(s).
|
||||||
grunt.registerTask('default', ['twigRender', 'sass', 'coffee', 'copy']);
|
grunt.registerTask('default', ['twigRender', 'dart-sass', 'coffee', 'copy']);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -61,6 +61,10 @@ button
|
|||||||
border-bottom: 1px solid #bbb
|
border-bottom: 1px solid #bbb
|
||||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .25)
|
box-shadow: 0 1px 2px rgba(0, 0, 0, .25)
|
||||||
|
|
||||||
|
.container.fluid
|
||||||
|
width: 100%
|
||||||
|
margin-right: 0
|
||||||
|
|
||||||
.row
|
.row
|
||||||
display: relative
|
display: relative
|
||||||
|
|
||||||
|
@ -19,7 +19,8 @@
|
|||||||
<div class="container fluid">
|
<div class="container fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="columns twelve">
|
<div class="columns twelve">
|
||||||
<button class="tab-button active" onclick="openTab('cpu')">CPU</button>
|
<button class="tab-button active" onclick="openTab('overview')">Overview</button>
|
||||||
|
<button class="tab-button" onclick="openTab('cpu')">CPU</button>
|
||||||
<button class="tab-button" onclick="openTab('memory')">Memory</button>
|
<button class="tab-button" onclick="openTab('memory')">Memory</button>
|
||||||
<button class="tab-button" onclick="openTab('storage')">Storage</button>
|
<button class="tab-button" onclick="openTab('storage')">Storage</button>
|
||||||
<button class="tab-button" onclick="openTab('gpu')">GPU</button>
|
<button class="tab-button" onclick="openTab('gpu')">GPU</button>
|
||||||
@ -29,7 +30,10 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="wrapper" class="container">
|
<div id="wrapper" class="container">
|
||||||
<div class="component-display active" data-component="cpu">
|
<div class="component-display active" data-component="overview">
|
||||||
|
{% include 'overview.twig' %}
|
||||||
|
</div>
|
||||||
|
<div class="component-display" data-component="cpu">
|
||||||
{% include 'cpu.twig' %}
|
{% include 'cpu.twig' %}
|
||||||
</div>
|
</div>
|
||||||
<div class="component-display" data-component="memory">
|
<div class="component-display" data-component="memory">
|
||||||
|
5
assets/twig/overview.twig
Normal file
5
assets/twig/overview.twig
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<header class="row">
|
||||||
|
<div class="columns twelve u-text-center">
|
||||||
|
<h1>Sentry Overview</h1>
|
||||||
|
</div>
|
||||||
|
</header>
|
805
package-lock.json
generated
805
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -25,8 +25,8 @@
|
|||||||
"grunt": "^1.5.3",
|
"grunt": "^1.5.3",
|
||||||
"grunt-contrib-coffee": "^2.1.0",
|
"grunt-contrib-coffee": "^2.1.0",
|
||||||
"grunt-contrib-copy": "^1.0.0",
|
"grunt-contrib-copy": "^1.0.0",
|
||||||
"grunt-contrib-sass": "^2.0.0",
|
|
||||||
"grunt-contrib-watch": "^1.1.0",
|
"grunt-contrib-watch": "^1.1.0",
|
||||||
|
"grunt-dart-sass": "^2.0.1",
|
||||||
"grunt-twig-render": "^1.8.3"
|
"grunt-twig-render": "^1.8.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Reference in New Issue
Block a user