Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Reorganize assets to serve through Rails' asset pipeline

  • Loading branch information...
commit a30dea319479950a31a620fd0f656387133ff830 1 parent 75bfa5e
Gabriel Evans authored
Showing with 107 additions and 7,501 deletions.
  1. +4 −0 Gemfile
  2. +8 −0 Gemfile.lock
  3. 0  {public → app/assets}/images/admin/flash_bg.gif
  4. 0  {public → app/assets}/images/admin/future_bg.png
  5. 0  {public → app/assets}/images/admin/gray_bg.gif
  6. 0  {public → app/assets}/images/admin/new_button.png
  7. 0  {public → app/assets}/images/admin/silver_bg.gif
  8. 0  {public → app/assets}/images/admin/submit_bg.gif
  9. 0  {public → app/assets}/images/admin/subnav_bg.gif
  10. 0  {public → app/assets}/images/openid_icon.png
  11. 0  {public → app/assets}/images/rails.png
  12. 0  {public → app/assets}/images/silk/arrow_undo.png
  13. 0  {public → app/assets}/images/silk/delete.png
  14. 0  {public → app/assets}/images/silk/pencil.png
  15. +19 −0 app/assets/javascripts/admin.js
  16. 0  {public → app/assets}/javascripts/admin/actions.js
  17. +3 −0  app/assets/javascripts/admin/comments.js
  18. 0  {public → app/assets}/javascripts/admin/common.js
  19. 0  {public → app/assets}/javascripts/admin/dashboard.js
  20. 0  {public → app/assets}/javascripts/admin/edit-preview.js
  21. 0  {public → app/assets}/javascripts/admin/pages.js
  22. 0  {public → app/assets}/javascripts/admin/posts.js
  23. 0  {public → app/assets}/javascripts/admin/shortcut.js
  24. +17 −0 app/assets/javascripts/application.js
  25. 0  {public → app/assets}/javascripts/common.js
  26. 0  {public → app/assets}/javascripts/live-comment-preview.js
  27. +15 −0 {public → app/assets}/stylesheets/admin.css
  28. +37 −24 public/stylesheets/application.css → app/assets/stylesheets/application.css.scss
  29. 0  {public → app/assets}/stylesheets/humanmsg.css
  30. 0  {public → app/assets}/stylesheets/login.css
  31. +0 −5 app/views/admin/comments/index.html.erb
  32. +0 −6 app/views/admin/dashboard/show.html.erb
  33. +0 −4 app/views/admin/pages/_form.html.erb
  34. +0 −4 app/views/admin/pages/index.html.erb
  35. +0 −4 app/views/admin/posts/index.html.erb
  36. +0 −4 app/views/admin/undo_items/index.html.erb
  37. +1 −10 app/views/layouts/admin.html.erb
  38. +1 −2  app/views/layouts/application.html.erb
  39. +0 −4 app/views/posts/show.html.erb
  40. +1 −1  config/environments/production.rb
  41. +1 −1  config/routes.rb
  42. +0 −1  public/javascripts/admin/comments.js
  43. 0  public/javascripts/application.js
  44. +0 −7,179 public/javascripts/jquery.js
  45. +0 −160 public/javascripts/rails.js
  46. +0 −92 public/stylesheets/formtastic.css
  47. 0  {public → vendor/assets}/javascripts/humanmsg.js
  48. 0  {public → vendor/assets}/javascripts/jquery.easing.1.3.js
  49. 0  {public → vendor/assets}/javascripts/jquery.form.js
  50. 0  {public → vendor/assets}/javascripts/jquery.jfeed.js
  51. 0  {public → vendor/assets}/javascripts/jquery.livequery.js
View
4 Gemfile
@@ -10,6 +10,8 @@ gem 'rails', '3.2.0.rc2'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
+
+ gem 'uglifier', '>= 1.0.3'
end
platforms :ruby do
@@ -22,6 +24,8 @@ platforms :jruby do
gem 'jruby-openssl'
end
+gem 'jquery-rails'
+
# Use unicorn as the web server
# gem 'unicorn'
View
8 Gemfile.lock
@@ -89,6 +89,9 @@ GEM
i18n (0.6.0)
jdbc-sqlite3 (3.7.2)
journey (1.0.0)
+ jquery-rails (2.0.0)
+ railties (>= 3.2.0.beta, < 5.0)
+ thor (~> 0.14)
jruby-openssl (0.7.4)
bouncy-castle-java
jruby-rack (1.1.3)
@@ -182,6 +185,9 @@ GEM
trinidad_jars (>= 1.0.1)
trinidad_jars (1.0.2)
tzinfo (0.3.31)
+ uglifier (1.2.2)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
will_paginate (3.0.2)
xpath (0.1.4)
nokogiri (~> 1.3)
@@ -201,6 +207,7 @@ DEPENDENCIES
database_cleaner
factory_girl
formtastic
+ jquery-rails
jruby-openssl
lesstile
nokogiri (~> 1.5.0)
@@ -212,4 +219,5 @@ DEPENDENCIES
sass-rails (~> 3.2.3)
sqlite3-ruby
trinidad
+ uglifier (>= 1.0.3)
will_paginate (~> 3.0.2)
View
0  public/images/admin/flash_bg.gif → app/assets/images/admin/flash_bg.gif
File renamed without changes
View
0  public/images/admin/future_bg.png → app/assets/images/admin/future_bg.png
File renamed without changes
View
0  public/images/admin/gray_bg.gif → app/assets/images/admin/gray_bg.gif
File renamed without changes
View
0  public/images/admin/new_button.png → app/assets/images/admin/new_button.png
File renamed without changes
View
0  public/images/admin/silver_bg.gif → app/assets/images/admin/silver_bg.gif
File renamed without changes
View
0  public/images/admin/submit_bg.gif → app/assets/images/admin/submit_bg.gif
File renamed without changes
View
0  public/images/admin/subnav_bg.gif → app/assets/images/admin/subnav_bg.gif
File renamed without changes
View
0  public/images/openid_icon.png → app/assets/images/openid_icon.png
File renamed without changes
View
0  public/images/rails.png → app/assets/images/rails.png
File renamed without changes
View
0  public/images/silk/arrow_undo.png → app/assets/images/silk/arrow_undo.png
File renamed without changes
View
0  public/images/silk/delete.png → app/assets/images/silk/delete.png
File renamed without changes
View
0  public/images/silk/pencil.png → app/assets/images/silk/pencil.png
File renamed without changes
View
19 app/assets/javascripts/admin.js
@@ -0,0 +1,19 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// the compiled file.
+//
+// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
+// GO AFTER THE REQUIRES BELOW.
+//
+//= require jquery
+//= require jquery_ujs
+//= require jquery.livequery
+//= require jquery.form
+//= require jquery.easing.1.3
+//= require humanmsg
+//= require_tree ./admin
View
0  public/javascripts/admin/actions.js → app/assets/javascripts/admin/actions.js
File renamed without changes
View
3  app/assets/javascripts/admin/comments.js
@@ -0,0 +1,3 @@
+$(document).ready(function() {
+ destroyAndUndoBehaviour('comments')
+}); // Defined in admin/common.js
View
0  public/javascripts/admin/common.js → app/assets/javascripts/admin/common.js
File renamed without changes
View
0  public/javascripts/admin/dashboard.js → app/assets/javascripts/admin/dashboard.js
File renamed without changes
View
0  public/javascripts/admin/edit-preview.js → app/assets/javascripts/admin/edit-preview.js
File renamed without changes
View
0  public/javascripts/admin/pages.js → app/assets/javascripts/admin/pages.js
File renamed without changes
View
0  public/javascripts/admin/posts.js → app/assets/javascripts/admin/posts.js
File renamed without changes
View
0  public/javascripts/admin/shortcut.js → app/assets/javascripts/admin/shortcut.js
File renamed without changes
View
17 app/assets/javascripts/application.js
@@ -0,0 +1,17 @@
+// This is a manifest file that'll be compiled into application.js, which will include all the files
+// listed below.
+//
+// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
+// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
+//
+// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
+// the compiled file.
+//
+// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
+// GO AFTER THE REQUIRES BELOW.
+//
+//= require jquery
+//= require jquery_ujs
+//= require common
+//= require live-comment-preview
+//= require_self
View
0  public/javascripts/common.js → app/assets/javascripts/common.js
File renamed without changes
View
0  public/javascripts/live-comment-preview.js → ...ssets/javascripts/live-comment-preview.js
File renamed without changes
View
15 public/stylesheets/admin.css → app/assets/stylesheets/admin.css
@@ -1,3 +1,18 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
+ * compiled file, but it's generally better to create a new file per style scope.
+ *
+ *= require_self
+ *= require formtastic
+ *= require humanmsg
+ */
+
#nav {
position: absolute;
width: 100%;
View
61 public/stylesheets/application.css → app/assets/stylesheets/application.css.scss
@@ -1,8 +1,21 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
+ * compiled file, but it's generally better to create a new file per style scope.
+ *
+ *= require_self
+ */
+
/* High level containers */
-body
-{
+body
+{
color: black;
-
+
font: normal 12px verdana, arial, helvetica, sans-serif;
line-height: 1.5;
padding: 0px;
@@ -13,7 +26,7 @@ body
{
position: absolute;
min-height: 400px;
-
+
color: black;
width: 100%;
}
@@ -57,7 +70,7 @@ h2 a, h3, h4, h5
}
/* Text */
-p
+p
{
padding: 0px;
margin-top: 0.5em;
@@ -73,19 +86,19 @@ strong
/* Links */
.openid
{
- background-image: url("/images/openid_icon.png");
+ background-image: image-url("openid_icon.png");
padding-left: 15px;
background-repeat: no-repeat;
background-position: 0px 2px;
}
-a
+a
{
color: #000051;
-
- text-decoration: none;
+
+ text-decoration: none;
}
-
+
small a, label a
{
text-decoration: underline;
@@ -93,9 +106,9 @@ small a, label a
a:hover
{
- text-decoration: underline;
+ text-decoration: underline;
}
-
+
#footer a
{
color: gray;
@@ -108,11 +121,11 @@ img
}
/* Two columns */
-#navigation
+#navigation
{
position: absolute;
width: 15em;
- top: -1px;
+ top: -1px;
right: -1px;
border: none;
@@ -134,12 +147,12 @@ img
#navigation ul
{
padding-left: 10px;
-
+
margin-left: 0px;
margin-top: 0px;
list-style: none;
}
-
+
#navigation ul li
{
padding-left: 0px;
@@ -165,7 +178,7 @@ img
margin-bottom: 1em;
}
-#main
+#main
{
padding-right: 150px;
padding-left: 0px;
@@ -176,9 +189,9 @@ img
div.meta
{
margin-top: 1em;
- margin-bottom: 3em;
+ margin-bottom: 3em;
}
-/* Formatting */
+/* Formatting */
.meta ul
{
@@ -210,7 +223,7 @@ div.meta
{
display: inline;
}
-
+
.meta ul li:after
{
content: " | ";
@@ -226,7 +239,7 @@ h2
margin-bottom: 0px;
}
-.separator
+.separator
{
height: 1px;
margin-top:5px;
@@ -264,7 +277,7 @@ textarea
background-color: #fafafa;
}
-div.date
+div.date
{
color: #999;
font-size: .8em;
@@ -280,7 +293,7 @@ div.comments div.meta
min-height: 0px;
padding: 0px;
}
-
+
div.comments div.separator
{
height: 10px;
@@ -309,7 +322,7 @@ span.error
{
font-weight: bold;
}
-
+
hr
{
border-top: dotted 1px black;
View
0  public/stylesheets/humanmsg.css → app/assets/stylesheets/humanmsg.css
File renamed without changes
View
0  public/stylesheets/login.css → app/assets/stylesheets/login.css
File renamed without changes
View
5 app/views/admin/comments/index.html.erb
@@ -1,8 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag('jquery.form.js') %>
- <%= javascript_include_tag('admin/comments.js') %>
-<% end -%>
-
<h1>Comments</h1>
<table>
<thead>
View
6 app/views/admin/dashboard/show.html.erb
@@ -1,9 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag 'jquery.jfeed.js' %>
- <%= javascript_include_tag 'common' %>
- <%= javascript_include_tag 'admin/dashboard' %>
-<% end -%>
-
<div id="summary">
<h1><%= link_to(enki_config[:title], '/') %></h1>
<p class="stats"><%= pluralize(@stats.post_count, 'post') %>, <%= pluralize(@stats.comment_count, 'comment') %>, <%= pluralize(@stats.tag_count, 'tag') %></p>
View
4 app/views/admin/pages/_form.html.erb
@@ -1,7 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag 'admin/edit-preview' %>
-<% end -%>
-
<%= form.inputs do -%>
<%= form.input :title %>
<%= form.input :slug, :hint => "Leave blank for an auto-generated slug based on the title." %>
View
4 app/views/admin/pages/index.html.erb
@@ -1,7 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag('admin/pages.js') %>
-<% end -%>
-
<h1>Your pages</h1>
<table>
View
4 app/views/admin/posts/index.html.erb
@@ -1,7 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag('admin/posts.js') %>
-<% end -%>
-
<h1>Your posts</h1>
<table>
<thead>
View
4 app/views/admin/undo_items/index.html.erb
@@ -1,7 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag('admin/actions.js') %>
-<% end -%>
-
<h1>Recent actions</h1>
<table>
<thead>
View
11 app/views/layouts/admin.html.erb
@@ -7,17 +7,8 @@
<%= csrf_meta_tag %>
- <%= javascript_include_tag 'jquery.js' %>
- <%= javascript_include_tag 'jquery.livequery.js' %>
- <%= javascript_include_tag 'jquery.form.js' %>
- <%= javascript_include_tag 'jquery.easing.1.3.js' %>
- <%= javascript_include_tag 'rails.js' %>
- <%= javascript_include_tag 'humanmsg' %>
- <%= javascript_include_tag 'admin/shortcut' %>
- <%= javascript_include_tag 'admin/common' %>
+ <%= javascript_include_tag 'admin' %>
- <%= stylesheet_link_tag 'formtastic' %>
- <%= stylesheet_link_tag 'humanmsg' %>
<%= stylesheet_link_tag 'admin' %>
<%= yield(:head) %>
View
3  app/views/layouts/application.html.erb
@@ -5,8 +5,7 @@
<title><%= html_title yield(:page_title) %></title>
<%= csrf_meta_tag %>
<%= stylesheet_link_tag 'application' %>
- <%= javascript_include_tag 'jquery' %>
- <%= javascript_include_tag 'rails' %>
+ <%= javascript_include_tag 'application' %>
<%= open_id_delegation_link_tags(enki_config[:open_id_delegation, :server], enki_config[:open_id_delegation, :delegate]) if enki_config[:open_id_delegation] %>
<%= yield(:head) %>
</head>
View
4 app/views/posts/show.html.erb
@@ -1,7 +1,3 @@
-<% content_for(:head) do -%>
- <%= javascript_include_tag 'common' %>
- <%= javascript_include_tag 'live-comment-preview' %>
-<% end -%>
<% content_for(:page_title) do -%>
<%= post_title(@post) -%>
<% end -%>
View
2  config/environments/production.rb
@@ -46,7 +46,7 @@
# config.action_controller.asset_host = "http://assets.example.com"
# Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
- # config.assets.precompile += %w( search.js )
+ config.assets.precompile += %w( admin.css admin.js login.css )
# Disable delivery errors, bad email addresses will be ignored
# config.action_mailer.raise_delivery_errors = false
View
2  config/routes.rb
@@ -1,5 +1,5 @@
Enki::Application.routes.draw do
- namespace 'admin' do
+ namespace :admin do
resource :session
resources :posts, :pages do
View
1  public/javascripts/admin/comments.js
@@ -1 +0,0 @@
-$(document).ready(destroyAndUndoBehaviour('comments')); // Defined in admin/common.js
View
0  public/javascripts/application.js
No changes.
View
7,179 public/javascripts/jquery.js
0 additions, 7,179 deletions not shown
View
160 public/javascripts/rails.js
@@ -1,160 +0,0 @@
-/*
- * jquery-ujs
- *
- * http://github.com/rails/jquery-ujs/blob/master/src/rails.js
- *
- * This rails.js file supports jQuery 1.4.3 and 1.4.4 .
- *
- */
-
-jQuery(function ($) {
- var csrf_token = $('meta[name=csrf-token]').attr('content'),
- csrf_param = $('meta[name=csrf-param]').attr('content');
-
- $.fn.extend({
- /**
- * Triggers a custom event on an element and returns the event result
- * this is used to get around not being able to ensure callbacks are placed
- * at the end of the chain.
- *
- * TODO: deprecate with jQuery 1.4.2 release, in favor of subscribing to our
- * own events and placing ourselves at the end of the chain.
- */
- triggerAndReturn: function (name, data) {
- var event = new $.Event(name);
- this.trigger(event, data);
-
- return event.result !== false;
- },
-
- /**
- * Handles execution of remote calls. Provides following callbacks:
- *
- * - ajax:beforeSend - is executed before firing ajax call
- * - ajax:success - is executed when status is success
- * - ajax:complete - is executed when the request finishes, whether in failure or success.
- * - ajax:error - is execute in case of error
- */
- callRemote: function () {
- var el = this,
- method = el.attr('method') || el.attr('data-method') || 'GET',
- url = el.attr('action') || el.attr('href'),
- dataType = el.attr('data-type') || ($.ajaxSettings && $.ajaxSettings.dataType);
-
- if (url === undefined) {
- throw "No URL specified for remote call (action or href must be present).";
- } else {
- var $this = $(this), data = el.is('form') ? el.serializeArray() : [];
-
- $.ajax({
- url: url,
- data: data,
- dataType: dataType,
- type: method.toUpperCase(),
- beforeSend: function (xhr) {
- xhr.setRequestHeader("Accept", "text/javascript");
- if ($this.triggerHandler('ajax:beforeSend') === false) {
- return false;
- }
- },
- success: function (data, status, xhr) {
- el.trigger('ajax:success', [data, status, xhr]);
- },
- complete: function (xhr) {
- el.trigger('ajax:complete', xhr);
- },
- error: function (xhr, status, error) {
- el.trigger('ajax:error', [xhr, status, error]);
- }
- });
- }
- }
- });
-
- /**
- * confirmation handler
- */
-
- $('body').delegate('a[data-confirm], button[data-confirm], input[data-confirm]', 'click.rails', function () {
- var el = $(this);
- if (el.triggerAndReturn('confirm')) {
- if (!confirm(el.attr('data-confirm'))) {
- return false;
- }
- }
- });
-
-
-
- /**
- * remote handlers
- */
- $('form[data-remote]').live('submit.rails', function (e) {
- $(this).callRemote();
- e.preventDefault();
- });
-
- $('a[data-remote],input[data-remote]').live('click.rails', function (e) {
- $(this).callRemote();
- e.preventDefault();
- });
-
- /**
- * <%= link_to "Delete", user_path(@user), :method => :delete, :confirm => "Are you sure?" %>
- *
- * <a href="/users/5" data-confirm="Are you sure?" data-method="delete" rel="nofollow">Delete</a>
- */
- $('a[data-method]:not([data-remote])').live('click.rails', function (e){
- var link = $(this),
- href = link.attr('href'),
- method = link.attr('data-method'),
- form = $('<form method="post" action="'+href+'"></form>'),
- metadata_input = '<input name="_method" value="'+method+'" type="hidden" />';
-
- if (csrf_param !== undefined && csrf_token !== undefined) {
- metadata_input += '<input name="'+csrf_param+'" value="'+csrf_token+'" type="hidden" />';
- }
-
- form.hide()
- .append(metadata_input)
- .appendTo('body');
-
- e.preventDefault();
- form.submit();
- });
-
- /**
- * disable-with handlers
- */
- var disable_with_input_selector = 'input[data-disable-with]',
- disable_with_form_remote_selector = 'form[data-remote]:has(' + disable_with_input_selector + ')',
- disable_with_form_not_remote_selector = 'form:not([data-remote]):has(' + disable_with_input_selector + ')';
-
- var disable_with_input_function = function () {
- $(this).find(disable_with_input_selector).each(function () {
- var input = $(this);
- input.data('enable-with', input.val())
- .attr('value', input.attr('data-disable-with'))
- .attr('disabled', 'disabled');
- });
- };
-
- $(disable_with_form_remote_selector).live('ajax:before.rails', disable_with_input_function);
- $(disable_with_form_not_remote_selector).live('submit.rails', disable_with_input_function);
-
- $(disable_with_form_remote_selector).live('ajax:complete.rails', function () {
- $(this).find(disable_with_input_selector).each(function () {
- var input = $(this);
- input.removeAttr('disabled')
- .val(input.data('enable-with'));
- });
- });
-
- var jqueryVersion = $().jquery;
-
- if (!( (jqueryVersion === '1.4.3') || (jqueryVersion === '1.4.4'))){
- alert('This rails.js does not support the jQuery version you are using. Please read documentation.');
- }
-
-
-});
View
92 public/stylesheets/formtastic.css
@@ -1,92 +0,0 @@
-body { font-family:verdana; font-size:11px; }
-
-div.fieldWithErrors { display:inline; }
-
-
-/* FIELDSETS & LISTS
---------------------------------------------------------------------------------------------------*/
-
-form fieldset { }
-form fieldset.inputs { background:#eee; }
-form fieldset.buttons { background:#aaa; padding:10px; }
-form fieldset ol { }
-
-/* clearfixing the fieldsets */
-form fieldset { display: inline-block; }
-form fieldset:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-html[xmlns] form fieldset { display: block; }
-* html form fieldset { height: 1%; }
-
-
-/* INPUT LIs
---------------------------------------------------------------------------------------------------*/
-
-form fieldset ol li { border-bottom:1px solid #ccc; padding:10px; }*/
-
-/* clearfixing the li's */
-form fieldset ol li { display: inline-block; }
-form fieldset ol li:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-html[xmlns] form fieldset ol li { display: block; }
-* html form fieldset ol li { height: 1%; }
-
-form fieldset ol li.required { /*background:#99ccff;*/ }
-form fieldset ol li.optional { }
-form fieldset ol li.error { background:pink; }
-
-
-/* LABELS
---------------------------------------------------------------------------------------------------*/
-
-form fieldset ol li label { display:block; width:150px; float:left; }
-
-
-/* INLINE HINTS
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li p.inline-hints { color:#666; margin:0.5em 0 0 150px; }
-
-
-/* INLINE ERRORS
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li p.inline-errors { color:red; margin:0.5em 0 0 150px; }
-
-/* STRING OVERRIDES
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li.string input { width:300px; }
-form fieldset ol li.float input { width:300px; }
-form fieldset ol li.integer input { width:300px; }
-form fieldset ol li.decimal input { width:300px; }
-
-
-/* TEXTAREA OVERRIDES
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li.text textarea { width:300px; }
-
-
-/* BOOLEAN (CHECKBOX) OVERRIDES
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li.boolean label { padding-left:150px; width:auto; }
-form fieldset ol li.boolean label input { margin-right:0.5em; }
-
-
-/* BELONGS_TO (RADIO) OVERRIDES
---------------------------------------------------------------------------------------------------*/
-form fieldset ol li.radio fieldset { }
-form fieldset ol li.radio fieldset legend { display:block; float:left; width:150px; position:relative; }
-form fieldset ol li.radio fieldset legend span { }
-form fieldset ol li.radio fieldset ol { float:left; width:300px; }
-form fieldset ol li.radio fieldset ol li { padding:0; border:0; margin-bottom:.2em; }
-form fieldset ol li.radio fieldset ol li label { float:none; width:100%; }
-form fieldset ol li.radio fieldset ol li label input { margin-right:0.5em; }
-
-
-/* DATE & TIME OVERRIDES
---------------------------------------------------------------------------------------------------*/
-
-form fieldset ol li.date fieldset {}
-form fieldset ol li.date fieldset legend { display:block; float:left; width:150px; position:relative; }
-form fieldset ol li.date fieldset legend span { }
-form fieldset ol li.date fieldset ol { float:left; width:300px; margin:0; padding:0; }
-form fieldset ol li.date fieldset ol li { float:left; width:auto; margin:0; padding:0; border:0; }
-form fieldset ol li.date fieldset ol li label { display:none; }
-form fieldset ol li.radio fieldset ol li label input { display:inline; margin:0; padding:0; }
-
View
0  public/javascripts/humanmsg.js → vendor/assets/javascripts/humanmsg.js
File renamed without changes
View
0  public/javascripts/jquery.easing.1.3.js → ...r/assets/javascripts/jquery.easing.1.3.js
File renamed without changes
View
0  public/javascripts/jquery.form.js → vendor/assets/javascripts/jquery.form.js
File renamed without changes
View
0  public/javascripts/jquery.jfeed.js → vendor/assets/javascripts/jquery.jfeed.js
File renamed without changes
View
0  public/javascripts/jquery.livequery.js → ...or/assets/javascripts/jquery.livequery.js
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.