Skip to content

Commit 068ac28

Browse files
authored
UI Add Notification Targets (#73)
1 parent 0bcf88e commit 068ac28

File tree

25 files changed

+2183
-143
lines changed

25 files changed

+2183
-143
lines changed

portal-ui/bindata_assetfs.go

Lines changed: 309 additions & 125 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

portal-ui/public/amqp.png

107 KB
Loading

portal-ui/public/elasticsearch.png

12.1 KB
Loading

portal-ui/public/kafka.png

10.2 KB
Loading

portal-ui/public/mqtt.png

23 KB
Loading

portal-ui/public/mysql.png

6.71 KB
Loading

portal-ui/public/nats.png

6.1 KB
Loading

portal-ui/public/postgres.png

301 KB
Loading

portal-ui/public/redis.png

33.5 KB
Loading

portal-ui/src/actions.ts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
// You should have received a copy of the GNU Affero General Public License
1515
// along with this program. If not, see <http://www.gnu.org/licenses/>.
1616

17-
import { MENU_OPEN, USER_LOGGED } from "./types";
17+
import {
18+
MENU_OPEN,
19+
SERVER_IS_LOADING,
20+
SERVER_NEEDS_RESTART,
21+
USER_LOGGED
22+
} from "./types";
1823

1924
export function userLoggedIn(loggedIn: boolean) {
2025
return {
@@ -29,3 +34,17 @@ export function setMenuOpen(open: boolean) {
2934
open: open
3035
};
3136
}
37+
38+
export function serverNeedsRestart(needsRestart: boolean) {
39+
return {
40+
type: SERVER_NEEDS_RESTART,
41+
needsRestart: needsRestart
42+
};
43+
}
44+
45+
export function serverIsLoading(isLoading: boolean) {
46+
return {
47+
type: SERVER_IS_LOADING,
48+
isLoading: isLoading
49+
};
50+
}

0 commit comments

Comments
 (0)