diff --git a/MANIFEST.in b/MANIFEST.in index 0fa2bac..1e050b4 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,4 @@ include README include HISTORY recursive-include divioadmin/templates * recursive-include divioadmin/media * +recursive-include divioadmin/static * \ No newline at end of file diff --git a/divioadmin/__init__.py b/divioadmin/__init__.py index 0590644..0331fdd 100644 --- a/divioadmin/__init__.py +++ b/divioadmin/__init__.py @@ -1 +1 @@ -__version__="0.2.0" \ No newline at end of file +__version__="0.2.3" \ No newline at end of file diff --git a/divioadmin/static b/divioadmin/static deleted file mode 120000 index c59768b..0000000 --- a/divioadmin/static +++ /dev/null @@ -1 +0,0 @@ -media/ \ No newline at end of file diff --git a/divioadmin/static/divioadmin/admin.css b/divioadmin/static/divioadmin/admin.css new file mode 100644 index 0000000..234ce5e --- /dev/null +++ b/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;} \ No newline at end of file diff --git a/divioadmin/static/divioadmin/header.jpg b/divioadmin/static/divioadmin/header.jpg new file mode 100644 index 0000000..62738de Binary files /dev/null and b/divioadmin/static/divioadmin/header.jpg differ diff --git a/setup.py b/setup.py index 17c5955..331edf5 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ version = __import__(APP_NAME).__version__ 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): media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])