Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from aleksandra-tarkowska/feature/static_file_…
…handling Feature/static file handling
- Loading branch information
Showing
723 changed files
with
18,413 additions
and
6,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.template.base import add_to_builtins | ||
|
||
add_to_builtins('omeroweb.common.templatetags.defaulttags') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
from django.db import models | ||
|
||
# Create your models here. |
120 changes: 120 additions & 0 deletions
120
components/tools/OmeroWeb/omeroweb/common/static/common/css/body.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
html { | ||
height: 100%; | ||
} | ||
|
||
body { | ||
background-color: #F3F3F3; | ||
color: #555555; | ||
font-family: Arial,Verdana,Lucida,Helvetica,sans-serif; | ||
font-size: 13px; | ||
height: 100%; | ||
padding: 0px; | ||
margin: 0px; | ||
position: relative; | ||
} | ||
|
||
#content { | ||
position:absolute; | ||
top:102px; | ||
right:0px; | ||
left:0px; | ||
bottom:0px; | ||
background: white; | ||
overflow:auto; | ||
} | ||
|
||
a:hover, a:link, a:visited { | ||
border: medium none; | ||
color: #1B7BC7; | ||
text-decoration: none; | ||
} | ||
|
||
h1 { | ||
font-size: 15px; | ||
text-align: left; | ||
margin: 0; | ||
padding: 10px 0; | ||
} | ||
h2 { | ||
font-size: 13px; | ||
text-align: left; | ||
} | ||
|
||
p { | ||
margin: 0px; | ||
padding: 5px; | ||
} | ||
|
||
img { | ||
border: 0px; | ||
} | ||
|
||
table { | ||
border: 0px; | ||
table-layout: auto; | ||
} | ||
th { | ||
font-weight: bold; | ||
vertical-align:middle; | ||
text-align: left; | ||
} | ||
td { | ||
vertical-align:top; | ||
text-align: left; | ||
} | ||
|
||
form table { | ||
border: 0px; | ||
table-layout: auto; | ||
} | ||
|
||
form td { | ||
padding: 2px; | ||
} | ||
|
||
form th { | ||
border: 0px; | ||
} | ||
|
||
input { | ||
margin: 0; | ||
border: 1px solid #bbb; | ||
background-color: #fff; | ||
} | ||
select { | ||
margin: 0; | ||
background-color: #fff; | ||
border: 1px solid #bbb; | ||
} | ||
textarea { | ||
margin: 0; | ||
background-color: #fff; | ||
border: 1px solid #bbb; | ||
} | ||
|
||
ul.errorlist { | ||
list-style: none; | ||
color: #e3646f; | ||
margin: 0; | ||
padding: 10px 0 0; | ||
text-align: center; | ||
} | ||
ul.errorlist li { | ||
border-style:none; | ||
border-width:0; | ||
} | ||
|
||
|
||
label { | ||
font-weight: bold; | ||
} | ||
|
||
.clear { | ||
clear: both; | ||
width: 0px; | ||
margin: 0px; | ||
padding: 0px; | ||
} | ||
|
||
/* used by the dialog in popup.js */ | ||
.ui-dialog-titlebar { background: gray; color: white } |
86 changes: 86 additions & 0 deletions
86
components/tools/OmeroWeb/omeroweb/common/static/common/css/container.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
img { | ||
border: 0px; | ||
padding: 0px; | ||
margin: 0px; | ||
vertical-align: middle; | ||
} | ||
|
||
table.contentWrapper { | ||
width: 100%; | ||
background: #f3f3f3; | ||
table-layout:fixed; | ||
height:100%; | ||
} | ||
|
||
#left_panel { | ||
background-color: #ffffff; | ||
position:absolute; | ||
left:0px; top:0px; bottom:0px; | ||
width:350px; | ||
overflow: auto; | ||
} | ||
#center_panel { | ||
background-color: #ffffff; | ||
position:absolute; | ||
left:20px; right:20px; top:0px; bottom:0px; | ||
overflow: auto; | ||
} | ||
#right_panel { | ||
background-color: #f3f3f3; | ||
position:absolute; | ||
width:370px; | ||
right:0px; top:0px; bottom:0px; | ||
overflow: auto; | ||
} | ||
|
||
.collapsibletrayhandle-right { | ||
background:#F3F3F3 url(../image/tray_right_shadow.png) repeat-y scroll left top; | ||
} | ||
.collapsibletrayhandle-left { | ||
background:#fff url(../image/tray_left_shadow.png) repeat-y scroll left top; | ||
} | ||
|
||
#trayhandle_left { | ||
position:absolute; top:0px; left:0px; bottom:0px; | ||
width:20px; | ||
} | ||
#trayhandle_right { | ||
position:absolute; | ||
top:0px; right:0px; bottom:0px; | ||
width:20px; | ||
} | ||
#center_container { | ||
position:absolute; | ||
left:350px; right:370px; top:0px; bottom:0px; | ||
} | ||
|
||
#lhid_trayhandle_icon_right { | ||
cursor:pointer; | ||
position:relative; | ||
} | ||
|
||
#lhid_trayhandle_icon_left { | ||
cursor:pointer; | ||
position:relative; | ||
} | ||
|
||
.expanded-left { | ||
background:transparent url(../image/tray_left_button.png) no-repeat scroll; | ||
height:24px; | ||
width:16px; | ||
} | ||
.expanded-right { | ||
background:transparent url(../image/tray_right_button.png) no-repeat scroll; | ||
height:24px; | ||
width:16px; | ||
} | ||
.collapsed-left { | ||
background:transparent url(../image/tray_left_expand_button.png) no-repeat scroll; | ||
height:24px; | ||
width:16px; | ||
} | ||
.collapsed-right { | ||
background:transparent url(../image/tray_right_expand_button.png) no-repeat scroll; | ||
height:24px; | ||
width:16px; | ||
} |
19 changes: 19 additions & 0 deletions
19
components/tools/OmeroWeb/omeroweb/common/static/common/css/footer.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#footer { | ||
background-color: #F3F3F3; | ||
clear: both; | ||
font-size: 11px; | ||
height: 36px; | ||
padding: 10px; | ||
text-align: center; | ||
border-top: 1px solid #BBBBBB; | ||
min-width: 1010px; | ||
position: absolute; | ||
width: 100%; | ||
bottom: 0px; | ||
margin:0px; | ||
padding: 5px 0px; | ||
} | ||
|
||
#content { | ||
bottom: 46px; | ||
} |
56 changes: 56 additions & 0 deletions
56
components/tools/OmeroWeb/omeroweb/common/static/common/css/header.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
#top_header { | ||
background: #fff; | ||
position: relative; | ||
height:75px; | ||
} | ||
|
||
#logo { | ||
background: url(../image/logo.png) no-repeat scroll left bottom transparent; | ||
height: 73px; | ||
left: 25px; | ||
margin: 0; | ||
position: absolute; | ||
top: 0; | ||
width: 160px; | ||
} | ||
|
||
#menu { | ||
position: absolute; | ||
bottom: 0px; | ||
right: 0px; | ||
} | ||
#navigation li { | ||
float:right; | ||
display: block; | ||
margin: 10px; | ||
font-size: 110%; | ||
} | ||
|
||
a:hover { | ||
border: medium none; | ||
color: #1B7BC7; | ||
text-decoration: underline; | ||
} | ||
|
||
#thin_header { | ||
margin: 0; | ||
padding: 4px 0px; | ||
height: 17px; | ||
position: relative; | ||
background: url(../image/header_bg.png) repeat-x scroll left bottom #FFFFFF; | ||
border-bottom: 1px solid #bbb; | ||
} | ||
|
||
#header_right { | ||
margin: 6px 10px; | ||
position: absolute; | ||
right: 0; | ||
top: 0; | ||
} | ||
|
||
#header_left { | ||
margin: 6px 10px; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
} |
File renamed without changes.
Oops, something went wrong.