This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This gist came about as a result of a request for help in Kubernetes slack #metallb channel (https://kubernetes.slack.com/archives/CANQGM8BA/p1724849137265479) | |
Background | |
========== | |
- Setting up a homelab k8s cluster running on proxmox. | |
- Following https://blog.andreev.it/2023/10/install-metallb-on-kubernetes-cluster-running-on-vmware-vms-or-bare-metal-server/ | |
Status | |
====== | |
- Metallb and Nginx are running fine. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul class="nav nav-tabs"> | |
<% @booking.booked_rooms.each_with_index do |booked_room, index| %> | |
<li class=""><a href="#room-<%= index %>" data-toggle="tab"><%= booked_room.door.title %></a> </li> | |
<% end %> | |
</ul> | |
<script type="text/javascript" > | |
$(".nav-tabs").on('click', function(e) { | |
localStorage.setItem( 'booking-tab',$('.nav-tabs .active').find("a").attr("href") ); |