This website works better with JavaScript.
Home
Help
Register
Sign In
alpcentaur
/
foerderbarometer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
5
Wiki
Activity
Browse Source
now the | in datefield is also hidden via css
master
Benni Bärmann
1 year ago
parent
0b044692d6
commit
3d591a39f7
2 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
input/forms.py
+9
-0
input/static/css/dateFieldNoNowShortcutInTravels.css
+ 1
- 1
input/forms.py
View File
@ -82,7 +82,7 @@ class TravelForm(FdbForm):
class
Media
:
css
=
{
'
all
'
:
(
'
admin/
css/dateFieldNoNowShortcutInTravels.css
'
,
)
'
all
'
:
(
'
css/dateFieldNoNowShortcutInTravels.css
'
,
)
}
+ 9
- 0
input/static/css/dateFieldNoNowShortcutInTravels.css
View File
@ -1,5 +1,14 @@
/
*
span
.
datetimeshortcuts
>
a
:
first-child
{
visibility
:
hidden
;
}
*
/
span
.
datetimeshortcuts
{
visibility
:
hidden
;
}
span
.
datetimeshortcuts
>
a
:
nth-child
(
2
)
{
visibility
:
visible
;
}
Write
Preview
Loading…
Cancel
Save