Skip to content

Commit

Permalink
r0b08x [chore] 3/29/2024, 2:45:00 PM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Mar 29, 2024
1 parent 5cce402 commit 324c888
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 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.175
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.176



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

---

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

[![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
4 changes: 2 additions & 2 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.175",
"version": "2024.4.176",
"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 @@ -69,7 +69,7 @@
"grunt-injector": "^1.1.0",
"html-loader": "^5.0.0",
"html-webpack-plugin": "^5.6.0",
"humanize-duration": "^3.31.0",
"humanize-duration": "^3.32.0",
"jquery": "^3.7.1",
"js-htmlencode": "^0.3.0",
"jsoneditor": "^10.0.2",
Expand Down
14 changes: 13 additions & 1 deletion src/angular/dialog/p3xr-dialog-connection.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
</span>
</fieldset>

<br/>
<span ng-if="$root.p3xr.state.donated">
<md-switch ng-model="model.readonly" name="readonly" aria-label="" style="margin: 0;"
ng-disabled="$root.p3xr.state.cfg.readonlyConnections">
Expand Down Expand Up @@ -154,12 +155,23 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
</div>


<span ng-if="model.sentinel === true">
<md-input-container class="md-block">
<label>{{ $root.p3xr.strings.label.sentinel.name }}</label>
<input required name="sentinelName" ng-model="model.sentinelName"
ng-disabled="$root.p3xr.state.cfg.readonlyConnections">
<div ng-messages="p3xrConnectionForm.sentinelName.$error">
<div ng-message="required">{{ $root.p3xr.strings.form.error.required }}</div>
</div>
</md-input-container>
</span>

<span ng-if="(model.cluster === true || model.sentinel === true) && !$root.p3xr.state.cfg.readonlyConnections" ng-click="addNode()">
<md-button class="md-fab md-primary md-mini">
<md-icon>add</md-icon>
</md-button>
{{ $root.p3xr.strings.label.addNode }}
</span>
</span>

<div ng-if="(model.cluster === true || model.sentinel === true)">

Expand Down
1 change: 1 addition & 0 deletions src/strings/en/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ const strings = {
sentinel: {
on: "Sentinel on",
off: "Sentinel off",
name: "Sentinel name",
},
readonly: {
on: "Readonly on",
Expand Down
1 change: 1 addition & 0 deletions src/strings/ru/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ const strings = {
sentinel: {
on: "Сентинел включен",
off: "Сентинел выключен",
name: "Имя дозорного",
},
readonly: {
on: 'Режим "только чтение"',
Expand Down
1 change: 1 addition & 0 deletions src/strings/zn/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ const strings = {
sentinel: {
on: "哨兵開啟",
off: "哨兵關閉",
name: '哨兵名称',
},
readonly: {
on: "只读",
Expand Down

0 comments on commit 324c888

Please sign in to comment.