Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Commit

Permalink
Now uses static files. Should be backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristian Øllegaard committed Nov 16, 2011
1 parent ae5dbd5 commit de2cbd1
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Expand Up @@ -2,3 +2,4 @@ include README
include HISTORY include HISTORY
recursive-include divioadmin/templates * recursive-include divioadmin/templates *
recursive-include divioadmin/media * recursive-include divioadmin/media *
recursive-include divioadmin/static *
2 changes: 1 addition & 1 deletion divioadmin/__init__.py
@@ -1 +1 @@
__version__="0.2.0" __version__="0.2.3"
1 change: 0 additions & 1 deletion divioadmin/static

This file was deleted.

7 changes: 7 additions & 0 deletions divioadmin/static/divioadmin/admin.css
@@ -0,0 +1,7 @@
#header,#branding h1,#branding h1 a{height:41px;}
#header{background:#fff url(header.jpg) repeat-x 0px -45px;color:#656565;overflow:hidden;border-bottom:2px solid #DDDDDD;}
#header a:link, #header a:visited{color:#656565;}
#header a:hover{text-decoration:underline;}
#branding h1{margin:0;padding:0;color:#656565;font-size:15px;line-height:40px;text-indent:10px;}
#branding h1 a{display:block;background:url(header.jpg) no-repeat 0px 0px;text-indent:-7777px;width:115px;}
#user-tools{position:absolute;top:0;right:0;padding:1.2em 10px;font-size:11px;text-align:right;}
Binary file added divioadmin/static/divioadmin/header.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -7,7 +7,7 @@
version = __import__(APP_NAME).__version__ version = __import__(APP_NAME).__version__


media_files = [] media_files = []
for dir in ['%s/media' % APP_NAME,'%s/templates' % APP_NAME]: for dir in ['%s/media' % APP_NAME,'%s/templates' % APP_NAME,'%s/static' % APP_NAME]:
for dirpath, dirnames, filenames in os.walk(dir): for dirpath, dirnames, filenames in os.walk(dir):
media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])


Expand Down

0 comments on commit de2cbd1

Please sign in to comment.