HEX
Server: Apache/2.4.18 (Ubuntu)
System: Linux ubuntu 7.0.5-x86_64-linode173 #1 SMP PREEMPT_DYNAMIC Fri May 8 10:12:05 EDT 2026 x86_64
User: root (0)
PHP: 7.2.28-1+ubuntu16.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //proc/self/root/opt/trading-bot/fix_tab_css.sh
#!/bin/bash
# Ensure CSS properly hides/shows tabs

cd /opt/trading-bot/static

# Check current CSS
echo "Current .tab-content CSS:"
grep -A 5 "\.tab-content {" index.html

echo ""
echo "Current .tab-content.active CSS:"
grep -A 3 "\.tab-content\.active {" index.html

# Make sure the CSS is correct
# .tab-content should have display: none
# .tab-content.active should have display: block

# Replace the CSS if needed
sed -i 's/\.tab-content {/\.tab-content {\n            display: none;/g' index.html
sed -i 's/\.tab-content\.active {/\.tab-content\.active {\n            display: block !important;/g' index.html

echo ""
echo "Updated CSS:"
grep -A 3 "\.tab-content {" index.html
grep -A 3 "\.tab-content\.active {" index.html

# Also verify the overview tab is marked as active
echo ""
echo "Overview tab class:"
grep 'id="overview"' index.html