Colour Schemes

From Jason Blevins:
Added blue, brown, scarlet red, and plum color options.
This commit is contained in:
Jacques Distler 2009-03-29 21:24:27 -05:00
parent d425a70fad
commit 7c0874bf4c

View file

@ -33,8 +33,17 @@
<label for="color">Color:</label> <label for="color">Color:</label>
<select id="color" name="color"> <select id="color" name="color">
<%= html_options({ 'Green' => '008B26', 'Purple' => '504685', 'Red' => 'DA0006', <%= html_options({
'Orange' => 'C50', 'Grey' => '8BA2B0' }, @web.color) %> 'Green' => '008B26',
'Purple' => '504685',
'Red' => 'DA0006',
'Orange' => 'C50',
'Grey' => '8BA2B0',
'Blue' => '204A87',
'Brown' => '8F5902',
'Scarlet Red' => 'AA0006',
'Plum' => '5C3566'
}, @web.color) %>
</select> </select>
<p> <p>
<input type="checkbox" class="disableAutoComplete" id="safe_mode" name="safe_mode" <%= 'checked="checked"' if @web.safe_mode? %> /> <input type="checkbox" class="disableAutoComplete" id="safe_mode" name="safe_mode" <%= 'checked="checked"' if @web.safe_mode? %> />