Skip to content

Instantly share code, notes, and snippets.

@erichocean
Created August 25, 2008 03:14
Show Gist options
  • Save erichocean/7027 to your computer and use it in GitHub Desktop.
Save erichocean/7027 to your computer and use it in GitHub Desktop.
body {
position: absolute ;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
padding: 0px;
margin: 0px;
overflow: hidden ;
}
#workspace {
position: absolute ;
left: 0px;
right: 0px;
top: 100px;
bottom: 100px;
padding: 0px;
margin: 0px;
overflow: hidden ;
}
#sidebar {
position: absolute;
top: 0px;
width: 200px;
bottom: 0px;
left: 0px;
padding: 0px;
margin: 0px;
border: none;
}
#divider {
position: absolute;
top: 0px;
width: 9px;
bottom: 0px;
left: 200px;
padding: 0px;
margin: 0px;
border-top: none;
border-right: 1px solid gray;
border-bottom: none;
border-left: 1px solid gray;
}
#test {
position: absolute;
top: 0px;
right: 0px;
bottom: 0px;
left: 211px;
padding: 0px;
margin: 0px;
border: none;
}
.test {
background-color: #aaa;
}
#test_list {
position:absolute;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
border: none ;
}
#test_iframe {
width: 100%;
height: 100%;
border: none;
margin: 0px;
padding: 0px;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body class="sc-theme focus">
<div id="workspace" class="sc-app-workspace header footer sc-split-view horizontal thick workspace">
<div id="sidebar" class="sc-scroll-view sidebar">
<div id="test_list" class="sc-collection-view sc-source-list-view test_list"></div>
</div>
<div id="divider" class="sc-split-divider-view divider"></div>
<div id="test" class="test">
<iframe id="test_iframe" class="test_iframe"></iframe>
</div>
</div><!-- Resources to be removed from DOM on page load -->
<div id="resources" style="display:none; visibility: hidden;">
<div id="no_tests_panel" class="no_tests_panel" style="width: 400px;">
<h1>
Client Has No Tests
</h1>
<p style="font-size: 15px;">
This client does not currently have any unit tests. To add a unit test, open a terminal to the root directly and type:
</p>
<p style="font-size: 15px; text-align:center;">
<code>./script/generate sc_test /<b>test_name</b></code>
</p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment