Skip to content

Commit

Permalink
r0b08x [chore] 6/6/2024, 3:43:00 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Jun 6, 2024
1 parent 5b5f844 commit 9eb8b28
Show file tree
Hide file tree
Showing 10 changed files with 73 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ https://corifeus.com/redis-ui


---
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.265
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.267



Expand Down Expand Up @@ -87,7 +87,7 @@ All my domains, including [patrikx3.com](https://patrikx3.com) and [corifeus.com
---


[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.265
[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.267

[![NPM](https://img.shields.io/npm/v/p3x-redis-ui-material.svg)](https://www.npmjs.com/package/p3x-redis-ui-material) [![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-redis-ui-material",
"version": "2024.4.265",
"version": "2024.4.267",
"description": "💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io",
"corifeus": {
"icon": "fas fa-database",
Expand Down Expand Up @@ -42,8 +42,8 @@
"author": "Patrik Laszlo <[email protected]>",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@fontsource/roboto": "^5.0.13",
"@fontsource/roboto-mono": "^5.0.18",
"@fortawesome/fontawesome-free": "^6.5.2",
Expand All @@ -64,12 +64,12 @@
"concurrently": "^8.2.2",
"copy-webpack-plugin": "^12.0.2",
"corifeus-builder": "^2024.4.140",
"css-loader": "^7.1.1",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"grunt-injector": "^1.1.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"humanize-duration": "^3.32.0",
"humanize-duration": "^3.32.1",
"jquery": "^3.7.1",
"js-htmlencode": "^0.3.0",
"jsoneditor": "^10.0.3",
Expand All @@ -80,7 +80,7 @@
"moment": "^2.30.1",
"pretty-bytes": "^5.6.0",
"raw-loader": "^4.0.2",
"sass": "^1.77.2",
"sass": "^1.77.4",
"sass-loader": "^14.2.1",
"socket.io-client": "^4.7.5",
"source-map-loader": "^5.0.0",
Expand Down
2 changes: 0 additions & 2 deletions src/angular/layout/p3xr-layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,3 @@
{{ $root.p3xr.strings.label.reducedFunction }}
</div>



12 changes: 11 additions & 1 deletion src/angular/layout/p3xr-layout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
p3xr.ng.component('p3xrLayout', {
template: require('./p3xr-layout.html'),
controller: function (p3xrTheme, $rootScope, p3xrSocket, p3xrCommon, $state, $cookies, $timeout, $scope, p3xrDialogAskAuthorization) {
controller: function (p3xrTheme, $rootScope, p3xrSocket, p3xrCommon, $state, $cookies, $timeout, $scope, p3xrDialogAskAuthorization, $http) {

let themesCache
this.getThemeKey = (themes) => {
Expand Down Expand Up @@ -98,6 +98,16 @@ p3xr.ng.component('p3xrLayout', {
`)
*/

/*
$http.get(p3xr.api.host + '/nonce').then((response) => {
// Inject the AdSense script dynamically with the nonce
const adsContainer = document.getElementById('adsbygoogle-container');
adsContainer.innerHTML = `
`;
})
*/


}
Expand Down
6 changes: 6 additions & 0 deletions src/angular/pages/p3xr-console.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
p3xr-console {
.p3xr-console-electron {
margin: $layout-padding;

}

md-toolbar {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}

#p3xr-console-content {
Expand Down
4 changes: 2 additions & 2 deletions src/angular/pages/p3xr-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ p3xr.ng.component('p3xrMain', {
this.refresh()
}
}
if (p3xr.state.connections.list.length === 0 && p3xr.state.connection === undefined) {
//if (p3xr.state.connections.list.length === 0 && p3xr.state.connection === undefined) {
setTimeout(() => {
rawResize()
}, 250)
}
//}
}


Expand Down
5 changes: 5 additions & 0 deletions src/angular/pages/p3xr-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ p3xr-main {
}
}

md-toolbar {
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}

#p3xr-main-treecontrol-container {
position: fixed;
overflow: auto;
Expand Down
6 changes: 6 additions & 0 deletions src/angular/ui/p3xr-accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
margin-right: $layout-padding;
margin-bottom: $layout-padding;
}

p3xr-accordion md-toolbar {
// fix with border radious only left and right top of the toolbar
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}
28 changes: 24 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>

<head>
<title>P3X Redis UI</title>
<meta charset="UTF-8">
Expand All @@ -11,15 +12,20 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=G-8M2CK7993T"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-8M2CK7993T');
</script>

<!--
<script async custom-element="amp-ad" src="https://cdn.ampproject.org/v0/amp-ad-0.1.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1410073260887710"
crossorigin="anonymous"></script>
-->
</head>

<body id="p3xr-redis-ui-bootstrap" ng-cloak md-theme-watch md-theme="{{ $root.p3xr.state.themeLayout }}"
md-colors="{ background: 'background' }">
md-colors="{ background: 'background' }">

<p3xr-layout>

Expand Down Expand Up @@ -67,6 +73,7 @@
0% {
transform: translate3d(0, 10px, 0) scale(1.2, 0.85);
}

100% {
transform: translate3d(0, -20px, 0) scale(0.9, 1.1);
}
Expand All @@ -85,5 +92,18 @@



<!--
<div id="adsbygoogle-container">
<amp-ad
layout="fixed"
width="728"
height="90"
type="adsense"
data-ad-client="ca-pub-1410073260887710"
data-ad-slot="8218322555">
</amp-ad>
</div>
-->
</body>
</html>

</html>
11 changes: 11 additions & 0 deletions src/scss/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@

#adsbygoogle-container {
position: fixed;
bottom: 55px;
right: 10px;
z-index: 3;
}

.md-button {
border-radius: 6px;
}

md-toast {
position: fixed !important;
}
Expand Down

0 comments on commit 9eb8b28

Please sign in to comment.