summaryrefslogtreecommitdiffstats
path: root/index_sa_anketa.php
blob: 57e21eff61488c523552f7f3274c6e7afc10b335 (plain) (blame)
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
<?php
include('settings.php');
?>
<!DOCTYPE html>
<html style="background-color:#FFFFFF;">
<head>
    <meta charset="utf-8">

    <link type="text/css"
          href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,500,500i,600,600i,700,700i&amp;subset=latin-ext"
          rel="stylesheet"/>


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style>
        .btn{
            cursor: pointer;
            margin: 8px 10px;
            padding: 10px 20px;
            text-align: center;
            font-size: 12px;
            letter-spacing: 1px;
            font-weight: 600;
            color: #FFFFFF;
            border-radius: 20px;
        }
        /* moder */
        .btn-moder{
            color: #ffffff;
            background-color: #1e88e5;
            border: 1px solid #1e88e5;
        }
        .btn-moder:hover {
            background-color: #ffa608;
            border: 1px solid #ffa608;
        }
        #outercontainer {
            position: absolute;
            width: 100%;
            height: 80px;
            border-bottom: 6px #1e88e5 solid;
        }

        #outercontainer #container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0px auto 10px;
        }
        #logo {
            right: auto;
            left: 20px;
            top: 13px;
            background: url("../../../public/img/logo/1ka_slo.svg") no-repeat scroll 0 0 transparent;
            background-repeat: no-repeat;
            position: absolute;
        }
        #logo a {
            width: 250px;
            height: 56px;
            display: block;
            text-indent: -9999px;
            overflow: hidden;
        }
        h1 {
            /* margin: 0px auto 70px; */
            margin: 0px auto 30px;
            /* padding: 36px 0 20px 0; */
            padding: 110px 0 40px 0;
            font-size: 26px;
            color: #1e88e5;
            text-align: center;
            border-bottom: 1px solid #ddeffd;
        }
        .buttons {
            padding: 30px 20px 35px;
            margin: 0 10px;
        }
        .enter{
            cursor: pointer;
            margin: 8px 10px;
            padding: 10px 20px;
            text-align: center;
            font-size: 14px;
            letter-spacing: 1px;
            font-weight: 600;
            color: #FFFFFF;
            border-radius: 20px;;
            background-color: #1e88e5;
            border: 1px solid #1e88e5;
        }
        .enter:hover{
            background-color: #ffa608;
            border: 1px solid #ffa608;
        }


        #footer_survey {
            padding: 40px;
            background-color: #ffffff;
            border-top: 1px #ddeffd solid;
        }
        #footer_survey p, #footer_survey a, #footer_survey a:visited {
            color: #505050;
            font-size: 14px;
            line-height: 25px;
            font-weight: 400;
            text-decoration: none;
        }
        body{
            text-align: center;
            font-family: Montserrat, Arial, Sans-Serif !important;
        }
        .okencek{
            width: 185px;
            text-align: center;
            font-size: 40px;
            padding: 25px 20px;
            margin-bottom: 15px;
            border: 2px dashed #1e88e5;

        }
        #superkoda-obvestilo{
            padding-bottom: 16px;
            color: #455a64;
            font-weight: normal;
            visibility: hidden;
            opacity: 0;
            transition: visibility 0s, opacity 1s linear;
        }
        .active{
            visibility: visible !important;
            opacity: 1 !important;
        }
    </style>
</head>

<body style="background-color:#FFFFFF;background-image:none;">
<div id="outercontainer" class=""><div id="container">
        <div id="logo">
            <a href="<?php echo $site_url; ?>" title="1KA spletne ankete" target="_blank">1KA</a>
            <div id="logo_right"></div>
        </div>
        <h1>Vnos kode za dostop do samoevalvacije</h1>
        <h3 id="superkoda-obvestilo">Z omenjeno kodo vam bo ponujeno več zaporednih vprašalnikov za različne profesorje ali predmete.</h3>
        <form action="<?php echo $site_url; ?>koda/" method="post">
            <!-- Login okno -->
            <div style=" padding: 0 9px;    margin: 0 auto 0 auto;">
                <div style="text-align: center;">
                        <input class="okencek" type="text" name="koda" value="" onkeyup="preveriDolzino(this)" autocomplete="off"/>
                        <br/>
                </div>

            </div>
            <div class="buttons">
                <button type="submit" class="enter">Vnesite</button>
            </div>
        </form>
    </div>
    <div id="footer_survey">
        <p class="footer_1ka"><a href="http://www.1ka.si" target="_blank">1KA - spletne ankete</a></p>
        <p class="privacy"><a href="https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-storitve-1ka/politika-zasebnosti?from1ka=1" target="_blank">Anketa </a>     <a href="https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-storitve-1ka/politika-zasebnosti?from1ka=1#cookies" target="_blank">brez piškotkov</a>, <a href="https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-storitve-1ka/politika-zasebnosti?from1ka=1#ip" target="_blank">brez IP sledenja</a></p>
        <p class="privacy_link"><a href="https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-storitve-1ka/politika-zasebnosti?from1ka=1" target="_blank">Politika zasebnosti</a></p>
    </div>
</div>


<!-- end Login okno -->
<script>
    function preveriDolzino(ob) {
        var string = ob.value.trim();
        var superKoda = string.substring(0,2).toUpperCase();

        if(superKoda == 'SS'){
            document.getElementById('superkoda-obvestilo').classList.add('active');
        }else{
            document.getElementById('superkoda-obvestilo').classList.remove('active');
        }

        if (ob.value.length > 5 && superKoda != 'SS') {
            ob.value = string.replace(string, string.substring(0, 5));
        }else if(ob.value.length > 7){
            ob.value = string.replace(string, string.substring(0, 7));
        }
    }
</script>

</body>
</html>