Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
65478771
Commit
65478771
authored
Mar 06, 2017
by
Zamil Majdy
Browse files
#140382397 #4 Move static files to assets
parent
dfa27da5
Changes
7
Hide whitespace changes
Inline
Side-by-side
core/static
/css/bootstrap.min.css
→
assets
/css/bootstrap.min.css
View file @
65478771
File moved
core/static
/css/custom.css
→
assets
/css/custom.css
View file @
65478771
File moved
core/static
/img/favicon.ico
→
assets
/img/favicon.ico
View file @
65478771
File moved
core/static
/img/logo-sm.png
→
assets
/img/logo-sm.png
View file @
65478771
File moved
core/static
/img/logo.png
→
assets
/img/logo.png
View file @
65478771
File moved
assets/js/dashboard.jsx
View file @
65478771
...
...
@@ -10,7 +10,7 @@ export class TopMenu extends React.Component {
return
(
<
Menu
pointing
secondary
>
<
Image
as
=
'a'
size
=
'small'
src
=
'/
static
/img/logo.png'
href
=
'/'
/>
<
Image
as
=
'a'
size
=
'small'
src
=
'/
assets
/img/logo.png'
href
=
'/'
/>
<
Menu
.
Menu
position
=
'right'
>
<
Menu
.
Item
as
=
{
Link
}
to
=
"/"
name
=
'home'
/>
<
Menu
.
Item
as
=
{
Link
}
to
=
"/profile"
name
=
'profil'
/>
...
...
kape/settings.py
View file @
65478771
...
...
@@ -118,7 +118,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/
STATIC_URL
=
'/
static
/'
STATIC_URL
=
'/
assets
/'
REST_FRAMEWORK
=
{
# Use Django's standard `django.contrib.auth` permissions,
...
...
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