7 Commits

Author SHA1 Message Date
e8bf1e0d81 Fixed sizing issue with the footer
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-12 19:31:51 -04:00
a8c5f3a694 Set minimum window size 2023-04-12 19:31:24 -04:00
8d47e4c4f5 Updated version of systeminformation module
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-12 19:31:00 -04:00
f9102eb707 Version bump to v0.3.3
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
2023-04-12 16:02:42 -04:00
139568415e Updated woodpecker config to not install SASS
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-12 16:01:39 -04:00
b74bf3be3c Changed from using grunt-contrib-sass to grunt-dart-sass so that building the SASS stylesheets don't rely on having a system installation of ruby and sass 2023-04-12 16:01:09 -04:00
07fbd43cbe Fixed some styles on the tab bar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-07 10:32:41 -04:00
8 changed files with 584 additions and 270 deletions

View File

@ -6,7 +6,6 @@ pipeline:
build:
image: node:16
commands:
- apt update && apt install -y ruby ruby-dev && gem install sass
- npm install
- npm run grunt

View File

@ -4,7 +4,7 @@ module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
sass: {
'dart-sass': {
dist: {
options: {
style: 'compressed'
@ -69,7 +69,7 @@ module.exports = function(grunt) {
},
css: {
files: ['assets/sass/*.sass'],
tasks: ['sass'],
tasks: ['dart-sass'],
options: {
atBegin: true,
spawn: false
@ -96,12 +96,12 @@ module.exports = function(grunt) {
// Load task plugins
grunt.loadNpmTasks('grunt-twig-render');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-dart-sass');
grunt.loadNpmTasks('grunt-contrib-coffee');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-watch');
// Default task(s).
grunt.registerTask('default', ['twigRender', 'sass', 'coffee', 'copy']);
grunt.registerTask('default', ['twigRender', 'dart-sass', 'coffee', 'copy']);
};

View File

@ -42,6 +42,7 @@ button
max-width: 1024px
.container.fluid
width: 100%
max-width: 100%
margin: 0
@ -61,6 +62,10 @@ button
border-bottom: 1px solid #bbb
box-shadow: 0 1px 2px rgba(0, 0, 0, .25)
.container.fluid
width: 100%
margin-right: 0
.row
display: relative

View File

@ -19,7 +19,8 @@
<div class="container fluid">
<div class="row">
<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('storage')">Storage</button>
<button class="tab-button" onclick="openTab('gpu')">GPU</button>
@ -29,7 +30,10 @@
</div>
<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' %}
</div>
<div class="component-display" data-component="memory">

View File

@ -0,0 +1,5 @@
<header class="row">
<div class="columns twelve u-text-center">
<h1>Sentry Overview</h1>
</div>
</header>

View File

@ -7,6 +7,8 @@ function createWindow () {
const mainWindow = new BrowserWindow({
width: 800,
height: 700,
minWidth: 725,
minHeight: 600,
webPreferences: {
nodeIntegration: true,
contextIsolation: false,

819
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "sentry",
"version": "0.3.2",
"version": "0.3.3",
"description": "Desktop app to view system information and sensors",
"main": "main.js",
"scripts": {
@ -25,12 +25,12 @@
"grunt": "^1.5.3",
"grunt-contrib-coffee": "^2.1.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-sass": "^2.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-dart-sass": "^2.0.1",
"grunt-twig-render": "^1.8.3"
},
"dependencies": {
"systeminformation": "^5.11.15"
"systeminformation": "^5.17.12"
},
"build": {
"appId": "tech.bitgoblin.sentry",