Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
todtmar
phpProjekt
Commits
eafc5d8c
Commit
eafc5d8c
authored
2 years ago
by
wikmart
Browse files
Options
Download
Email Patches
Plain Diff
css added
parent
46e2a6d1
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dashboard.php
+59
-15
dashboard.php
with
59 additions
and
15 deletions
+59
-15
dashboard.php
+
59
-
15
View file @
eafc5d8c
...
...
@@ -60,35 +60,80 @@ if (empty($_SESSION['user'])) {
<head>
<title>
Tabulka s textovým vstupem a tlačítkem odeslat
</title>
<style>
/* obecné styly pro celou stránku */
/* body */
body
{
background-color
:
#F9E2B3
;
font-family
:
Arial
,
sans-serif
;
margin
:
0
;
padding
:
0
;
}
/* table */
table
{
border-collapse
:
collapse
;
width
:
100%
;
margin
:
20px
auto
;
}
td
{
border
:
1px
solid
black
;
padding
:
10px
;
padding
:
20px
;
text-align
:
center
;
background-color
:
#FBD28B
;
flex
:
1
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
}
/* form */
form
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
margin-bottom
:
10px
;
}
label
{
font-weight
:
bold
;
margin-bottom
:
5px
;
}
input
{
width
:
80%
;
padding
:
5px
;
border
:
none
;
border-bottom
:
1px
solid
black
;
box-sizing
:
border-box
;
font-size
:
16px
;
background-color
:
#FFE0B2
;
border-radius
:
5px
;
margin-bottom
:
5px
;
}
button
{
background-color
:
#
4CAF50
;
color
:
white
;
padding
:
8
px
16
px
;
background-color
:
#
FFB74D
;
color
:
#FFF
;
padding
:
5
px
20
px
;
border
:
none
;
border-radius
:
5px
;
cursor
:
pointer
;
font-size
:
16px
;
transition
:
all
0.3s
ease-in-out
;
}
button
:hover
{
background-color
:
#3e8e41
;
background-color
:
#FFA726
;
}
/* messages */
.message
{
font-style
:
italic
;
margin-top
:
10px
;
}
.success
{
color
:
green
;
}
.error
{
color
:
red
;
}
</style>
</head>
...
...
@@ -301,10 +346,9 @@ if (empty($_SESSION['user'])) {
</body>
<h1>
Vítej, uživateli
<?=
$_SESSION
[
'user'
]
?>
</h1>
<button><a
href=
"logout.php"
>
Odhlásit se
</a></button>
<a
href=
"logout.php"
>
Odhlásit se
</a>
<a
href=
""
></a>
</html>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets