Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Header image
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilican committed Oct 25, 2017
1 parent e895530 commit 7a802bb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/sys.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
<div id="sys" class="tab-pane fade">
<div class="row col-md-12">
<div class="panel panel-default">
<div class="panel-heading">WebSys v1.0 Ares <span class="label label-warning">beta verze</span></div>
<div class="panel-heading">WebSys v1.01 Ares <span class="label label-warning">beta verze</span></div>
<div class="panel-body">
<p>Vytvořil Matyáš Koc</p>
<p>Systém je povoleno využívat jen v souladu s <a href="https://websys.sufix.cz/index.php?p=lic">aktivní licencí</a></p>
Expand Down
4 changes: 4 additions & 0 deletions template/css/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -5246,4 +5246,8 @@ th, td {
max-width: 128px;
max-height: 128px;
border: 1px solid black
}
.header-image {
min-width: 100%;
max-height: 100px;
}
2 changes: 1 addition & 1 deletion template/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="navbar" role="navigation">
<div class="header">
<noscript><div class="alert alert-danger txt-center"><strong>Nemáte zapnutý JavaScript. Aby stránky správně fungovaly, musíte si ho zapnout. <a href="http://www.enable-javascript.com/cz/" target="_blank" rel="noopener">Návod k zapnutí >></a></strong></div></noscript>
<h1 class="container"><?php echo $sys["title"]; ?></h1>
<?php if (!file_exists("template/img/header.png")) { echo '<h1 class="container">'. $sys["title"] . '</h1>'; } else { echo '<img class="header-image" src="template/img/header.png" alt="'. $sys["title"] .'">'; } ?>
</div>
<div class="container navb">
<div class="navbar-header">
Expand Down

0 comments on commit 7a802bb

Please sign in to comment.