Skip to content

Commit

Permalink
r0b08x [chore] 3/30/2024, 8:00:35 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Mar 30, 2024
1 parent defe583 commit bfc5e1e
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 15 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.187
# 💿 The p3x-redis-ui-material web interface that connects to the p3x-redis-ui-server via http and socket.io v2024.4.188



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.187
[**P3X-REDIS-UI-MATERIAL**](https://corifeus.com/redis-ui-material) Build v2024.4.188

[![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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "p3x-redis-ui-material",
"version": "2024.4.187",
"version": "2024.4.188",
"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
30 changes: 19 additions & 11 deletions src/angular/dialog/p3xr-dialog-connection.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
<span ng-if="model.id">
<md-input-container class="md-block p3xr-md-input-container-no-bottom">
<label>{{ $root.p3xr.strings.label.id.id }}</label>
<input required name="id" ng-model="model.id"
ng-disabled="true">
<input required name="id" ng-model="model.id" disabled>
</md-input-container>
<div class="p3xr-md-input-container-bottom-info">
{{ $root.p3xr.strings.label.id.info}}
Expand Down Expand Up @@ -166,12 +165,18 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
{{ model.sentinel ? $root.p3xr.strings.label.sentinel.on : $root.p3xr.strings.label.sentinel.off }}
</md-switch>
</div>

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


<span ng-if="model.sentinel === true">
<md-input-container class="md-block">
<md-input-container class="md-block p3xr-md-input-container-no-bottom">
<label>{{ $root.p3xr.strings.label.sentinel.name }}</label>
<input required name="sentinelName" ng-model="model.sentinelName"
ng-disabled="$root.p3xr.state.cfg.readonlyConnections">
Expand All @@ -181,13 +186,7 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
</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>


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

<div ng-repeat="node in model.nodes">
Expand All @@ -204,6 +203,15 @@ <h2 flex md-truncate>{{ $root.p3xr.state.cfg.readonlyConnections ?
</md-button>
</div>
<br/>

<span ng-if="node.id">
<md-input-container class="md-block p3xr-md-input-container-no-bottom">
<label>{{ $root.p3xr.strings.label.id.nodeId }}</label>
<input ng-model="node.id" disabled>
</md-input-container>

</span>

<md-input-container class="md-block">
<label>{{ $root.p3xr.strings.form.connection.label.host }}</label>
<input name="host{{$index}}" ng-model="node.host"
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 @@ -129,6 +129,7 @@ const strings = {
},
label: {
id: {
nodeId: 'Node ID',
id: "ID",
info: "If you do not wan't to change the properties of: sshPassword, sshPrivateKey, password, tlsCrt, tlsKey, tlsCa, please enter the ID of the connection in those propertes to keep the property values intact."
},
Expand Down
3 changes: 2 additions & 1 deletion src/strings/ru/strings.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ const strings = {
},
label: {
id: {
id: "ИДЕНТИФИКАТОР",
nodeId: 'Идентификатор узла',
id: "Идентификатор соединения",
info: "Если вы не хотите изменять свойства: sshPassword, sshPrivateKey, пароля, tlsCrt, tlsKey, tlsCa, введите идентификатор соединения в эти свойства, чтобы сохранить значения свойств нетронутыми."
},
secureFeature: 'Если вы видите значение, которое начинается с P3X и выглядит похоже, это функция безопасности. Чтобы изменить настройки, просто замените эти настройки на пустые или что-то другое, и они будут сохранены. Если вы не измените настройки, настройки останутся такими, какие они есть на сервере.',
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 @@ -122,6 +122,7 @@ const strings = {
},
label: {
id: {
nodeId: '节点号',
id: "ID",
info: "如果您不想更改以下属性:sshPassword、sshPrivateKey、password、tlsCrt、tlsKey、tlsCa,请在这些属性中输入连接 ID 以保持属性值不变。"
},
Expand Down

0 comments on commit bfc5e1e

Please sign in to comment.