Skip to content

Commit a191f4d

Browse files
Merge pull request #147 from geoCML/geocml-server-portal-btn-xpra
Add 'Open geoCML Server Portal' button to XPRA client
2 parents 6d45b50 + c54c47c commit a191f4d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

build-resources/geocml-desktop/index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
<li><a href="#" data-icon="info" onclick="show_about(event); return false">About Xpra</a></li>
102102
<li><a href="#" data-icon="trending_up" onclick="show_sessioninfo(event); return false">Session Info</a></li>
103103
<li><a href="#" data-icon="bug_report" onclick="show_bugreport(event); return false">Bug Report</a></li>
104+
<li><a href="#" id="fullscreen_button" title="Fullscreen" data-icon="fullscreen">Toggle Fullscreen</a></li>
104105
</ul>
105106
</li>
106107
<li><a href="#" data-icon="exit_to_app" onclick="client.disconnect_reason='User request'; client.close(); return false">Disconnect</a></li>
@@ -111,14 +112,16 @@
111112
<ul id="open_documentation">
112113
</ul>
113114
</li>
115+
<li class="-hasSubmenu -noChevron">
116+
<a href="#" title="Open geoCML Server Portal" data-icon="router" onclick="window.open(window.location.protocol + '//' + window.location.hostname.split('.').slice(-2).join('.'), '_blank');"></a>
117+
<ul id="open_geocml_server_portal">
118+
</ul>
119+
</li>
114120
<li class="-hasSubmenu -noChevron">
115121
<a href="#" title="Open Windows" data-icon="filter"></a>
116122
<ul id="open_windows_list">
117123
</ul>
118124
</li>
119-
<li class="-hasSubmenu -noChevron">
120-
<a href="#" id="fullscreen_button" title="Fullscreen" data-icon="fullscreen"></a>
121-
</li>
122125
<li class="-hasSubmenu -noChevron">
123126
<a href="#" id="sound_button" title="Audio" data-icon="volume_off"></a>
124127
</li>

0 commit comments

Comments
 (0)