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 { |
||||
width: 77%; |
||||
min-width: 950px; |
||||
margin: auto; |
||||
position: relative; |
||||
} |
||||
|
@ -1,21 +1,24 @@
|
||||
<div id="slidesWrapper"> |
||||
<div id="slides"> |
||||
<img src="http://slidesjs.com/examples/standard/img/slide-1.jpg"> |
||||
<img src="http://slidesjs.com/examples/standard/img/slide-2.jpg"> |
||||
<img src="http://slidesjs.com/examples/standard/img/slide-3.jpg"> |
||||
<img src="http://slidesjs.com/examples/standard/img/slide-4.jpg"> |
||||
<%= image_tag 'marketing/domains.jpg' %> |
||||
<%= image_tag 'marketing/hosts.jpg' %> |
||||
</div> |
||||
</div> |
||||
|
||||
<script type="text/javascript"> |
||||
$("#slides") |
||||
.slides({ |
||||
width: 470, |
||||
navigation: false, |
||||
//responsive: true, |
||||
slide: { |
||||
interval: 500 |
||||
} |
||||
}) |
||||
.slides('play'); |
||||
.slides({ |
||||
width: 470, |
||||
navigation: false, |
||||
//responsive: true, |
||||
slide: { |
||||
interval: 500 |
||||
}, |
||||
preload: { |
||||
active: true |
||||
}, |
||||
playInterval: 8000, |
||||
pauseInterval: 16000 |
||||
}) |
||||
.slides('play'); |
||||
</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