123456789101112131415161718192021222324252627282930313233343536 |
- <div class="standardContainer">
- <button onclick="exitToGanList();" class="ui large circular black icon button"><i class="angle left icon"></i></button>
- <div style="float: right; max-width: 300px;">
- <h1 class="ui header" style="text-align: right;">
- <span class="ganetID"></span>
- <div class="sub header ganetName"></div>
- </h1>
- </div>
-
- <br><br>
- </div>
- <script>
- var currentGaNetDetails = {};
- //Entry points
- function initGanetDetails(ganetId){
- $(".ganetID").text(ganetId);
- //Get the details of the net
- $.get("/api/gan/network/list?netid=" + ganetId, function(data){
- if (data.error !== undefined){
- msgbox(data.error, false, 6000);
- }else{
- $(".ganetName").html(`${data.Name}<br>${data.Description}`);
- }
- })
- }
- //Exit point
- function exitToGanList(){
- $("#gan").load("./components/gan.html", function(){
- if (tabSwitchEventBind["gan"]){
- tabSwitchEventBind["gan"]();
- }
- });
- }
- </script>
|