Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AE UTBM
Sith
Commits
b11c5bbd
Commit
b11c5bbd
authored
Sep 20, 2016
by
Krophil
Browse files
Merging
parent
4ee858c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/static/core/style.css
View file @
b11c5bbd
...
...
@@ -19,15 +19,17 @@ header {
display
:
block
;
position
:
absolute
;
top
:
0px
;
right
:
8
%
;
right
:
2
%
;
background-color
:
#DDD
;
margin
:
0
10px
;
padding
:
0
10px
;
border-radius
:
0
0
10px
10px
;
}
header
ul
{
display
:
inline-block
;
list-style-type
:
none
;
margin
:
0px
;
padding-right
:
3px
;
vertical-align
:
middle
;
}
header
a
{
...
...
@@ -51,10 +53,17 @@ header form {
}
#language_chooser
{
position
:
absolute
;
text-align
:
center
;
left
:
5px
;
top
:
5px
;
}
#language_chooser
input
{
margin
:
2px
;
width
:
3em
;
height
:
2em
;
}
/*---------------------------------NAV---------------------------------*/
nav
{
display
:
block
;
...
...
@@ -73,7 +82,7 @@ nav a {
padding
:
20px
;
}
nav
a
:hover
{
background
:
purple
;
background
:
#535353
;
color
:
white
;
}
...
...
@@ -147,7 +156,8 @@ table {
}
td
{
padding
:
4px
;
border
:
solid
1px
black
;
margin
:
5px
;
border
:
solid
1px
darkgrey
;
border-collapse
:
collapse
;
vertical-align
:
top
;
overflow
:
hidden
;
...
...
@@ -163,10 +173,8 @@ tbody>tr:nth-child(even) {
background
:
lightgrey
;
}
tbody
>
tr
:hover
{
background
:
yellow
;
}
tbody
>
tr
.highlight
{
background
:
orange
;
background
:
darkgrey
;
width
:
100%
;
}
.tool-bar
{
overflow
:
auto
;
...
...
core/templates/core/base.jinja
View file @
b11c5bbd
...
...
@@ -19,7 +19,7 @@
alt=
"
{%
trans
%}
Logo
{%
endtrans
%}
"
/></a></div>
<header>
{%
if
not
user.is_authenticated
()
%}
<a
href=
"
{{
url
(
'core:login'
)
}}
"
>
{%
trans
%}
Login
{%
endtrans
%}
</a>
|
<a
href=
"
{{
url
(
'core:login'
)
}}
"
>
{%
trans
%}
Login
{%
endtrans
%}
</a>
<a
href=
"
{{
url
(
'core:register'
)
}}
"
>
{%
trans
%}
Register
{%
endtrans
%}
</a>
{%
else
%}
<ul>
...
...
@@ -36,8 +36,8 @@
</li>
{%
endfor
%}
</ul>
<a
href=
"
{{
url
(
'core:user_profile'
,
user_id
=
user.id
)
}}
"
>
{{
user.get_display_name
()
}}
</a>
|
<a
href=
"
{{
url
(
'core:user_tools'
)
}}
"
>
{%
trans
%}
Tools
{%
endtrans
%}
</a>
|
<a
href=
"
{{
url
(
'core:user_profile'
,
user_id
=
user.id
)
}}
"
>
{{
user.get_display_name
()
}}
</a>
<a
href=
"
{{
url
(
'core:user_tools'
)
}}
"
>
{%
trans
%}
Tools
{%
endtrans
%}
</a>
<a
href=
"
{{
url
(
'core:logout'
)
}}
"
>
{%
trans
%}
Logout
{%
endtrans
%}
</a>
<form
action=
"
{{
url
(
'core:search'
)
}}
"
method=
"GET"
>
<input
type=
"text"
placeholder=
"
{%
trans
%}
Search
{%
endtrans
%}
"
name=
"query"
id=
"search"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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