File size: 1,696 Bytes
6b6d936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>pgAdmin 4</title>
    <style>
        body, html {
          height: 100%;
          font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
          font-size: 14px;
          margin: 0 10px;
          background-color: #e9f8ff;
        }

        .bg {
          background-image: url("../../assets/welcome_logo.svg");
          height: 100%;
          background-position: center;
          background-repeat: no-repeat;
          background-size: contain;
          overflow: hidden;
          display: flex;
        }

        .loader-text {
          margin-top: auto;
          margin-left: auto;
          margin-right: auto;
          margin-bottom: 10px;
        }
        @media screen and (forced-colors: active) {
          body {
            forced-color-adjust: none !important;
          }
        }
    </style>

    <!-- Disable/block all password saving in nw.js -->
    <script type="text/javascript">
      chrome.passwordsPrivate.getSavedPasswordList(function(passwords) {
        passwords.forEach((p, i) => {
          chrome.passwordsPrivate.removeSavedPassword(i);
        });
      });
      chrome.privacy.services.passwordSavingEnabled.set({ value: false });
    </script>

    <script type="text/javascript">
      let platform = require("os").platform;
    </script>
  </head>
  <body>
    <div class="bg">
        <span id="loader-text-status" class="loader-text"></span>
    </div>

    <script type="text/javascript" src="../js/pgadmin.js"></script>
  </body>
</html>