diff options
Diffstat (limited to 'static')
| -rw-r--r-- | static/js/ishtar.js | 15 | ||||
| -rw-r--r-- | static/media/style.css | 69 | 
2 files changed, 84 insertions, 0 deletions
diff --git a/static/js/ishtar.js b/static/js/ishtar.js index 131a220c9..7dc1be345 100644 --- a/static/js/ishtar.js +++ b/static/js/ishtar.js @@ -45,3 +45,18 @@ $("#main_menu ul li").live('click', function(){      $(this).find('ul').show('slow');  }); +function load_window(url){ +    $.ajax({ +        url: url, +        cache: false, +        success:function(html){ +            $("#window").html(html); +            $("#window").show('slow'); +        }, +        error:function(XMLHttpRequest, textStatus, errorThrows){ +        } +    }); + + + +} diff --git a/static/media/style.css b/static/media/style.css index 8b2b9576a..f559ac827 100644 --- a/static/media/style.css +++ b/static/media/style.css @@ -233,3 +233,72 @@ table.confirm tr.spacer td:last-child{  .jqgrid{      cursor:pointer;  } + +.ui-jqgrid a{ +    color:red; +    text-decoration:underline; +    color:#D14; +} + +#window{ +    position: absolute; +    top: 50px; +    width:600px; +    background: #FFF; +    z-index: 2000; +    left: 50%; +    margin-left: -300px; +    border: 1px solid #AAA; +    -webkit-box-shadow: 0px 0px 20px #444; +    -moz-box-shadow: 0px 0px 20px #444; +    text-align: left; +    display:none; +} + +#window{ +    width:760px; +    height:90%; +    position: absolute; +    top: 5%; +    background: #FFF; +    z-index: 2000; +    left: 50%; +    margin-left: -380px; +    -webkit-box-shadow: 0px 0px 20px #444; +    -moz-box-shadow: 0px 0px 20px #444; +    text-align: left; +    display:none; +    -moz-border-radius:8px; +    -webkit-border-radius:8px; +    border-radius:8px; +} + +#window .sheet{ +} + + +#window .head{ +    text-align:center; +    background-color:#EEE; +    -webkit-border-top-left-radius: 8px; +    -webkit-border-top-right-radius: 8px; +    -moz-border-radius-topleft: 8px; +    -moz-border-radius-topright: 8px; +    border-top-left-radius: 8px; +    border-top-right-radius: 8px; +} + +#window .body{ +    padding:10px; +} + +#window label{ +    display:inline-table; +    font-weight:bold; +    width:160px; +} + +#window p{ +    margin:0.3em; +} +  | 
