Revize 9d2c56ee
Přidáno uživatelem Ondřej Anděl před téměř 4 roky(ů)
application/changes.php | ||
---|---|---|
35 | 35 |
<?php include "./view/modals/removeChangeModal.html" ?> |
36 | 36 |
</body> |
37 | 37 |
</html> |
38 |
|
|
39 |
<!-- hide settings, this is relevant only on search page --> |
|
40 |
<script> |
|
41 |
document.getElementById("modalSettingsHref").style.display = "none"; |
|
42 |
</script> |
application/contacts.php | ||
---|---|---|
36 | 36 |
<?php include "./view/modals/loginModal.html" ?> |
37 | 37 |
<?php include "./view/modals/invalidLoginModal.html" ?> |
38 | 38 |
</body> |
39 |
</html> |
|
40 |
|
|
41 |
<!-- hide settings, this is relevant only on search page --> |
|
42 |
<script> |
|
43 |
document.getElementById("modalSettingsHref").style.display = "none"; |
|
44 |
</script> |
|
39 |
</html> |
application/index.php | ||
---|---|---|
36 | 36 |
</div> |
37 | 37 |
<?php include "./view/modals/loginModal.html" ?> |
38 | 38 |
<?php include "./view/modals/invalidLoginModal.html" ?> |
39 |
<?php include "./view/modals/settingsModal.html" ?> |
|
40 | 39 |
</body> |
41 | 40 |
</html> |
application/manual.php | ||
---|---|---|
37 | 37 |
<?php include "./view/modals/invalidLoginModal.html" ?> |
38 | 38 |
</body> |
39 | 39 |
</html> |
40 |
|
|
41 |
<!-- hide settings, this is relevant only on search page --> |
|
42 |
<script> |
|
43 |
document.getElementById("modalSettingsHref").style.display = "none"; |
|
44 |
</script> |
application/material.php | ||
---|---|---|
36 | 36 |
<?php include "./view/modals/loginModal.html" ?> |
37 | 37 |
<?php include "./view/modals/invalidLoginModal.html" ?> |
38 | 38 |
</body> |
39 |
</html> |
|
40 |
|
|
41 |
<!-- hide settings, this is relevant only on search page --> |
|
42 |
<script> |
|
43 |
document.getElementById("modalSettingsHref").style.display = "none"; |
|
44 |
</script> |
|
39 |
</html> |
application/users.php | ||
---|---|---|
31 | 31 |
</div> |
32 | 32 |
<?php include "./view/footer.html" ?> |
33 | 33 |
</div> |
34 |
<?php include "./view/modals/settingsModal.html" ?> |
|
35 | 34 |
<?php include "./view/modals/editUserModal.html" ?> |
36 | 35 |
<?php include "./view/modals/removeUserModal.html" ?> |
37 | 36 |
</body> |
application/view/contents/searchContent.php | ||
---|---|---|
214 | 214 |
<button class="btn" id="filter-but" onclick="callFilter()"> |
215 | 215 |
Filtrovat |
216 | 216 |
</button> |
217 |
<button class="btn" data-toggle="modal" data-target="#settings-modal" title="Nastavení"> |
|
218 |
<i class="fa fa-cogs"></i> |
|
219 |
</button> |
|
217 | 220 |
|
218 | 221 |
<?php if(isset($_SESSION['loggedIn']) && $_SESSION['loggedIn'] == true) {?> |
219 |
<button class="btn" data-toggle="modal" data-target="#edit-modal" data-title="Nový záznam"> |
|
222 |
<button class="btn" data-toggle="modal" data-target="#edit-modal" data-title="Nový záznam" title="Nový záznam">
|
|
220 | 223 |
<i class="fa fa-plus"></i> |
221 | 224 |
</button> |
222 | 225 |
<?php }?> |
application/view/menu.php | ||
---|---|---|
19 | 19 |
echo "href=\"changes.php\">Správa změn</a>"; |
20 | 20 |
} |
21 | 21 |
?> |
22 |
<a class="my-auto px-4 py-1 <?php echo (strstr($_SERVER['PHP_SELF'],'/settings.php') ? 'active' : '');?>" href="#" data-toggle="modal" data-target="#settings-modal" id="modalSettingsHref">Nastavení</a> |
|
23 | 22 |
|
24 | 23 |
<!-- show login button when user logged out OR show logout button when user logged in - START --> |
25 | 24 |
<?php |
application/view/modals/settingsModal.html | ||
---|---|---|
32 | 32 |
document.getElementById("modalSettingsHref").style.display = "none"; |
33 | 33 |
}else{ //user is on search page, ok, get valid count |
34 | 34 |
visibleItemCount.value = itemPerPage; |
35 |
}
|
|
35 |
} |
|
36 | 36 |
</script> |
Také k dispozici: Unified diff
Enhancement #8765: Nastavení přesunout vedle filtrování