ソースを参照

biz-newlayout changes

Naresh Ch 2年前
コミット
b0f7833449
1個のファイルの変更24行の追加2行の削除
  1. 24
    2
      authentication/index.html

+ 24
- 2
authentication/index.html ファイルの表示

@@ -22,6 +22,7 @@
22 22
                 <input type="text" class="form-control" id="searchBar" placeholder="Search here">
23 23
             </li>
24 24
             <li class="ml-auto">
25
+                <button class="btn btn-outline-primary" id="detailBtn">Detail</button>
25 26
                 <span><i class="la la-question-circle"></i></span>
26 27
             </li>
27 28
             <li>
@@ -31,8 +32,9 @@
31 32
                 <span><i class="la la-question-circle"></i></span>
32 33
             </li>
33 34
             <li>
34
-                <a href="javascript:void(0);" class="rounded-circle icn-circle" data-bs-toggle="dropdown" aria-expanded="false">
35
-                    SS    
35
+                <a href="javascript:void(0);" class="rounded-circle icn-circle" data-bs-toggle="dropdown"
36
+                    aria-expanded="false">
37
+                    SS
36 38
                 </a>
37 39
                 <ul class="dropdown-menu uindtls">
38 40
                     <li><a class="dropdown-item" href="#">Action</a></li>
@@ -86,4 +88,24 @@
86 88
 <script src="../assets/js/base.js" async></script>
87 89
 <script src="../assets/js/list.index.js" async></script>
88 90
 
91
+<script>
92
+    $('#detailBtn').click(function () {
93
+        $('.bdy-ul').addClass('d-none');
94
+        // Unibase.Themes.Compact.Components.Notification.Instance().loadReminderDetails(105013010001972,105010260000090,'Details','null',6,0,null)
95
+        const cookie = getCookie('_idty');
96
+        if (cookie) {
97
+            const {
98
+                unibaseId,
99
+                tenantId,
100
+                userId
101
+            } = JSON.parse(cookie);
102
+
103
+            $('#detailIframe').html(
104
+                `<iframe width="100%" style="min-height:746px"  name="srcframe" id="srcframe" class="srcframe" src="http://localhost:3088/#/${unibaseId}/${tenantId}/${userId}/105013010001972/105010260000090/'Details'/'null'/6/0/loadDetail"></iframe>`
105
+            );
106
+        }
107
+
108
+    });
109
+</script>
110
+
89 111
 </html>

読み込み中…
キャンセル
保存