noodall-ui 0.5.5 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. data/app/assets/javascripts/admin/assets.js +0 -1
  2. data/app/controllers/noodall/admin/assets_controller.rb +3 -3
  3. data/app/views/noodall/admin/assets/_browser.html.erb +0 -2
  4. data/app/views/noodall/admin/assets/_form.html.erb +1 -1
  5. data/app/views/noodall/admin/assets/form.html.erb +0 -1
  6. data/features/step_definitions/cms_node_steps.rb +3 -6
  7. data/features/step_definitions/component_steps.rb +1 -1
  8. data/features/step_definitions/draft_steps.rb +1 -1
  9. data/features/step_definitions/groups_access_steps.rb +6 -6
  10. data/features/step_definitions/sorting_steps.rb +3 -3
  11. data/features/support/env.rb +0 -1
  12. data/lib/noodall/ui/version.rb +1 -1
  13. data/spec/dummy/config/environments/development.rb +1 -1
  14. data/vendor/assets/javascripts/plupload/i18n/de.js +21 -22
  15. data/vendor/assets/javascripts/plupload/i18n/fr.js +1 -1
  16. data/vendor/assets/javascripts/plupload/i18n/hr.js +25 -0
  17. data/vendor/assets/javascripts/plupload/i18n/hu.js +33 -0
  18. data/vendor/assets/javascripts/plupload/i18n/it.js +23 -20
  19. data/vendor/assets/javascripts/plupload/i18n/ro.js +24 -0
  20. data/vendor/assets/javascripts/plupload/i18n/sr.js +14 -0
  21. data/vendor/assets/javascripts/plupload/jquery.plupload.queue/css/jquery.plupload.queue.css +13 -23
  22. data/vendor/assets/javascripts/plupload/jquery.ui.plupload/jquery.ui.plupload.js +1 -1
  23. data/vendor/assets/javascripts/plupload/plupload.browserplus.js +1 -1
  24. data/vendor/assets/javascripts/plupload/plupload.flash.js +1 -1
  25. data/vendor/assets/javascripts/plupload/plupload.flash.swf +0 -0
  26. data/vendor/assets/javascripts/plupload/plupload.full.js +2 -2
  27. data/vendor/assets/javascripts/plupload/plupload.gears.js +1 -1
  28. data/vendor/assets/javascripts/plupload/plupload.html4.js +1 -1
  29. data/vendor/assets/javascripts/plupload/plupload.html5.js +1 -1
  30. data/vendor/assets/javascripts/plupload/plupload.js +2 -2
  31. data/vendor/assets/javascripts/plupload/plupload.silverlight.js +1 -1
  32. data/vendor/assets/javascripts/plupload/plupload.silverlight.xap +0 -0
  33. metadata +17 -13
@@ -7,7 +7,6 @@ function setUpAssets() {
7
7
  'script' );
8
8
  return false;
9
9
  });
10
- ajaxifyForms('form.edit_asset');
11
10
  }
12
11
  setUpAssets();
13
12
 
@@ -66,8 +66,8 @@ module Noodall
66
66
  end
67
67
 
68
68
  def pending
69
- @asset = Asset.first(:tags => nil, :offset => params[:offset], :order => "created_at DESC")
70
- unless @asset.blank?
69
+ @asset = Asset.first(:tags => { '$size' => 0 }, :order => "created_at DESC")
70
+ if !@asset.blank?
71
71
  respond_to do |format|
72
72
  format.html { render :form }
73
73
  format.js { render :form }
@@ -230,7 +230,7 @@ module Noodall
230
230
  helper_method :admin_assets_type_url
231
231
 
232
232
  def pending_count
233
- @pending_count ||= Asset.count(:tags => nil)
233
+ @pending_count ||= Asset.count(:tags => { '$size' => 0 })
234
234
  end
235
235
  helper_method :pending_count
236
236
 
@@ -5,10 +5,8 @@
5
5
  <li class="file" title="<%= h( asset.title ) %>">
6
6
  <div class="file-detail" id="asset-<%= asset.id %>">
7
7
  <span class="file-title"><%= h( asset.title ) %></span>
8
-
9
8
  <%= (asset.image? or asset.video?) ? image_tag( asset.url('70x70#', asset.web_image_extension) ) : asset_icon(asset) %>
10
9
  </div>
11
-
12
10
  <%= link_to 'Show', noodall_admin_asset_path(asset, :readonly => readonly), :class => 'show button', :title => 'View this asset' %>
13
11
  <%= link_to 'Add me', asset.url, :class => 'add button', :title => 'Add this asset' %>
14
12
  </li>
@@ -27,7 +27,7 @@
27
27
  <span class="input-wrap"><%= f.file_field :file %></span>
28
28
  </p>
29
29
  <p>
30
- <span class="tooltip" title="Enter some tags for this asset">&nbsp;</span>
30
+ <span class="tooltip" title="Enter some tags (comma separated) for this asset">&nbsp;</span>
31
31
  <%= f.label :tag_list, "Tags" %><br/>
32
32
  <span class="input-wrap"><%= f.text_field :tag_list %></span>
33
33
  </p>
@@ -1,4 +1,3 @@
1
- <% content_for :header, javascript_tag('setUpAssets()') unless @asset.new_record? %>
2
1
 
3
2
  <h1><%= @asset.new_record? ? 'New' : 'Editing' %> Asset</h1>
4
3
 
@@ -92,15 +92,12 @@ Then /^I should see the child listed within the other parent's children$/ do
92
92
  end
93
93
 
94
94
  Then /^I should be able change the order of the root's children$/ do
95
- table = table(tableish("table tr", 'td, th'))
96
- title = table.hashes[2]['Title'] # 2 as zero index
95
+ title = find("table tbody tr:nth(3) td:first-child").text.strip
97
96
  within(:css, 'table tbody tr:nth(3)') { click_link "up" }
98
- table = table(tableish("table tr", 'td, th'))
99
- table.hashes[1]['Title'].should == title
97
+ find("table tbody tr:nth(2) td:first-child").text.strip.should == title
100
98
  within(:css, 'table tbody tr:nth(2)' ) { click_link "down" }
101
99
  within(:css, 'table tbody tr:nth(3)' ) { click_link "down" }
102
- table = table(tableish("table tr", 'td, th'))
103
- table.hashes[3]['Title'].should == title
100
+ find("table tbody tr:nth(4) td:first-child").text.strip.should == title
104
101
  end
105
102
 
106
103
  When /^I create a new child under an ancestor in "([^"]+)" template$/ do |template_title|
@@ -19,7 +19,7 @@ end
19
19
  When /^(?:|I )fill in the following within the component:$/ do |fields|
20
20
  within "#fancybox-content" do
21
21
  fields.rows_hash.each do |name, value|
22
- When %{I fill in "#{name}" with "#{value}"}
22
+ step %{I fill in "#{name}" with "#{value}"}
23
23
  end
24
24
  end
25
25
  end
@@ -12,7 +12,7 @@ end
12
12
  Then /^the form should contain version (\d+)$/ do |version|
13
13
  @_content = Noodall::Node.find(@_content.id) # Reload the model to remove memoized versions (reload does not do this)
14
14
  version = @_content.version_at(version.to_i)
15
- Then %{the "Title" field should contain "#{version.content(:title)}"}
15
+ step %{the "Title" field should contain "#{version.content(:title)}"}
16
16
  end
17
17
 
18
18
  Then /^I should see a list of previous versions$/ do
@@ -17,7 +17,7 @@ end
17
17
 
18
18
  Then(/^only users in the "([^\"]*)" and "([^\"]*)" should be able to ([^\"]*) content$/) do |group1, group2, actions|
19
19
  [group1, group2].each do |group|
20
- Given %{I am signed in as a #{group}}
20
+ step %{I am signed in as a #{group}}
21
21
  actions.split(', ').each do |action|
22
22
  case action
23
23
  when "Update"
@@ -45,12 +45,12 @@ Then(/^only users in the "([^\"]*)" and "([^\"]*)" should be able to ([^\"]*) co
45
45
  visit node_path(@_content)
46
46
  end
47
47
  end
48
- Then %{I sign out} #Neeed to do this or remeber cookie gets in the way
48
+ step %{I sign out} #Neeed to do this or remeber cookie gets in the way
49
49
  end
50
50
  end
51
51
 
52
52
  Then(/^users not in the "([^\"]*)" and "([^\"]*)" should not be able to ([^\"]*) content$/) do |group1, group2, action|
53
- Given %{I am signed in as a nogood}
53
+ step %{I am signed in as a nogood}
54
54
  case action
55
55
  when "Update"
56
56
  visit noodall_admin_node_path(@_content)
@@ -77,7 +77,7 @@ Given /^content exists with permissions set$/ do
77
77
  end
78
78
 
79
79
  When /^a child of that content is created$/ do
80
- Given %{I am signed in as a website administrator}
80
+ step %{I am signed in as a website administrator}
81
81
  visit noodall_admin_node_nodes_path(@_content)
82
82
  within(".choices") { click_link "New" }
83
83
  fill_in "Title", :with => "Permeable Content"
@@ -104,7 +104,7 @@ Then(/^by default the child should have the same permissions as it's parent$/) d
104
104
  end
105
105
 
106
106
  Then /^I should be able to carry out all actions regardless of group permissions$/ do
107
- Given %{content exists with permissions set}
107
+ step %{content exists with permissions set}
108
108
  visit noodall_admin_node_path(@_content)
109
109
  click_button "Draft"
110
110
  visit noodall_admin_node_nodes_path(@_content)
@@ -126,7 +126,7 @@ end
126
126
 
127
127
  Then /^a user not in the group editor will no be able to edit any content$/ do
128
128
  Factory(:home, :title => 'Home', :publish => true)
129
- Given %{I am signed in as a nogood}
129
+ step %{I am signed in as a nogood}
130
130
  visit noodall_admin_nodes_path
131
131
  page.should have_content("You do not have permission to do that")
132
132
  end
@@ -17,17 +17,17 @@ Given /^some nodes exist$/ do
17
17
  end
18
18
 
19
19
  Then /^the nodes should be ordered by "Name"$/ do
20
- Then %{I should see in this order: A Header, B Header, C Header}
20
+ step %{I should see in this order: A Header, B Header, C Header}
21
21
  end
22
22
 
23
23
 
24
24
  Then /^the nodes should be ordered by "Type"$/ do
25
- Then %{I should see in this order: Page A, Noodall/Node, Noodall/Node}
25
+ step %{I should see in this order: Page A, Noodall/Node, Noodall/Node}
26
26
  end
27
27
 
28
28
 
29
29
  Then /^the nodes should be ordered by "Updated"$/ do
30
- Then %{I should see in this order: 15:37:00, 14:37:00, 13:37:00 }
30
+ step %{I should see in this order: 15:37:00, 14:37:00, 13:37:00 }
31
31
  end
32
32
 
33
33
  Then /^(?:|I )should see in this order(?: within "([^\"]*)")?: (.*)$/ do |selector, text|
@@ -14,7 +14,6 @@ Spork.prefork do
14
14
  require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
15
15
  require 'cucumber/rails/rspec'
16
16
  require 'cucumber/rails/world'
17
- require 'cucumber/web/tableish'
18
17
  require 'cucumber/rspec/doubles'
19
18
 
20
19
  require 'ruby-debug' unless ENV["CI"]
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.5.5"
3
+ VERSION = "0.5.6"
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ Dummy::Application.configure do
4
4
  # In the development environment your application's code is reloaded on
5
5
  # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
- config.cache_classes = true
7
+ config.cache_classes = false
8
8
 
9
9
  # Log error messages when you accidentally call methods on nil.
10
10
  config.whiny_nils = true
@@ -1,25 +1,24 @@
1
1
  // German
2
2
  plupload.addI18n({
3
- 'Select files' : 'W&auml;hlen Sie die Dateien:',
4
- 'Add files to the upload queue and click the start button.' : 'Dateien hinzuf&uuml;gen und danach auf \'Starten des Uploads\' klicken und die Datei hochzuladen.',
5
- 'Filename' : 'Dateiname',
6
- 'Status' : 'Status',
7
- 'Size' : 'Gr&ouml;&szlig;e',
8
- 'Add files' : 'Hinzuf&uuml;gen von Dateien',
9
- 'Stop current upload' : 'Stop aktuellen Upload',
10
- 'Start uploading queue' : 'Starte Upload',
11
- 'Uploaded %d/%d files': '%d/%d Dateien sind Hochgeladen',
12
- 'N/A' : 'Nicht verf&uuml;gbar',
13
- 'Drag files here.' : 'Ziehen Sie die Dateien hier hin',
14
- 'File extension error.': 'Dateiendungs Fehler.',
15
- 'File size error.': 'Dateigr&ouml;ßen Fehler.',
16
- 'Init error.': 'Initialisierungs Fehler.',
17
- 'HTTP Error.': 'HTTP Fehler.',
18
- 'Security error.': 'Sicherheits Fehler.',
19
- 'Generic error.': 'Generic Fehler.',
20
- 'IO error.': 'Ein/Ausgabe Fehler.',
21
- 'Stop Upload': 'Stoppen des Uploads.',
22
- 'Add Files': 'Dateien hinzuf&uuml;gen',
23
- 'Start Upload': 'Starten des Uploads.',
24
- '%d files queued': '%d Dateien in der Warteschlange.'
3
+ 'Select files' : 'Dateien hochladen',
4
+ 'Add files to the upload queue and click the start button.' : 'Dateien hinzuf&uuml;gen und auf \'Hochladen\' klicken.',
5
+ 'Filename' : 'Dateiname',
6
+ 'Status' : 'Status',
7
+ 'Size' : 'Gr&ouml;&szlig;e',
8
+ 'Add files' : 'Dateien', // hinzuf&uuml;gen',
9
+ 'Stop current upload' : 'Aktuelles Hochladen stoppen',
10
+ 'Start uploading queue' : 'Hochladen starten',
11
+ 'Uploaded %d/%d files': '%d/%d Dateien sind hochgeladen',
12
+ 'N/A' : 'Nicht verf&uuml;gbar',
13
+ 'Drag files here.' : 'Ziehen Sie die Dateien hier hin',
14
+ 'File extension error.': 'Fehler bei Dateiendung',
15
+ 'File size error.': 'Fehler bei Dateigr&ouml;ße',
16
+ 'Init error.': 'Initialisierungsfehler',
17
+ 'HTTP Error.': 'HTTP-Fehler',
18
+ 'Security error.': 'Sicherheitsfehler',
19
+ 'Generic error.': 'Typischer Fehler',
20
+ 'IO error.': 'Ein/Ausgabe-Fehler',
21
+ 'Stop Upload': 'Hochladen stoppen',
22
+ 'Start upload': 'Hochladen',
23
+ '%d files queued': '%d Dateien in der Warteschlange'
25
24
  });
@@ -1,4 +1,4 @@
1
- // .po file like language pack
1
+ // French
2
2
  plupload.addI18n({
3
3
  'Select files' : 'Sélectionnez les fichiers',
4
4
  'Add files to the upload queue and click the start button.' : 'Ajoutez des fichiers à la file et appuyez sur le bouton démarrer.',
@@ -0,0 +1,25 @@
1
+ // Croatian
2
+ plupload.addI18n({
3
+ 'Select files': 'Izaberite datoteke:',
4
+ 'Add files to the upload queue and click the start button.': 'Dodajte datoteke u listu i kliknite Upload.',
5
+ 'Filename': 'Ime datoteke',
6
+ 'Status': 'Status',
7
+ 'Size': 'Veličina',
8
+ 'Add files': 'Dodajte datoteke',
9
+ 'Stop current upload': 'Zaustavi trenutan upload',
10
+ 'Start uploading queue': 'Pokreni Upload',
11
+ 'Uploaded %d/%d files': 'Uploadano %d/%d datoteka',
12
+ 'N/A': 'N/A',
13
+ 'Drag files here.': 'Dovucite datoteke ovdje',
14
+ 'File extension error.': 'Greška ekstenzije datoteke.',
15
+ 'File size error.': 'Greška veličine datoteke.',
16
+ 'Init error.': 'Greška inicijalizacije.',
17
+ 'HTTP Error.': 'HTTP greška.',
18
+ 'Security error.': 'Sigurnosna greška.',
19
+ 'Generic error.': 'Generička greška.',
20
+ 'IO error.': 'I/O greška.',
21
+ 'Stop Upload': 'Zaustavi upload.',
22
+ 'Add Files': 'Dodaj datoteke',
23
+ 'Start Upload': 'Pokreni upload.',
24
+ '%d files queued': '%d datoteka na čekanju.'
25
+ });
@@ -0,0 +1,33 @@
1
+ // Hungarian
2
+ plupload.addI18n({
3
+ 'Select files' : 'Fájlok kiválasztása',
4
+ 'Add files to the upload queue and click the start button.' : 'Válaszd ki a fájlokat, majd kattints az Indítás gombra.',
5
+ 'Filename' : 'Fájlnév',
6
+ 'Status' : 'Állapot',
7
+ 'Size' : 'Méret',
8
+ 'Add files' : 'Hozzáadás',
9
+ 'Stop current upload' : 'Jelenlegi feltöltés megszakítása',
10
+ 'Start uploading queue' : 'Várakozási sor feltöltésének indítása',
11
+ 'Uploaded %d/%d files': 'Feltöltött fájlok: %d/%d',
12
+ 'N/A': 'Nem elérhető',
13
+ 'Drag files here.' : 'Húzd ide a fájlokat.',
14
+ 'Stop upload': 'Feltöltés megszakítása',
15
+ 'Start upload': 'Indítás',
16
+ '%d files queued': '%d fájl sorbaállítva',
17
+ 'File: %s': 'Fájl: %s',
18
+ 'Close': 'Bezárás',
19
+ 'Using runtime: ': 'Használt runtime: ',
20
+ 'File: %f, size: %s, max file size: %m': 'Fájl: %f, méret: %s, maximális fájlméret: %m',
21
+ 'Upload element accepts only %d file(s) at a time. Extra files were stripped.': 'A feltöltés egyszerre csak %d fájlt fogad el, a többi fájl nem lesz feltöltve.',
22
+ 'Upload URL might be wrong or doesn\'t exist': 'A megadott URL hibás vagy nem létezik',
23
+ 'Error: File too large: ': 'Hiba: A fájl túl nagy: ',
24
+ 'Error: Invalid file extension: ': 'Hiba: Érvénytelen fájlkiterjesztés: ',
25
+ 'File extension error.': 'Hibás fájlkiterjesztés.',
26
+ 'File size error.': 'Hibás fájlméret.',
27
+ 'File count error.': 'A fájlok számával kapcsolatos hiba.',
28
+ 'Init error.': 'Init hiba.',
29
+ 'HTTP Error.': 'HTTP hiba.',
30
+ 'Security error.': 'Biztonsági hiba.',
31
+ 'Generic error.': 'Általános hiba.',
32
+ 'IO error.': 'I/O hiba.'
33
+ });
@@ -1,21 +1,24 @@
1
- // .po file like language pack
2
- plupload.addI18n({
3
- 'Select files' : 'Seleziona i files',
4
- 'Add files to the upload queue and click the start button.' : 'Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.',
5
- 'Filename' : 'Nome file',
6
- 'Status' : 'Stato',
7
- 'Size' : 'Dimensione',
8
- 'Add files' : 'Aggiungi file',
9
- 'Stop current upload' : 'Interrompi il caricamento',
10
- 'Start uploading queue' : 'Avvia il caricamento',
11
- 'Uploaded %d/%d files': 'Caricati %d/%d file',
12
- 'N/A' : 'N/D',
13
- 'Drag files here.' : 'Trascina i file qui.',
14
- 'File extension error.': 'Errore estensione file.',
15
- 'File size error.': 'Errore dimensione file.',
16
- 'Init error.': 'Errore inizializzazione.',
17
- 'HTTP Error.': 'Errore HTTP.',
18
- 'Security error.': 'Errore sicurezza.',
19
- 'Generic error.': 'Errore generico.',
20
- 'IO error.': 'Errore IO.'
1
+ // Italian
2
+ plupload.addI18n({
3
+ 'Select files' : 'Seleziona i files',
4
+ 'Add files to the upload queue and click the start button.' : 'Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.',
5
+ 'Filename' : 'Nome file',
6
+ 'Status' : 'Stato',
7
+ 'Size' : 'Dimensione',
8
+ 'Add Files' : 'Aggiungi file',
9
+ 'Stop current upload' : 'Interrompi il caricamento',
10
+ 'Start uploading queue' : 'Avvia il caricamento',
11
+ 'Uploaded %d/%d files': 'Caricati %d/%d file',
12
+ 'N/A' : 'N/D',
13
+ 'Drag files here.' : 'Trascina i file qui.',
14
+ 'File extension error.': 'Errore estensione file.',
15
+ 'File size error.': 'Errore dimensione file.',
16
+ 'Init error.': 'Errore inizializzazione.',
17
+ 'HTTP Error.': 'Errore HTTP.',
18
+ 'Security error.': 'Errore sicurezza.',
19
+ 'Generic error.': 'Errore generico.',
20
+ 'IO error.': 'Errore IO.',
21
+ 'Stop Upload': 'Ferma Upload',
22
+ 'Start Upload': 'Inizia Upload',
23
+ '%d files queued': '%d file in lista'
21
24
  });
@@ -0,0 +1,24 @@
1
+ // Romanian
2
+ plupload.addI18n({
3
+ 'Select files' : 'Selectare fişiere',
4
+ 'Add files to the upload queue and click the start button.' : 'Adaugă fişiere în lista apoi apasă butonul \'Începe încărcare\'.',
5
+ 'Filename' : 'Nume fişier',
6
+ 'Status' : 'Stare',
7
+ 'Size' : 'Mărime',
8
+ 'Add files' : 'Adăugare fişiere',
9
+ 'Stop current upload' : 'Întrerupe încărcarea curentă',
10
+ 'Start uploading queue' : 'Începe incărcarea',
11
+ 'Uploaded %d/%d files': 'Fişiere încărcate %d/%d',
12
+ 'N/A' : 'N/A',
13
+ 'Drag files here.' : 'Trage aici fişierele',
14
+ 'File extension error.': 'Extensie fişier eronată',
15
+ 'File size error.': 'Eroare dimensiune fişier',
16
+ 'Init error.': 'Eroare iniţializare',
17
+ 'HTTP Error.': 'Eroare HTTP',
18
+ 'Security error.': 'Eroare securitate',
19
+ 'Generic error.': 'Eroare generică',
20
+ 'IO error.': 'Eroare Intrare/Ieşire',
21
+ 'Stop Upload': 'Oprire încărcare',
22
+ 'Start upload': 'Începe încărcare',
23
+ '%d files queued': '%d fişiere listate'
24
+ });
@@ -0,0 +1,14 @@
1
+ // Serbian
2
+ plupload.addI18n({
3
+ 'Select files' : 'Izaberite fajlove',
4
+ 'Add files to the upload queue and click the start button.' : 'Dodajte fajlove u listu i kliknite na dugme Start.',
5
+ 'Filename' : 'Naziv fajla',
6
+ 'Status' : 'Status',
7
+ 'Size' : 'Veličina',
8
+ 'Add Files' : 'Dodaj fajlove',
9
+ 'Stop current upload' : 'Zaustavi upload',
10
+ 'Start uploading queue' : 'Počni upload',
11
+ 'Drag files here.' : 'Prevucite fajlove ovde.',
12
+ 'Start Upload': 'Počni upload',
13
+ 'Uploaded %d/%d files': 'Snimljeno %d/%d fajlova'
14
+ });
@@ -1,4 +1,4 @@
1
- /*
1
+ /*
2
2
  Plupload
3
3
  ------------------------------------------------------------------- */
4
4
 
@@ -11,7 +11,7 @@
11
11
  border: 1px solid #bababa;
12
12
  padding: 2px 8px 3px 20px;
13
13
  margin-right: 4px;
14
- background: #f3f3f3 url('/assets/plupload/jquery.plupload.queue/img/buttons.png') no-repeat 0 center;
14
+ background: #f3f3f3 url('../img/buttons.png') no-repeat 0 center;
15
15
  outline: 0;
16
16
 
17
17
  /* Optional rounded corners for browsers that support it */
@@ -29,7 +29,7 @@
29
29
  .plupload_disabled, a.plupload_disabled:hover {
30
30
  color: #737373;
31
31
  border-color: #c5c5c5;
32
- background: #ededed url('/assets/plupload/jquery.plupload.queue/img/buttons-disabled.png') no-repeat 0 center;
32
+ background: #ededed url('../img/buttons-disabled.png') no-repeat 0 center;
33
33
  cursor: default;
34
34
  }
35
35
 
@@ -44,7 +44,7 @@
44
44
 
45
45
  .plupload_container {
46
46
  padding: 8px;
47
- background: url('/assets/plupload/jquery.plupload.queue/img/transp50.png');
47
+ background: url('../img/transp50.png');
48
48
  /*-moz-border-radius: 5px;*/
49
49
  }
50
50
 
@@ -54,19 +54,9 @@
54
54
  width: 98%;
55
55
  }
56
56
 
57
- .plupload_header {background: #2A2C2E url('/assets/plupload/jquery.plupload.queue/img/transp50.png');
58
- /*-moz-border-radius: 5px;*/
59
- }
60
-
61
- .plupload_container input {
62
- border: 1px solid #DDD;
63
- font: normal 11px Verdana,sans-serif;
64
- width: 98%;
65
- }
66
-
67
- .plupload_header {background: #2A2C2E url('/assets/plupload/jquery.plupload.queue/img/backgrounds.gif') repeat-x;}
57
+ .plupload_header {background: #2A2C2E url('../img/backgrounds.gif') repeat-x;}
68
58
  .plupload_header_content {
69
- background: url('/assets/plupload/jquery.plupload.queue/img/backgrounds.gif') no-repeat 0 -317px;
59
+ background: url('../img/backgrounds.gif') no-repeat 0 -317px;
70
60
  min-height: 56px;
71
61
  padding-left: 60px;
72
62
  color: #FFF;
@@ -93,7 +83,7 @@
93
83
 
94
84
  .plupload_filelist li {
95
85
  padding: 10px 8px;
96
- background: #F5F5F5 url('/assets/plupload/jquery.plupload.queue/img/backgrounds.gif') repeat-x 0 -156px;
86
+ background: #F5F5F5 url('../img/backgrounds.gif') repeat-x 0 -156px;
97
87
  border-bottom: 1px solid #DDD;
98
88
  }
99
89
 
@@ -102,7 +92,7 @@
102
92
  padding: 8px 8px;
103
93
  color: #42454A;
104
94
  }
105
- .plupload_filelist_header {
95
+ .plupload_filelist_header {
106
96
  border-top: 1px solid #EEE;
107
97
  border-bottom: 1px solid #CDCDCD;
108
98
  }
@@ -132,20 +122,20 @@
132
122
  height: 16px;
133
123
  }
134
124
 
135
- li.plupload_uploading {background: #ECF3DC url('/assets/plupload/jquery.plupload.queue/img/backgrounds.gif') repeat-x 0 -238px;}
125
+ li.plupload_uploading {background: #ECF3DC url('../img/backgrounds.gif') repeat-x 0 -238px;}
136
126
  li.plupload_done {color:#AAA}
137
127
 
138
128
  li.plupload_delete a {
139
- background: url('/assets/plupload/jquery.plupload.queue/img/delete.gif');
129
+ background: url('../img/delete.gif');
140
130
  }
141
131
 
142
132
  li.plupload_failed a {
143
- background: url('/assets/plupload/jquery.plupload.queue/img/error.gif');
133
+ background: url('../img/error.gif');
144
134
  cursor: default;
145
135
  }
146
136
 
147
137
  li.plupload_done a {
148
- background: url('/assets/plupload/jquery.plupload.queue/img/done.gif');
138
+ background: url('../img/done.gif');
149
139
  cursor: default;
150
140
  }
151
141
 
@@ -175,7 +165,7 @@ li.plupload_done a {
175
165
  .plupload_clearer, .plupload_progress_bar {
176
166
  display: block;
177
167
  font-size: 0;
178
- line-height: 0;
168
+ line-height: 0;
179
169
  }
180
170
 
181
171
  li.plupload_droptext {