Helpdesk

Page tree

University of Tartu IT wiki

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Content Layer
id1127863526
Content Column
width100.00002%
id1127863537
Content Block
padding0px 22px
margin0px 22px
background-repeatno-repeat
background-size1100px
id1127863536
background-imageUT170510AT041-Pano-1.webp
background-positioncenter center
height250px

Content Layer
id1127863513
Content Column
width100%
id1127863523
Content Block
margin0px 0px 30px 0px
overflowvisible
id1127863524

Livesearch
spaceKeyIT
sizelarge
placeholderSearch from helpdesk...
typepage


Welcome to the University of Tartu IT wiki page!

The University of Tartu IT helpdesk works Monday to Friday from 8 a.m. to 6:20 p.m and Saturday to Sunday from 8 a.m to 5 p.m.

Our office at Uppsala 10 is open from Monday to Friday from 8 a.m. to 5 p.m.

In the bottom-right corner of the screen, you will find our virtual assistant, which answers questions based on IT helpdesk guides.

Content Layer
id1127868835
Content Column
columnalternate
width22%
id1127868836
Content Block
background-color$lightGrayColor
padding40px 16px
margin0px 22px
overflowhidden
id1127868847
Contact information

M-F 8.00-18.20

Sat-Sun 8.00-17.00

+372 737 5500 (5500)

Uppsala 10

helpdesk@ut.ee

Content Column
width78.0%
id1127868846
Content Block
overflowhidden
id1127868858

  Useful links

         IT helpdesk requests portal

         Order equipment or software

         Statuspage

         University mailbox

         Log in

   News

HTML
<!-- Chat Button -->
<button id="openChatBtn" style="position: fixed; bottom: 20px; right: 20px; cursor: pointer; border: none; background: none; z-index: 1000;">
    <img id="chatAvatar" alt="Chat Avatar" width="auto" height="84" />
</button>

<!-- Chat Container -->
<div id="chatContainer" style="position: fixed; bottom: 0; right: 0; width: 100%; max-width: 500px; height: 80vh; border: 1px solid #ccc; background-color: white; z-index: 1000; display: none; border-radius: 20px 20px 0px 0px;">
    <!-- Chat Header with Close Button -->
    <div style="background-color: #2C569B; padding: 10px; text-align: right; height: 50px; border-radius: 20px 20px 0 0; display: flex; align-items: center; justify-content: space-between;">
        <div style="display: flex; align-items: center; justify-content: start; gap: 12px;">
            <img src="https://portal.tehisintellekt.ee/ut/tiksu.svg" alt="Logo" style="height: 46px; margin-left: 12px;">
            <div style="display: flex; flex-direction: column; align-items: start;">
                <span style="font-size: 20px; font-weight:700; color:white; font-family: system-ui, sans-serif;">Tiksu</span>
                <span id="tiksuSubtitle" style="font-size: 12px; font-weight:400; color:white; font-family: system-ui, sans-serif;"></span>
            </div>
        </div>
        <button id="closeChatBtn" style="border: none; background: none; cursor: pointer; padding-right: 12px; display: flex; align-items: center;">
            <img src="https://portal.tehisintellekt.ee/ut/close_button.svg" alt="Close" />
        </button>
    </div>
    <!-- Chat iFrame -->
    <iframe id="chatIframe" src="https://portal.tehisintellekt.ee/ut" style="width: 100%; height: calc(100% - 70px); border: none; border-radius: 0 0 20px 20px;"></iframe>
</div>

<script>
    // Language resources
    const resources = {
        english: {
            avatar: "https://portal.tehisintellekt.ee/ut/need_some_help.svg",
            lang: "en",
            text: "IT-helpdesk virtual assistant responds instantly"
        },
        estonian: {
            avatar: "https://portal.tehisintellekt.ee/ut/kas_vajad_abi.svg",
            lang: "et",
            text: "Arvutiabi virtuaalne assistent vastab kohe"
        },
    };

    // Get elements
    const chatAvatar = document.getElementById('chatAvatar');
    const chatIframe = document.getElementById('chatIframe');
    const tiksuSubtitle = document.getElementById('tiksuSubtitle');

    // Function to set language based on referrer URL
    function setLanguage() {
        if (typeof window !== "undefined") {
            console.log("Referrer URL:", document.referrer);
            let selectedLang;
            if (window.location.href.startsWith("https://wiki.ut.ee/spaces/IT/overview") || 
                window.location.href.startsWith("https://wiki-test.ut.ee/spaces/IT/overview")) {
                // Set English
                chatAvatar.src = resources.english.avatar;
                tiksuSubtitle.textContent = resources.english.text;
                selectedLang = resources.english.lang;
            } else {
                // Set Estonian
                chatAvatar.src = resources.estonian.avatar;
                tiksuSubtitle.textContent = resources.estonian.text;
                selectedLang = resources.estonian.lang;
            }

            // Update the iframe src with the language parameter
            const currentSrc = new URL(chatIframe.src);
            currentSrc.searchParams.set('lang', selectedLang);
            chatIframe.src = currentSrc.toString();
        }
    }

    // Initialize the language
    setLanguage();

    // Open Chat
    document.getElementById('openChatBtn').addEventListener('click', function() {
        document.getElementById('chatContainer').style.display = 'block';
    });

    // Close Chat
    document.getElementById('closeChatBtn').addEventListener('click', function() {
        document.getElementById('chatContainer').style.display = 'none';
    });
</script>
Content Layer
id1127873894
classhideCommentBlock
Content Column
width100%
id1127873906