landing.html 4.79 KB
Newer Older
Jacek Lebioda's avatar
Jacek Lebioda committed
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: "en" }}">

    {%- include head.html -%}

    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" />
    <link href="{{ "assets/css/landing.css" | relative_url }}"" rel="stylesheet" />
<body>
  <div class="main">
    <div class="content-wrapper">
Laurent Heirendt's avatar
Laurent Heirendt committed
11

Jacek Lebioda's avatar
Jacek Lebioda committed
12
13
        <header class="site-header" role="banner">
            <div>
Laurent Heirendt's avatar
Laurent Heirendt committed
14

Jacek Lebioda's avatar
Jacek Lebioda committed
15
16
17
18
19
              {%- if site.banner_link -%}
                {%- assign banner_link = site.banner_link -%}
              {%- else -%}
                {%- assign banner_link = '/' | relative_url -%}
              {%- endif -%}
Laurent Heirendt's avatar
Laurent Heirendt committed
20

Jacek Lebioda's avatar
Jacek Lebioda committed
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
              <div class="custom-header">
                <a href="{{ banner_link }}"><img class="img-uni-lu"
                     src="{{ '/assets/banners/uni-logo.svg' | relative_url }}"
                     type="image/svg+xml"
                /></a>
                <img class="img-banner img-banner-main"
                     src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/banner.svg"
                     type="image/svg+xml"
                />
                <img class="img-banner img-banner-motto"
                     src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/motto.svg"
                     type="image/svg+xml"
                />
                <img class="img-lcsb img-logo-{{ site.logo }}"
                     src="{{ '/assets/banners/' | relative_url }}{{ site.banner }}/logos.svg"
                     type="image/svg+xml"
                />
Laurent Heirendt's avatar
Laurent Heirendt committed
38
              </div>
Jacek Lebioda's avatar
Jacek Lebioda committed
39
40
41
42
43
            </div>
          </header>

      <main class="page-content" aria-label="Content" style="margin-right: 0%">
        {% if site.internal %}
44
        <div class="indicator tooltip" id="internal-indicator">
45
            <p>
46
                Internal
47
48
                <i class="material-icons">info</i>
            </p>
Jacek Lebioda's avatar
Jacek Lebioda committed
49
50
51
52
53
            <span class="tooltip-text">
                You are connected to the uni.lu network. <br />You see all the cards.
            </span>
        </div>
        {% else %}
54
        <div class="indicator tooltip" id="external-indicator">
55
56
57
58
59
            <p>
                External
                <i class="material-icons">info</i>
            </p>
            
Jacek Lebioda's avatar
Jacek Lebioda committed
60
            <span class="tooltip-text">
Laurent Heirendt's avatar
Laurent Heirendt committed
61
                You are <strong>not connected</strong> to the uni.lu network. <br />You can see only publicly available cards. <br />In order to see all, please connect to the university network via VPN.
Jacek Lebioda's avatar
Jacek Lebioda committed
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
            </span>
        </div>
        {% endif %}

        <div class="wrapper">
          {%- if page.show_print_button -%}
          <div class="print-button">
            <img src="{{ "assets/pdf.svg" | relative_url }}">
            <a href="javascript:window.print()"><span>Print the page</span></a>
          </div>
          {%- endif -%}

            {{ content }}

            <!-- index -->

            <form action="search" method="GET">
                <div class="search-bar">
                    <input placeholder="What would you like to look for?" type="text" name="search_query" />
                    <i class="large material-icons">search</i>
                </div>
            </form>

            <div class="container">
                <div class="left-inner-container" id="left-inner-container" ondrop="window.cardDropDiscard(event)" ondragover="window.allowDrop(event)">
                </div>
                <div class="right-inner-container" id="right-inner-container" ondrop="window.cardDrop(event)" ondragover="window.allowDrop(event)">
                    <div id="drop-to-add" class="card-pinned card-grayed card-pulsate">
                        <div class="card-header">
                            <div class="card-icon"><i class="large material-icons">add</i></div>
                        </div>
                        <div class="card-content">
                            <div class="card-title">
                                <small>Drop to add...</small>
                            </div>
                        </div>
                    </div>
                    <div class="card-pinned card-grayed cursor-hand" onclick="clear_pinned()">
                        <div class="card-header">
                            <div class="card-icon"><i class="large material-icons">delete</i></div>
                        </div>
                        <div class="card-content">
                            <div class="card-title">
                                <small>Remove all...</small>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </main>
  </div>
  {%- include footer.html -%}
</div>
</body>
{%- include scripts.html -%}
118
119
120
<script>
    window.is_internal = false;
</script>
Jacek Lebioda's avatar
Jacek Lebioda committed
121
122
123
<script src="{{ "assets/js/landing.js" | relative_url }}"></script>

</html>