Nicolae Claudius
13 years ago
14 changed files with 52 additions and 20 deletions
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 32 KiB |
@ -1,5 +1,6 @@ |
|||||||
.public .header-inner { |
.public .header-inner { |
||||||
width: 77%; |
width: 77%; |
||||||
|
min-width: 950px; |
||||||
margin: auto; |
margin: auto; |
||||||
position: relative; |
position: relative; |
||||||
} |
} |
||||||
|
@ -1,21 +1,24 @@ |
|||||||
<div id="slidesWrapper"> |
<div id="slidesWrapper"> |
||||||
<div id="slides"> |
<div id="slides"> |
||||||
<img src="http://slidesjs.com/examples/standard/img/slide-1.jpg"> |
<%= image_tag 'marketing/domains.jpg' %> |
||||||
<img src="http://slidesjs.com/examples/standard/img/slide-2.jpg"> |
<%= image_tag 'marketing/hosts.jpg' %> |
||||||
<img src="http://slidesjs.com/examples/standard/img/slide-3.jpg"> |
|
||||||
<img src="http://slidesjs.com/examples/standard/img/slide-4.jpg"> |
|
||||||
</div> |
</div> |
||||||
</div> |
</div> |
||||||
|
|
||||||
<script type="text/javascript"> |
<script type="text/javascript"> |
||||||
$("#slides") |
$("#slides") |
||||||
.slides({ |
.slides({ |
||||||
width: 470, |
width: 470, |
||||||
navigation: false, |
navigation: false, |
||||||
//responsive: true, |
//responsive: true, |
||||||
slide: { |
slide: { |
||||||
interval: 500 |
interval: 500 |
||||||
} |
}, |
||||||
}) |
preload: { |
||||||
.slides('play'); |
active: true |
||||||
|
}, |
||||||
|
playInterval: 8000, |
||||||
|
pauseInterval: 16000 |
||||||
|
}) |
||||||
|
.slides('play'); |
||||||
</script> |
</script> |
@ -0,0 +1,14 @@ |
|||||||
|
|
||||||
|
user = User.find_by_email('user@entrydns.net') |
||||||
|
entrydns_org = Domain.find_by_name('entrydns.org') |
||||||
|
|
||||||
|
100.times do |
||||||
|
domain = Factory.build(:domain, :user => user) |
||||||
|
domain.setup(FactoryGirl.generate(:email)) |
||||||
|
domain.save! |
||||||
|
domain.soa_record.update_serial! |
||||||
|
end |
||||||
|
|
||||||
|
100.times do |
||||||
|
Factory.create(:a, :user => user, :domain => entrydns_org) |
||||||
|
end |
@ -1,3 +0,0 @@ |
|||||||
# Simple API |
|
||||||
|
|
||||||
curl -H "Accept: application/json" -X PUT -d "" http://entrydns/records/modify/TOKEN |
|
@ -0,0 +1,9 @@ |
|||||||
|
namespace :db do |
||||||
|
|
||||||
|
desc 'Create sample data from db/samples.rb' |
||||||
|
task :samples => :environment do |
||||||
|
samples_file = File.join(Rails.root, "db", "samples.rb") |
||||||
|
load(samples_file) if File.exist?(samples_file) |
||||||
|
end |
||||||
|
|
||||||
|
end |
Loading…
Reference in new issue