Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 5071

Show
Ignore:
Timestamp:
09/08/06 12:11:33 (2 years ago)
Author:
madrobby
Message:

Updated CSS and generator to more Railsy layout and colors, borrowed from Tom Werners

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/javascript_test/assets/unittest.css

    r5058 r5071  
    1 body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, li { 
    2   font-family: sans-serif; 
    3 
     1body {  
     2  margin-top: 0;  
     3  padding: 0;  
     4  background-color: #f0f0f0;  
     5  font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana", sans-serif;  
     6  font-size: 13px;  
     7  color: #333;  
     8}  
    49 
    5 body { 
    6   font-size:0.8em; 
     10#content {  
     11  margin: 0 auto;  
     12  background-color: white;  
     13  border: 3px solid #aaa;  
     14  border-top: none;  
     15  padding: 25px;  
     16  width: 700px;  
     17}  
     18 
     19#header {  
     20  height: 64px;  
     21}  
     22 
     23#header h1 {  
     24  margin: 0;  
     25  font-size: 28px;  
     26  color: #800;  
     27}  
     28 
     29#header h2 {  
     30  margin: 0;  
     31  color: #888;  
     32  font-weight: normal;  
     33  font-size: 16px;  
     34}  
     35 
     36ul {  
     37  padding: 0;  
     38  margin: .5em 0 0 1.25em;  
     39}  
     40 
     41li {  
     42  padding: .25em 0;  
     43  line-height: 1.5em;  
    744} 
    845 
     
    2158 
    2259#logtable { 
    23   width:100%; 
     60  width: 100%; 
    2461  border-collapse: collapse; 
    2562  border: 1px dotted #666; 
     
    3976  background-color: #fcc; 
    4077} 
     78 
     79#footer {  
     80  margin: 0 auto;  
     81  width: 700px;  
     82  text-align: center;  
     83  color: #aaa;  
     84} 
  • plugins/javascript_test/CHANGELOG

    r5060 r5071  
    11*SVN* 
    22 
     3* Updated CSS and generator to more Railsy layout and colors, borrowed from Tom Werners' #6036 default error pages patch 
     4 
    35* Add more info to README, add this CHANGELOG 
  • plugins/javascript_test/generators/javascript_test/templates/javascript_test.html

    r5059 r5071  
    1313</head> 
    1414<body> 
    15 <h1>JavaScript unit test file</h1> 
    16 <p> 
    17   This file tests <strong><%= name %>.js</strong>. 
    18 </p> 
    1915 
    20 <!-- Log output --> 
    21 <div id="testlog"> </div> 
     16<div id="content"> 
     17 
     18  <div id="header"> 
     19    <h1>JavaScript unit test file</h1> 
     20    <p> 
     21      This file tests <strong><%= name %>.js</strong>. 
     22    </p> 
     23  </div> 
     24 
     25  <!-- Log output --> 
     26  <div id="testlog"> </div> 
     27 
     28</div> 
    2229 
    2330<script type="text/javascript">