index.html 32.2 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Rekkverkskalkulator</title>

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">

    <!-- My CSS -->
    <link rel="stylesheet" type="text/css" href="css/style.css">

<!------------------------------------------------------ SCRIPT ------------------------------------------------------->
    <script src="lib/babylon.js"></script>
    <script src="lib/jspdf.debug.js"></script>

    <script src="js/materials/GridMaterial.js"></script>
    <script src="js/MaterialProvider.js"></script>

    <script src="js/app.js"></script>
    <script src="js/Glass.js"></script>
    <script src="js/GlassProvider.js"></script>
    <script src="js/MeshControls.js"></script>
    <script src="js/pole/PoleProvider.js"></script>
    <script src="js/pole/Pole.js"></script>
    <script src="js/terrace/BuildingPlane.js"></script>
    <script src="js/TextProvider.js"></script>
    <script src="js/Segment.js"></script>
    <script src="js/Modules.js"></script>

    <script src="js/terrace/Terrace.js"></script>
    <script src="js/terrace/CustomTerrace.js"></script>

    <script src="js/camera/CameraController.js"></script>
    <script src="js/camera/OrthographicCamera.js"></script>

    <script src="js/HTMLGUI.js"></script>

    <!------------------------------------------------>
    <script src="js/gui/GUI.js"></script>
    <script src="js/gui/CustomTerraceGUI.js"></script>
    <script src="js/gui/NotificationMessage.js"></script>
    <script src="js/gui/LayoutSelectionGUI.js"></script>
    <!------------------------------------------------>

    <script src="js/PDF/PDF.js"></script>
    <script src="js/PDF/ImageURLS.js"></script>

    <script src="js/Constants.js"></script>
    <script src="js/Setup.js"></script>
<!--------------------------------------------------------------------------------------------------------------------->
    
</head>
<body onload="main()">

    <!-- Canvas -->
    <canvas id="renderCanvas" class="hide">
        Denne nettleseren støtter ikke "canvas"-elementet!
    </canvas>

    <!-- Terrace setup -->
    <div class="setup" id="setup">

        <!-- Predefined shapes -->
        <div class="container" id="init">
            <div class="row">
                <div class="col-md-7 box">

                    <!-- Layout selection -->
                    <div id="layout">
                        <div class="row">
                            <div class="col-md-12">
                                <h1 class="text-center headline">Velg utforming på din terrasse</h1>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12">
                                <p class="text-center subText" style="padding-bottom: 20px">I neste steg kan du legge inn sidemål</p>
                            </div>
                        </div>
                        <div id="layoutButtons" class="row">
                            <div class="col-lg-3 col-6">
                                <img id="btLayout1" class="layoutButton img-fluid" src="images/terrace_square.png">
                            </div>
                            <div class="col-lg-3 col-6">
                                <img id="btLayout2" class="layoutButton img-fluid" src="images/terrace_l_shape.png">
                            </div>
                            <div class="col-lg-3 col-6">
                                <img id="btLayout3" class="layoutButton img-fluid" src="images/terrace_diamond.png">
                            </div>
                            <div class="col-lg-3 col-6">
                                <img id="btLayout4" class="layoutButton img-fluid" src="images/terrace_triangle.png">
                            </div>
                        </div>

                        <!-- REMOVE ------------------------------------------------------------------------------------>
                        <div class="row">
                            <button class="btn btn-info center" id="quickBuild" onclick="Setup.quickBuild()">4 x 4</button>
                        </div>
                        <!---------------------------------------------------------------------------------------------->

                        <div class="row">
                            <div class="col-md-12" style="padding-top: 20px">
                                <p class="text-center subText">Ser du ikke noe som likner?</p>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-md-12" style="padding-bottom: 15px">
                                <button class="center" id="btDraw"><span>Tegn din egen</span></button>
                            </div>
                        </div>
                    </div>

                    <!-- Measurement input -->
                    <div id="measurements" class="hide">
                        <div class="row">
                            <div class="col-md-12">
                                <h1 class="text-center headline">Legg inn mål for din terrasse</h1>
                            </div>
                        </div>
                        <div class="row">

                            <!-- Layout preview -->
                            <div class="col-lg-8">
                                <img class="img-fluid float-right" id="layoutPreview" src="">
                            </div>

                            <!-- Layout input fields -->
                            <div class="col-lg-4">
                                <form id="lengths">
                                    <div class="form-group" id="formA">
                                        <label for="sideA">Side A</label>
                                        <input type="text" class="form-control" id="sideA" placeholder="Lengde i mm"/>
                                    </div>
                                    <div class="form-group" id="formB">
                                        <label for="sideB">Side B</label>
                                        <input type="text" class="form-control" id="sideB" placeholder="Lengde i mm"/>
                                    </div>
                                    <div class="form-group hide" id="formC">
                                        <label for="sideC">Side C</label>
                                        <input type="text" class="form-control" id="sideC" placeholder="Lengde i mm"/>
                                        <p class="error hide" id="errorC">Side C kan ikke være lengre enn side A</p>
                                    </div>
                                    <div class="form-group hide" id="formD">
                                        <label for="sideD" style="padding-top:15px">Side D</label>
                                        <input type="text" class="form-control" id="sideD" placeholder="Lengde i mm"/>
                                        <p class="error hide" id="errorD">Side D kan ikke være lengre enn side B</p>
                                    </div>
                                </form>
                            </div>

                        </div>

                        <!-- Nav buttons -->
                        <div class="row">
                            <div class="col-lg-12">
                                <button class="float-left" id="btPrevious"><span>Forrige</span></button>
                                <button class="float-right" id="btNext"><span>Neste</span></button>
                            </div>
                        </div>

                        <!-- Modal w/ trigger -->
                        <button id="triggerModal" type="button" class="btn hide" data-toggle="modal" data-target="#exampleModal"></button>
                        <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                            <div class="modal-dialog" role="document">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <h5 class="modal-title" id="exampleModalLabel">Ugyldig</h5>
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                            <span aria-hidden="true">&times;</span>
                                        </button>
                                    </div>
                                    <div class="modal-body">
                                        Vennligst oppgi positive numeriske verdier
                                    </div>
                                    <div class="modal-footer">
                                        <button type="button" class="btn btn-secondary" data-dismiss="modal">Lukk</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                </div>
            </div>
        </div>

    </div>

    <!-- Testing -->
    <div class="test-wrapper hide" id="testWrapper">

        <!-- Custom terrace GUI -->
        <div id="customTerraceGUI" class="center hide">
            <div class="row">
                <div class="col-md-12">
                    <!-- GUI sidepanel -->
                    <div id="customTerraceSidePanel">

                        <div id="angle-headline">
                            <p>Velg retning</p>
                        </div>

                        <!-- Angle buttons -->
                        <div class="angleButtons">
                            <div class="row angleRow">
                                <div class="col-sm-6">
                                    <img src="images/menu_angle_225.png" id="bt45_1" class="img-fluid btAngle">
                                </div>
                                <div class="col-sm-6">
                                    <img src="images/menu_angle_135.png" id="bt45_2" class="img-fluid btAngle">
                                </div>
                            </div>
                            <div class="row angleRow">
                                <div class="col-sm-6">
                                    <img src="images/menu_angle_270.png" id="bt90_1" class="img-fluid btAngle">
                                </div>

                                <div class="col-sm-6">
                                    <img src="images/menu_angle_90.png" id="bt90_2" class="img-fluid btAngle">
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-6 offset-3">
                                    <img src="images/menu_angle_180.png" id="bt180" class="img-fluid btAngle">
                                </div>
                            </div>
                        </div>

                        <div id="angle-length">
                            <p>Angi lengde</p>
                        </div>

                        <!-- Length input -->
                        <div class="row angleRow">
                            <div class="col-sm-8 offset-2">
                                <input type="text" class="form-control" id="sideLength" placeholder="Lengde i mm"/>
                            </div>

                        </div>

                        <!-- Add/remove side buttons -->
                        <div class="row">
                            <div class="col-sm-6 offset-3" style="margin-bottom: 10px">
                                <button class="btn scaleOnClick" id="addLength">Legg til</button>
                            </div>
                        </div>
                        <div class="row angleRow">
                            <div class="col-sm-6 offset-3">
                                <button class="btn scaleOnClick" id="deleteLength" style="margin-bottom: 65px">Slett forrige</button>
                            </div>
                        </div>
                    </div>

                    <!-- Nav buttons -->
                    <div id="bottomRow" class="row">
                        <div class="col-sm-12">
                            <button class="float-right" id="btNext2"><span>Neste</span></button>
                            <button class="float-right" id="btPrevious2"><span>Forrige</span></button>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <!-- Main GUI -->
    <div class="main" id="main">
        <div id="gui">

            <input id="moduleMenuToggleButton" type="image" src="images/icons/double_arrow.png" title="Skjul menyen" onclick="toggleMenuVisibility()" ondragstart="return false;" />

            <!-- Module menu -->
            <div id="moduleMenu">

                <!-- Poles -->
                <div id="poleHeader" class="menuHeader">Stolper</div>
                <div id="poleButtons">
                    <div class="pole-row" id="row1">
                        <input class="pole-button" type="image" src="images/poles/end_labeled.png" title="Endestolpe" onmousedown="addPoleFromMenu('end')" ondragstart="return false;" />
                        <input class="pole-button" type="image" src="images/poles/wall_labeled.png" title="Veggfeste" onmousedown="addPoleFromMenu('wall')" ondragstart="return false;" />
                    </div>
                    <div class="pole-row" id="row2">
                        <input class="pole-button" type="image" src="images/poles/90_labeled.png" title="Hjørnestolpe 90&#176;" onmousedown="addPoleFromMenu('90')" ondragstart="return false;" />
                        <input class="pole-button" type="image" src="images/poles/45_labeled.png" title="Hjørnestolpe 45&#176;" onmousedown="addPoleFromMenu('45')" ondragstart="return false;" />
                    </div>
                    <div class="pole-row" id="row3">
                        <input class="pole-button" type="image" src="images/poles/180_labeled.png" title="Midtstolpe 180&#176;" onmousedown="addPoleFromMenu('180')" ondragstart="return false;" /> <br>
                    </div>
                </div>

                <!-- Glass -->
                <div id="glassHeader" class="menuHeader">Glass</div>
                <div class="input-group mb-3" id="glass-type-selection">
                    <div class="input-group-prepend option-dropdown-info" id="glassTypeInfo">
                        <label class="input-group-text full-width" for="glassTypeSelect">Type</label>
                    </div>
                    <select class="custom-select option-dropdown-selection" id="glassTypeSelect" onchange="changeMenuGlassType()">
                        <option value="0">Klart</option>
                        <option value="1">Frostet</option>
                        <option value="2">Sotet</option>
                    </select>
                </div>

                <div class="input-group mb-3" id="glass-width-selection">
                    <div class="input-group-prepend option-dropdown-info" id="glassWidthInfo">
                        <label class="input-group-text full-width" for="glassWidthSelect">Bredde</label>
                    </div>
                    <select class="custom-select option-dropdown-selection" id="glassWidthSelect" onchange="updateGlassStretch()">
                        <option value="120">120mm</option>
                        <option value="220">220mm</option>
                        <option value="320">320mm</option>
                        <option value="420">420mm</option>
                        <option value="520">520mm</option>
                        <option value="620">620mm</option>
                        <option value="720">720mm</option>
                        <option value="820">820mm</option>
                        <option value="920">920mm</option>
                        <option value="1020">1020mm</option>
                        <option value="1120" selected="selected">1120mm</option>
                    </select>
                </div>
                <div id="glassButtons">
                    <input id="decreaseGlassWidth" type="image" src="images/icons/left_arrow.png" title="Reduser glassbredde" onclick="reduceGlassSize()" ondragstart="return false;" />
                    <input id="glassButton" type="image" src="images/menu_glass_clear.png" title="Glass (høyde = 840mm)" onmousedown="addGlassFromMenu()" ondragstart="return false;" />
                    <input id="increaseGlassWidth" type="image" src="images/icons/left_arrow.png" title="Øk glassbredde" onclick="increaseGlassSize()" ondragstart="return false;" />
                </div>
                <!--<p class ="moduleMenuHeader" id="fpsCounter">fps: </p>-->
            </div>

            <!-- Top left toolbar -->
            <div id="topButtons">
                <div class="view-nav">
                    <ul>
                        <li>
                            <input class="view" id="view" type="image" src="images/icons/view.png"/>
                            <ul class="dropdown-view">
                                <li>
                                    <input class="cameraButtons" id="camera2DButton" type="image" src="images/cam2D_blk.png" onclick="use2DCamera()" ondragstart="return false;" />
                                </li>
                                <li>
                                    <input class="cameraButtons" id="camera3DButton" type="image" src="images/cam3D_red.png" onclick="use3DCamera()" ondragstart="return false;" />
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
                <input id="helpLinesButton" type="image" src="images/icons/ruler_2.png" onclick="toggleHelplines()" ondragstart="return false;" />
                <input id="helpButton" type="image" src="images/icons/help.png" onclick="displayInfo()"/>
            </div>

            <!-- Shopping cart -->
            <div id="shoppingCart" onclick="displayItemList()">
                <img src="images/icons/shoppingCart.png" id="imgCart">
                <div id="subtotal">0 kr</div>
            </div>

            <!-- Item list -->
            <div id="itemList">
                <div id="itemListHeader">
                    <div class="menuHeader">Utstyrsliste</div>
                    <div id="closeItemList" onclick="hideItemList()" title="Lukk">&times;</div>
                </div>
                <div id="itemTableDiv">
                    <table id="itemTable" cellpadding="5">
                        <thead>
                            <tr>
                                <th>Varenr</th>
                                <th>Nobbnr</th>
                                <th>Artikkel</th>
                                <th>Antall</th>
                                <th>Pris</th>
                            </tr>
                        </thead>
                        <tbody id="itemTableBody"></tbody>
                    </table>
                </div>
                <div id="itemListFooter">
                    <img id="downloadItemListButton" src="images/icons/pdf.png" onclick="downloadItemList()" title="Last ned som PDF">
                </div>
            </div>

            <div class="fade-background hide" id="fade-background">

            </div>

        </div>

        <div id="poleMenu">
            <div class="meshControlsButtonsDiv" style="margin-left: 8px;">
                <input class="meshControlsButtons" id="pole-rot-left" type="image" src="images/menu_pole_rotate_left.png" onclick="rotateMeshLeft()" title="Roter mot venstre" ondragstart="return false;" />
            </div>
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" id="pole-rot-right" type="image" src="images/menu_pole_rotate_right.png" onclick="rotateMeshRight()" title="Roter mot høyre" ondragstart="return false;" />
            </div>
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" id="pole-del" type="image" src="images/menu_pole_delete.png" onclick="deleteMesh()" title="Slett stolpe" ondragstart="return false;" />
            </div>
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" id="pole-auto" type="image" src="images/icons/auto.png" onclick="startAutoGeneration()" value="Auto" title="Utvid rekkverk"/>
            </div>
        </div>

        <div id="glassMenu">
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" type="image" src="images/menu_pole_rotate_left.png" onclick="rotateMeshLeft()" title="Roter mot venstre" ondragstart="return false;" />
            </div>
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" type="image" src="images/menu_pole_rotate_right.png" onclick="rotateMeshRight()" title="Roter mot høyre" ondragstart="return false;" />
            </div>
            <div class="meshControlsButtonsDiv">
                <input class="meshControlsButtons" type="image" src="images/menu_pole_delete.png" onclick="deleteMesh()" title="Slett glass" ondragstart="return false;" />
            </div>
            <div class="input-group mb-3 option-dropdown" id="glassMenuType" title="Glasstype">
                <select class="custom-select" id="glassMenuTypeSelect" onchange="changeGlassType()">
                    <option value="0">Klart glass</option>
                    <option value="1">Frostet glass</option>
                    <option value="2">Sotet glass</option>
                </select>
            </div>
        </div>

        <div id="autoGenInfo">
            <p id="autoGenInfoHeader">Automatisk generering av rekkverk</p>
            <p id="autoGenHelp" class="grey">Trykk på en av pilene for å velge hvilken retning du vil ha rekkverk i</p>

            <div id="autoGenPoleSelect" style="display: none">
                <div class="autoGenPoleRow">
                    <input class="autoGenPoleButton" type="image" src="images/poles/180_labeled.png" title="180&#176; Stolpe" onclick="onAutoGenPoleSelected('180')" ondragstart="return false;" />
                    <input class="autoGenPoleButton" type="image" src="images/poles/90_labeled.png" title="90&#176; Stolpe" onclick="onAutoGenPoleSelected('90')" ondragstart="return false;" />
                    <input class="autoGenPoleButton" type="image" src="images/poles/45_labeled.png" title="45&#176; Stolpe" onclick="onAutoGenPoleSelected('45')" ondragstart="return false;" />
                </div>
                <div class="autoGenPoleRow">
                    <input class="autoGenPoleButton" type="image" src="images/poles/end_labeled.png" title="Endestolpe" onclick="onAutoGenPoleSelected('end')" ondragstart="return false;" />
                    <input class="autoGenPoleButton" type="image" src="images/poles/wall_labeled.png" title="Veggfeste" onclick="onAutoGenPoleSelected('wall')" ondragstart="return false;" />
                </div>
            </div>

            <div id="autoGenSuggestions">
                <table id="suggestionsTable">
                    <thead>
                    <tr style="background-color: rgb(230, 230, 230);">
                        <th>Moduler</th>
                        <th>Pris</th>
                        <th>Lengde</th>
                    </tr>
                    </thead>
                    <tbody id="suggestionsTableBody">

                    </tbody>
                </table>
            </div>

            <div style="margin: 0">
                <button onclick="cancelAutoGen()">Avbryt</button>
                <button id="autoGenFinishButton" onclick="onAutoGenFinished()" style="display: none">Fortsett</button>
            </div>
        </div>

        <!--<div class="init-info hide" id="init-info">
            <div class="init-info-box">
                <div style="margin-top: 10px">Ønsker du en gjennomgang av programmets funksjoner?</div>
                <button class="btn btn-yes" id="btYes" onclick="displayInfo()">Ja</button>
                <button class="btn btn-no" id="btNo" onclick="hidePopup()">Nei</button>
            </div>
        </div>-->

        <div class="info hide" id="info">

            <div class="close" onclick="closeInfo()" title="Lukk">&times;</div>

            <div class="container">

                <!-- Poles -->
                <div class="row element-row" style="margin-top: 50px">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid info-pole-buttons" src="images/poles/end_labeled.png">
                            <img class="img-fluid info-pole-buttons" src="images/poles/wall_labeled.png">
                            <img class="img-fluid info-pole-buttons" src="images/poles/90_labeled.png">
                            <img class="img-fluid info-pole-buttons" src="images/poles/45_labeled.png">
                            <img class="img-fluid info-pole-buttons" src="images/poles/180_labeled.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext offset20">
                            Klikk og dra stolper fra menyen for å plassere de på terrassen
                        </div>
                    </div>
                </div>

                <!-- Glass type -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <img class="img-fluid select-img" src="images/icons/type.png">
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Endre glasstype
                        </div>
                    </div>
                </div>

                <!-- Glass width -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <img class="img-fluid select-img" src="images/icons/width.png">
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Endre glassbredde
                        </div>
                    </div>
                </div>

                <!-- Glass -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="glass-row">
                            <img class="img-fluid scaled-img" src="images/menu_glass_clear.png">
                            <img class="img-fluid scaled-img" src="images/menu_glass_frosted.png">
                            <img class="img-fluid scaled-img" src="images/menu_glass_darkened.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext offset20" >
                            Klikk og dra glass fra menyen for å plassere de på terrassen
                        </div>
                    </div>
                </div>

                <!-- Rotate -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid img" src="images/menu_pole_rotate_left.png">
                            <img class="img-fluid img" src="images/menu_pole_rotate_right.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Roter markert stolpe eller glass til venstre/høyre
                        </div>
                    </div>
                </div>

                <!-- Delete -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid img" src="images/menu_pole_delete.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Fjern markert stolpe eller glass fra terrassen
                        </div>
                    </div>
                </div>

                <!-- Auto -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid img" src="images/icons/auto.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Start automatisk generering av rekkverk
                        </div>
                    </div>
                </div>

                <!-- Shopping cart -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid shopping-cart" src="images/icons/shoppingCart.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext">
                            Åpne handlekurven
                        </div>
                    </div>
                </div>

                <!-- PDF -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid pdf" src="images/icons/pdf_2.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext offset15">
                            Last ned utstyrslisten som et PDF-dokument
                        </div>
                    </div>
                </div>

                <!-- View -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid perspective" src="images/icons/view_outlined.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext offset15">
                            Beveg musepekeren over for å velge mellom 2D og 3D-perspektiv
                        </div>
                    </div>
                </div>

                <!-- Help lines -->
                <div class="row element-row">
                    <div class="col-sm-6">
                        <div class="right">
                            <img class="img-fluid ruler" src="images/icons/ruler_2.png">
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="infotext offset15">
                            Skru av og på hjelpelinjer
                        </div>
                    </div>
                </div>

            </div>

            <!-- Module menu --
            <p class="infotext" id="info-close-menu">Klikk her for å skjule/vise menyen</p>
            <p class="infotext" id="info-pole-buttons">Klikk og dra stolper fra menyen<br>for å plassere de på terrrassen</p>
            <p class="infotext" id="info-glass-type">Endre glasstype her</p>
            <p class="infotext" id="info-glass-width">Endre glassbredde her</p>
            <p class="infotext" id="info-glass-button">Klikk og dra glass fra menyen<br>for å plassere de på terrrassen</p>

            <!-- Pole tool menu --
            <p class="infotext" id="info-pole-rotate-left">Roter til venstre</p>
            <p class="infotext" id="info-pole-rotate-right">Roter til høyre</p>
            <p class="infotext" id="info-pole-delete">Slett stolpe</p>
            <p class="infotext" id="info-pole-auto">Start automatisk generering av rekkverk</p>

            <!-- Glass tool menu --
            <p class="infotext" id="info-glass-menu-type">Endre glasstype</p>
            -->

        </div>


    </div>

    <!-- jQuery -->
    <script src="lib/jquery-3.3.1.min.js"></script>

    <!-- Bootstrap JavaScript -->
    <script src="lib/bootstrap.min.js"></script>

</body>
</html>