activeadmin-selleo-cms 0.0.18 → 0.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/app/admin/active_admin/views_helper.rb +4 -0
- data/app/admin/activeadmin_selleo_cms/page.rb +42 -6
- data/app/assets/javascripts/activeadmin-selleo-cms/custom.js +35 -0
- data/app/assets/javascripts/activeadmin-selleo-cms/jquery-ui-timepicker-addon.js +1902 -0
- data/app/assets/javascripts/ckeditor/config.js +12 -1
- data/app/assets/stylesheets/activeadmin-selleo-cms/custom.css +5 -1
- data/app/assets/stylesheets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.css +10 -0
- data/app/controllers/pages_controller.rb +9 -4
- data/app/controllers/searches_controller.rb +1 -1
- data/app/helpers/pages_helper.rb +9 -5
- data/app/models/activeadmin_selleo_cms/asset.rb +7 -1
- data/app/models/activeadmin_selleo_cms/attachment.rb +2 -0
- data/app/models/activeadmin_selleo_cms/image.rb +21 -0
- data/app/models/activeadmin_selleo_cms/layout.rb +27 -3
- data/app/models/activeadmin_selleo_cms/page.rb +33 -33
- data/app/models/activeadmin_selleo_cms/search.rb +1 -0
- data/app/models/activeadmin_selleo_cms/section.rb +33 -1
- data/app/views/admin/pages/_form.html.haml +2 -8
- data/app/views/admin/pages/_translated_fields.html.haml +52 -15
- data/app/views/admin/pages/reorder.html.haml +6 -0
- data/app/views/admin/pages/update_positions.js.erb +6 -0
- data/app/views/searches/show.html.haml +1 -1
- data/config/initializers/active_admin.rb +3 -0
- data/config/initializers/formtastic.rb +7 -0
- data/config/routes.rb +2 -7
- data/db/migrate/20130206173233_change_activeadmin_selleo_cms_searches.rb +29 -0
- data/db/migrate/20130207213528_change_activeadmin_selleo_cms_assets.rb +12 -0
- data/lib/activeadmin-selleo-cms/version.rb +1 -1
- data/lib/generators/activeadmin_selleo_cms/templates/cms.html.erb +7 -3
- data/spec/dummy/app/views/layouts/cms.html.erb +1 -1
- data/spec/dummy/db/snapshots/test_database.sql +1 -1
- data/spec/dummy/log/test.log +79024 -0
- data/spec/dummy/tmp/cache/assets/BEF/CA0/sprockets%2F3335c73d91157a627611592700a9654e +0 -0
- data/spec/dummy/tmp/cache/assets/C5A/610/sprockets%2Fbe898195780d802c102d152255d9e477 +0 -0
- data/spec/dummy/tmp/cache/assets/CB7/190/sprockets%2F136a9350fa75f3336af293952861ed6d +0 -0
- data/spec/dummy/tmp/cache/assets/CBA/D70/sprockets%2F8c5e2f7ea6f160a6792a442f01378479 +0 -0
- data/spec/dummy/tmp/cache/assets/CCF/2E0/sprockets%2Fde5b2bd811d24557c940a2239b7e3130 +0 -0
- data/spec/dummy/tmp/cache/assets/CD3/3E0/sprockets%2F373fa62090ab111ae606b963e1b8c793 +0 -0
- data/spec/dummy/tmp/cache/assets/CD6/930/sprockets%2Fb62a24129369fea572b674303a7fa12f +0 -0
- data/spec/dummy/tmp/cache/assets/CE2/D80/sprockets%2F28a4d5b1a75700c7579e3773f34ccd71 +0 -0
- data/spec/dummy/tmp/cache/assets/CE3/720/sprockets%2F8c9e2817b83ec580831f21b0c352c9c7 +0 -0
- data/spec/dummy/tmp/cache/assets/CED/FB0/sprockets%2Fa675d17ed83804639ec0264b624d98ed +0 -0
- data/spec/dummy/tmp/cache/assets/D2C/2E0/sprockets%2Fa031c32e27ced12f81d4326f8b52fb23 +0 -0
- data/spec/dummy/tmp/cache/assets/D5C/1D0/sprockets%2F0671a22da74f433700c99e13bfaaf0ce +0 -0
- data/spec/dummy/tmp/cache/assets/D63/6C0/sprockets%2F1ae1f1cf9d92d0e61b7006171a39fd4d +0 -0
- data/spec/dummy/tmp/cache/assets/D64/060/sprockets%2F3b86cba556132a40a7e49a7b4c7e17ad +0 -0
- data/spec/dummy/tmp/cache/assets/D92/B20/sprockets%2F871f050bda629a18e11ea8db7c1aca77 +0 -0
- data/spec/dummy/tmp/cache/assets/DB2/EA0/sprockets%2Ffead656b8b83fbae9f69435c33b4649d +0 -0
- data/spec/dummy/tmp/cache/assets/E37/3E0/sprockets%2F9e6d2d17ed6da64a2f1876d4cdfefcd1 +0 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228138539754304.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228185417992211.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228232926906843.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228302851745933.html +176 -0
- data/spec/dummy/tmp/capybara/capybara-20130131222835626927814.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228403892930584.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312228491329185040.html +152 -0
- data/spec/dummy/tmp/capybara/capybara-201301312232412606495803.html +182 -0
- data/spec/dummy/tmp/capybara/capybara-201301312232508358940406.html +242 -0
- data/spec/dummy/tmp/capybara/capybara-201301312233036556441968.html +182 -0
- data/spec/dummy/tmp/capybara/capybara-201301312233093002404474.html +182 -0
- data/spec/models/activeadmin_selleo_cms/page_spec.rb +9 -0
- data/spec/support/pages_helper.rb +4 -4
- metadata +46 -5
- data/app/models/activeadmin_selleo_cms/header_image.rb +0 -12
- data/app/models/activeadmin_selleo_cms/icon.rb +0 -12
- data/app/modules/active_admin/views/index_as_list.rb +0 -28
@@ -0,0 +1,182 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
3
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-type" />
|
4
|
+
<title>New Page | Dummy</title>
|
5
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/assets/active_admin.css" /><link type="text/css" rel="stylesheet" media="print" href="/assets/active_admin/print.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/jquery-ui.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/custom.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/active_admin.css" /><link type="text/css" rel="stylesheet" media="print" href="/assets/active_admin/print.css" /> <script type="text/javascript" src="/assets/active_admin.js"></script>
|
6
|
+
<script type="text/javascript" src="/assets/active_admin/base.js"></script>
|
7
|
+
<script type="text/javascript" src="/assets/ckeditor/init.js"></script>
|
8
|
+
<script type="text/javascript" src="/assets/activeadmin-selleo-cms/custom.js"></script>
|
9
|
+
<script type="text/javascript" src="/assets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.js"></script>
|
10
|
+
<script type="text/javascript" src="/assets/active_admin.js"></script>
|
11
|
+
<script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/config.js?t=C6HH5UF"></script><link rel="stylesheet" type="text/css" href="http://127.0.0.1:33877/assets/ckeditor/skins/kama/editor.css?t=C6HH5UF" /><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/embed/plugin.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/attachment/plugin.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/embed/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/attachment/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/styles/styles/default.js?t=C6HH5UF"></script></head>
|
12
|
+
<body class="new admin_pages active_admin logged_in admin_namespace" onpageshow='event.persisted && (function(){var allInstances = CKEDITOR.instances, editor, doc;for ( var i in allInstances ){ editor = allInstances[ i ]; doc = editor.document; if ( doc ) { doc.$.designMode = "off"; doc.$.designMode = "on"; }}})();'>
|
13
|
+
<div id="wrapper">
|
14
|
+
<div id="header" class="header">
|
15
|
+
<h1 id="site_title" class="site_title">Dummy</h1>
|
16
|
+
<ul id="tabs" class="header-item">
|
17
|
+
<li id="dashboard"><a href="/admin/dashboard">Dashboard</a></li>
|
18
|
+
<li id="assets"><a href="/admin/assets">Assets</a></li>
|
19
|
+
<li id="locales"><a href="/admin/locales">Locales</a></li>
|
20
|
+
<li id="pages" class="current"><a href="/admin/pages">Pages</a></li>
|
21
|
+
<li id="sections"><a href="/admin/sections">Sections</a></li>
|
22
|
+
<li id="translations"><a href="/admin/translations">Translations</a></li>
|
23
|
+
</ul>
|
24
|
+
<p id="utility_nav" class="header-item">
|
25
|
+
<span class="current_user">admin@example.com</span>
|
26
|
+
<a data-method="get" href="/admin/logout">Logout</a> </p>
|
27
|
+
</div>
|
28
|
+
<div id="title_bar" class="title_bar">
|
29
|
+
<div id="titlebar_left">
|
30
|
+
<span class="breadcrumb">
|
31
|
+
<a href="/admin">Admin</a> <span class="breadcrumb_sep">/</span>
|
32
|
+
<a href="/admin/pages">Pages</a> <span class="breadcrumb_sep">/</span>
|
33
|
+
</span>
|
34
|
+
<h2 id="page_title">New Page</h2>
|
35
|
+
</div>
|
36
|
+
<div id="titlebar_right"></div>
|
37
|
+
</div>
|
38
|
+
<div class="without_sidebar" id="active_admin_content">
|
39
|
+
<div id="main_content_wrapper">
|
40
|
+
<div id="main_content"><form novalidate="novalidate" method="post" id="new_page" enctype="multipart/form-data" class="formtastic activeadmin_selleo_cms_page" action="/admin/pages" accept-charset="UTF-8"><div style="margin:0;padding:0;display:inline"><input type="hidden" value="✓" name="utf8" /></div>
|
41
|
+
<input type="hidden" name="_change_layout" />
|
42
|
+
<fieldset class="inputs"><legend><span>General options</span></legend><ol><li id="page_layout_name_input" class="select input required"><label for="page_layout_name" class=" label">Layout name<abbr title="required">*</abbr></label><select name="page[layout_name]" id="page_layout_name"><option value="application">application</option>
|
43
|
+
<option selected="selected" value="cms">cms</option></select>
|
44
|
+
|
45
|
+
<p class="inline-hints">The form will reload on change</p></li>
|
46
|
+
<li id="page_parent_id_input" class="select input optional"><label for="page_parent_id" class=" label">Parent</label><select name="page[parent_id]" id="page_parent_id"><option value=""></option>
|
47
|
+
</select>
|
48
|
+
|
49
|
+
</li>
|
50
|
+
<li id="page_is_published_input" class="boolean input optional"><input type="hidden" value="0" name="page[is_published]" /><label for="page_is_published" class=""><input type="checkbox" value="1" name="page[is_published]" id="page_is_published" />Is published</label>
|
51
|
+
|
52
|
+
</li>
|
53
|
+
<li id="page_redirect_to_first_sub_page_input" class="boolean input optional"><input type="hidden" value="0" name="page[redirect_to_first_sub_page]" /><label for="page_redirect_to_first_sub_page" class=""><input type="checkbox" value="1" name="page[redirect_to_first_sub_page]" id="page_redirect_to_first_sub_page" />Redirect to first sub page</label>
|
54
|
+
|
55
|
+
</li>
|
56
|
+
<li id="page_is_link_url_input" class="boolean input optional"><input type="hidden" value="0" name="page[is_link_url]" /><label for="page_is_link_url" class=""><input type="checkbox" value="1" name="page[is_link_url]" id="page_is_link_url" />Is link url</label>
|
57
|
+
|
58
|
+
</li>
|
59
|
+
<li id="page_link_url_input" class="url input optional stringish" style="display: list-item;"><label for="page_link_url" class=" label">Link url</label><input type="url" name="page[link_url]" maxlength="255" id="page_link_url" />
|
60
|
+
|
61
|
+
<p class="inline-hints">Enter remote URL including the http part at the beginning</p></li>
|
62
|
+
</ol></fieldset><li id="page_sections_attributes_0_name_input" class="hidden input required"><input type="hidden" value="header" name="page[sections_attributes][0][name]" id="page_sections_attributes_0_name" />
|
63
|
+
|
64
|
+
</li>
|
65
|
+
<li id="page_sections_attributes_1_name_input" class="hidden input required"><input type="hidden" value="content" name="page[sections_attributes][1][name]" id="page_sections_attributes_1_name" />
|
66
|
+
|
67
|
+
</li>
|
68
|
+
<li id="page_sections_attributes_2_name_input" class="hidden input required"><input type="hidden" value="footer" name="page[sections_attributes][2][name]" id="page_sections_attributes_2_name" />
|
69
|
+
|
70
|
+
</li>
|
71
|
+
<div class="language-tabs ui-tabs ui-widget ui-widget-content ui-corner-all">
|
72
|
+
<ul class="language-selection ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
|
73
|
+
<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="lang-en" aria-labelledby="ui-id-1" aria-selected="true"><a href="#lang-en" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1">English</a></li>
|
74
|
+
</ul>
|
75
|
+
<div style="" id="lang-en" aria-labelledby="ui-id-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-expanded="true" aria-hidden="false">
|
76
|
+
<fieldset class="inputs"><legend><span>English translation</span></legend><ol><ol>
|
77
|
+
<li id="page_translations_attributes_0_title_input" class="string input required stringish"><label for="page_translations_attributes_0_title" class=" label">Title<abbr title="required">*</abbr></label><input type="text" name="page[translations_attributes][0][title]" maxlength="255" id="page_translations_attributes_0_title" />
|
78
|
+
|
79
|
+
</li>
|
80
|
+
<li id="page_translations_attributes_0_slug_input" class="string input required stringish"><label for="page_translations_attributes_0_slug" class=" label">Slug<abbr title="required">*</abbr></label><input type="text" name="page[translations_attributes][0][slug]" maxlength="255" id="page_translations_attributes_0_slug" />
|
81
|
+
|
82
|
+
</li>
|
83
|
+
<li id="page_translations_attributes_0_browser_title_input" class="string input optional stringish" style="display: none;"><label for="page_translations_attributes_0_browser_title" class=" label">Browser title</label><input type="text" name="page[translations_attributes][0][browser_title]" maxlength="255" id="page_translations_attributes_0_browser_title" class="link-url-hide" />
|
84
|
+
|
85
|
+
</li>
|
86
|
+
<li id="page_translations_attributes_0_meta_keywords_input" class="string input optional stringish" style="display: none;"><label for="page_translations_attributes_0_meta_keywords" class=" label">Meta keywords</label><input type="text" name="page[translations_attributes][0][meta_keywords]" maxlength="255" id="page_translations_attributes_0_meta_keywords" class="link-url-hide" />
|
87
|
+
|
88
|
+
</li>
|
89
|
+
<li id="page_translations_attributes_0_meta_description_input" class="text input optional" style="display: none;"><label for="page_translations_attributes_0_meta_description" class=" label">Meta description</label><textarea rows="3" name="page[translations_attributes][0][meta_description]" id="page_translations_attributes_0_meta_description" class="link-url-hide"></textarea>
|
90
|
+
|
91
|
+
</li>
|
92
|
+
<li id="page_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[translations_attributes][0][locale]" id="page_translations_attributes_0_locale" />
|
93
|
+
|
94
|
+
</li>
|
95
|
+
<li id="page_sections_attributes_0_translations_attributes_0_body_input" class="ckeditor input optional" style="display: none;"><label for="page_sections_attributes_0_translations_attributes_0_body" class=" label">Header part</label><textarea rows="20" name="page[sections_attributes][0][translations_attributes][0][body]" id="page_sections_attributes_0_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_0_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_1 cke_editor_page_sections_attributes_0_translations_attributes_0_body" id="cke_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_0_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_0_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_8" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_8">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_9"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(6, this); return false;" onfocus="return CKEDITOR.tools.callFunction(5, event);" onkeydown="return CKEDITOR.tools.callFunction(4, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_10_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_10" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_10_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(9, this); return false;" onfocus="return CKEDITOR.tools.callFunction(8, event);" onkeydown="return CKEDITOR.tools.callFunction(7, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_11_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_11" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_11_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(12, this); return false;" onfocus="return CKEDITOR.tools.callFunction(11, event);" onkeydown="return CKEDITOR.tools.callFunction(10, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_12_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_12"><span class="cke_icon"> </span><span class="cke_label" id="cke_12_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_13"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(15, this); return false;" onfocus="return CKEDITOR.tools.callFunction(14, event);" onkeydown="return CKEDITOR.tools.callFunction(13, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_14_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_14"><span class="cke_icon"> </span><span class="cke_label" id="cke_14_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(18, this); return false;" onfocus="return CKEDITOR.tools.callFunction(17, event);" onkeydown="return CKEDITOR.tools.callFunction(16, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_15_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_15"><span class="cke_icon"> </span><span class="cke_label" id="cke_15_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(21, this); return false;" onfocus="return CKEDITOR.tools.callFunction(20, event);" onkeydown="return CKEDITOR.tools.callFunction(19, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_16_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_16"><span class="cke_icon"> </span><span class="cke_label" id="cke_16_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_17"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(24, this); return false;" onfocus="return CKEDITOR.tools.callFunction(23, event);" onkeydown="return CKEDITOR.tools.callFunction(22, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_18_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_18"><span class="cke_icon"> </span><span class="cke_label" id="cke_18_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(27, this); return false;" onfocus="return CKEDITOR.tools.callFunction(26, event);" onkeydown="return CKEDITOR.tools.callFunction(25, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_19_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_19"><span class="cke_icon"> </span><span class="cke_label" id="cke_19_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(30, this); return false;" onfocus="return CKEDITOR.tools.callFunction(29, event);" onkeydown="return CKEDITOR.tools.callFunction(28, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_20_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_20"><span class="cke_icon"> </span><span class="cke_label" id="cke_20_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(31)" class="cke_toolbox_collapser" tabindex="-1" id="cke_21" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_voice_label" id="cke_25">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_0_translations_attributes_0_body" aria-describedby="cke_25" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_0_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(3, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_0_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_0_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table><style>.cke_skin_kama{visibility:hidden;}</style></span></span></span><script type="text/javascript">
|
96
|
+
//<![CDATA[
|
97
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_0_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_0_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_0_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_0_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
98
|
+
//]]>
|
99
|
+
</script>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
<li id="page_sections_attributes_0_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][0][translations_attributes][0][locale]" id="page_sections_attributes_0_translations_attributes_0_locale" />
|
103
|
+
|
104
|
+
</li>
|
105
|
+
<li id="page_sections_attributes_1_translations_attributes_0_body_input" class="ckeditor input optional" style="display: none;"><label for="page_sections_attributes_1_translations_attributes_0_body" class=" label">Content part</label><textarea rows="20" name="page[sections_attributes][1][translations_attributes][0][body]" id="page_sections_attributes_1_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_1_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_2 cke_editor_page_sections_attributes_1_translations_attributes_0_body" id="cke_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_1_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_1_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_32" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_32">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_33"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(39, this); return false;" onfocus="return CKEDITOR.tools.callFunction(38, event);" onkeydown="return CKEDITOR.tools.callFunction(37, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_34_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_34" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_34_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(42, this); return false;" onfocus="return CKEDITOR.tools.callFunction(41, event);" onkeydown="return CKEDITOR.tools.callFunction(40, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_35_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_35" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_35_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(45, this); return false;" onfocus="return CKEDITOR.tools.callFunction(44, event);" onkeydown="return CKEDITOR.tools.callFunction(43, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_36_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_36"><span class="cke_icon"> </span><span class="cke_label" id="cke_36_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_37"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(48, this); return false;" onfocus="return CKEDITOR.tools.callFunction(47, event);" onkeydown="return CKEDITOR.tools.callFunction(46, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_38_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_38"><span class="cke_icon"> </span><span class="cke_label" id="cke_38_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(51, this); return false;" onfocus="return CKEDITOR.tools.callFunction(50, event);" onkeydown="return CKEDITOR.tools.callFunction(49, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_39_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_39"><span class="cke_icon"> </span><span class="cke_label" id="cke_39_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(54, this); return false;" onfocus="return CKEDITOR.tools.callFunction(53, event);" onkeydown="return CKEDITOR.tools.callFunction(52, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_40_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_40"><span class="cke_icon"> </span><span class="cke_label" id="cke_40_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_41"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(57, this); return false;" onfocus="return CKEDITOR.tools.callFunction(56, event);" onkeydown="return CKEDITOR.tools.callFunction(55, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_42_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_42"><span class="cke_icon"> </span><span class="cke_label" id="cke_42_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(60, this); return false;" onfocus="return CKEDITOR.tools.callFunction(59, event);" onkeydown="return CKEDITOR.tools.callFunction(58, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_43_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_43"><span class="cke_icon"> </span><span class="cke_label" id="cke_43_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(63, this); return false;" onfocus="return CKEDITOR.tools.callFunction(62, event);" onkeydown="return CKEDITOR.tools.callFunction(61, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_44_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_44"><span class="cke_icon"> </span><span class="cke_label" id="cke_44_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(64)" class="cke_toolbox_collapser" tabindex="-1" id="cke_45" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_voice_label" id="cke_49">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_1_translations_attributes_0_body" aria-describedby="cke_49" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_1_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(36, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_1_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_1_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table></span></span></span><script type="text/javascript">
|
106
|
+
//<![CDATA[
|
107
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_1_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_1_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_1_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_1_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
108
|
+
//]]>
|
109
|
+
</script>
|
110
|
+
|
111
|
+
</li>
|
112
|
+
<li id="page_sections_attributes_1_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][1][translations_attributes][0][locale]" id="page_sections_attributes_1_translations_attributes_0_locale" />
|
113
|
+
|
114
|
+
</li>
|
115
|
+
<li id="page_sections_attributes_2_translations_attributes_0_body_input" class="ckeditor input optional" style="display: none;"><label for="page_sections_attributes_2_translations_attributes_0_body" class=" label">Footer part</label><textarea rows="20" name="page[sections_attributes][2][translations_attributes][0][body]" id="page_sections_attributes_2_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_2_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_3 cke_editor_page_sections_attributes_2_translations_attributes_0_body" id="cke_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_2_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_2_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_55" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_55">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_56"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(72, this); return false;" onfocus="return CKEDITOR.tools.callFunction(71, event);" onkeydown="return CKEDITOR.tools.callFunction(70, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_57_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_57" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_57_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(75, this); return false;" onfocus="return CKEDITOR.tools.callFunction(74, event);" onkeydown="return CKEDITOR.tools.callFunction(73, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_58_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_58" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_58_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(78, this); return false;" onfocus="return CKEDITOR.tools.callFunction(77, event);" onkeydown="return CKEDITOR.tools.callFunction(76, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_59_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_59"><span class="cke_icon"> </span><span class="cke_label" id="cke_59_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_60"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(81, this); return false;" onfocus="return CKEDITOR.tools.callFunction(80, event);" onkeydown="return CKEDITOR.tools.callFunction(79, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_61_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_61"><span class="cke_icon"> </span><span class="cke_label" id="cke_61_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(84, this); return false;" onfocus="return CKEDITOR.tools.callFunction(83, event);" onkeydown="return CKEDITOR.tools.callFunction(82, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_62_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_62"><span class="cke_icon"> </span><span class="cke_label" id="cke_62_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(87, this); return false;" onfocus="return CKEDITOR.tools.callFunction(86, event);" onkeydown="return CKEDITOR.tools.callFunction(85, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_63_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_63"><span class="cke_icon"> </span><span class="cke_label" id="cke_63_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_64"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(90, this); return false;" onfocus="return CKEDITOR.tools.callFunction(89, event);" onkeydown="return CKEDITOR.tools.callFunction(88, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_65_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_65"><span class="cke_icon"> </span><span class="cke_label" id="cke_65_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(93, this); return false;" onfocus="return CKEDITOR.tools.callFunction(92, event);" onkeydown="return CKEDITOR.tools.callFunction(91, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_66_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_66"><span class="cke_icon"> </span><span class="cke_label" id="cke_66_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(96, this); return false;" onfocus="return CKEDITOR.tools.callFunction(95, event);" onkeydown="return CKEDITOR.tools.callFunction(94, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_67_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_67"><span class="cke_icon"> </span><span class="cke_label" id="cke_67_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(97)" class="cke_toolbox_collapser" tabindex="-1" id="cke_68" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_voice_label" id="cke_72">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_2_translations_attributes_0_body" aria-describedby="cke_72" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_2_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(69, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_2_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_2_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table></span></span></span><script type="text/javascript">
|
116
|
+
//<![CDATA[
|
117
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_2_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_2_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_2_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_2_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
118
|
+
//]]>
|
119
|
+
</script>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
<li id="page_sections_attributes_2_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][2][translations_attributes][0][locale]" id="page_sections_attributes_2_translations_attributes_0_locale" />
|
123
|
+
|
124
|
+
</li>
|
125
|
+
</ol>
|
126
|
+
</ol></fieldset>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
<fieldset class="actions"><ol><li id="page_submit_action" class="action input_action "><input type="submit" value="Create Page" name="commit" /></li>
|
130
|
+
<li class="cancel">
|
131
|
+
<a href="/admin/pages">Cancel</a>
|
132
|
+
</li>
|
133
|
+
</ol></fieldset></form>
|
134
|
+
<script>
|
135
|
+
//<![CDATA[
|
136
|
+
function is_link_url(){
|
137
|
+
if($('input#page_is_link_url').is(':checked')){
|
138
|
+
$('.link-url-hide, textarea').closest('li').hide();
|
139
|
+
$('li#page_link_url_input').show();
|
140
|
+
}else{
|
141
|
+
$('li#page_link_url_input').hide();
|
142
|
+
$('.link-url-hide, textarea').closest('li').show();
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
$(function() {
|
147
|
+
$(".language-tabs").tabs();
|
148
|
+
is_link_url();
|
149
|
+
|
150
|
+
$("input[id$='_title']").blur(function(){
|
151
|
+
slugId = '#' + $(this).attr('id').replace('_title', '_slug');
|
152
|
+
if ($(slugId).attr('value') == '') {
|
153
|
+
$(slugId).attr('value', slug($(this).attr('value')) )
|
154
|
+
}
|
155
|
+
|
156
|
+
browserTitleId = '#' + $(this).attr('id').replace('_title', '_browser_title');
|
157
|
+
if ($(browserTitleId).attr('value') == '') {
|
158
|
+
$(browserTitleId).attr('value', $(this).attr('value') )
|
159
|
+
}
|
160
|
+
});
|
161
|
+
|
162
|
+
$('input#page_is_link_url').change(function(){
|
163
|
+
is_link_url();
|
164
|
+
});
|
165
|
+
|
166
|
+
$('select#page_layout_name').change(function(){
|
167
|
+
$(this).closest('form').find('input[name="_change_layout"]').attr('value','1');
|
168
|
+
$(this).closest('form').submit();
|
169
|
+
});
|
170
|
+
});
|
171
|
+
//]]>
|
172
|
+
</script>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
<div id="footer" class="footer">
|
177
|
+
<p>Powered by <a href="http://www.activeadmin.info">Active Admin</a> 0.5.1</p>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</body></html>
|
@@ -0,0 +1,182 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
3
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-type" />
|
4
|
+
<title>New Page | Dummy</title>
|
5
|
+
<link type="text/css" rel="stylesheet" media="screen" href="/assets/active_admin.css" /><link type="text/css" rel="stylesheet" media="print" href="/assets/active_admin/print.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/jquery-ui.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/custom.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.css" /><link type="text/css" rel="stylesheet" media="screen" href="/assets/active_admin.css" /><link type="text/css" rel="stylesheet" media="print" href="/assets/active_admin/print.css" /> <script type="text/javascript" src="/assets/active_admin.js"></script>
|
6
|
+
<script type="text/javascript" src="/assets/active_admin/base.js"></script>
|
7
|
+
<script type="text/javascript" src="/assets/ckeditor/init.js"></script>
|
8
|
+
<script type="text/javascript" src="/assets/activeadmin-selleo-cms/custom.js"></script>
|
9
|
+
<script type="text/javascript" src="/assets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.js"></script>
|
10
|
+
<script type="text/javascript" src="/assets/active_admin.js"></script>
|
11
|
+
<script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/config.js?t=C6HH5UF"></script><link rel="stylesheet" type="text/css" href="http://127.0.0.1:33877/assets/ckeditor/skins/kama/editor.css?t=C6HH5UF" /><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/embed/plugin.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/attachment/plugin.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/embed/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/attachment/lang/en.js?t=C6HH5UF"></script><script type="text/javascript" src="http://127.0.0.1:33877/assets/ckeditor/plugins/styles/styles/default.js?t=C6HH5UF"></script></head>
|
12
|
+
<body class="new admin_pages active_admin logged_in admin_namespace" onpageshow='event.persisted && (function(){var allInstances = CKEDITOR.instances, editor, doc;for ( var i in allInstances ){ editor = allInstances[ i ]; doc = editor.document; if ( doc ) { doc.$.designMode = "off"; doc.$.designMode = "on"; }}})();'>
|
13
|
+
<div id="wrapper">
|
14
|
+
<div id="header" class="header">
|
15
|
+
<h1 id="site_title" class="site_title">Dummy</h1>
|
16
|
+
<ul id="tabs" class="header-item">
|
17
|
+
<li id="dashboard"><a href="/admin/dashboard">Dashboard</a></li>
|
18
|
+
<li id="assets"><a href="/admin/assets">Assets</a></li>
|
19
|
+
<li id="locales"><a href="/admin/locales">Locales</a></li>
|
20
|
+
<li id="pages" class="current"><a href="/admin/pages">Pages</a></li>
|
21
|
+
<li id="sections"><a href="/admin/sections">Sections</a></li>
|
22
|
+
<li id="translations"><a href="/admin/translations">Translations</a></li>
|
23
|
+
</ul>
|
24
|
+
<p id="utility_nav" class="header-item">
|
25
|
+
<span class="current_user">admin@example.com</span>
|
26
|
+
<a data-method="get" href="/admin/logout">Logout</a> </p>
|
27
|
+
</div>
|
28
|
+
<div id="title_bar" class="title_bar">
|
29
|
+
<div id="titlebar_left">
|
30
|
+
<span class="breadcrumb">
|
31
|
+
<a href="/admin">Admin</a> <span class="breadcrumb_sep">/</span>
|
32
|
+
<a href="/admin/pages">Pages</a> <span class="breadcrumb_sep">/</span>
|
33
|
+
</span>
|
34
|
+
<h2 id="page_title">New Page</h2>
|
35
|
+
</div>
|
36
|
+
<div id="titlebar_right"></div>
|
37
|
+
</div>
|
38
|
+
<div class="without_sidebar" id="active_admin_content">
|
39
|
+
<div id="main_content_wrapper">
|
40
|
+
<div id="main_content"><form novalidate="novalidate" method="post" id="new_page" enctype="multipart/form-data" class="formtastic activeadmin_selleo_cms_page" action="/admin/pages" accept-charset="UTF-8"><div style="margin:0;padding:0;display:inline"><input type="hidden" value="✓" name="utf8" /></div>
|
41
|
+
<input type="hidden" name="_change_layout" />
|
42
|
+
<fieldset class="inputs"><legend><span>General options</span></legend><ol><li id="page_layout_name_input" class="select input required"><label for="page_layout_name" class=" label">Layout name<abbr title="required">*</abbr></label><select name="page[layout_name]" id="page_layout_name"><option value="application">application</option>
|
43
|
+
<option selected="selected" value="cms">cms</option></select>
|
44
|
+
|
45
|
+
<p class="inline-hints">The form will reload on change</p></li>
|
46
|
+
<li id="page_parent_id_input" class="select input optional"><label for="page_parent_id" class=" label">Parent</label><select name="page[parent_id]" id="page_parent_id"><option value=""></option>
|
47
|
+
</select>
|
48
|
+
|
49
|
+
</li>
|
50
|
+
<li id="page_is_published_input" class="boolean input optional"><input type="hidden" value="0" name="page[is_published]" /><label for="page_is_published" class=""><input type="checkbox" value="1" name="page[is_published]" id="page_is_published" />Is published</label>
|
51
|
+
|
52
|
+
</li>
|
53
|
+
<li id="page_redirect_to_first_sub_page_input" class="boolean input optional"><input type="hidden" value="0" name="page[redirect_to_first_sub_page]" /><label for="page_redirect_to_first_sub_page" class=""><input type="checkbox" value="1" name="page[redirect_to_first_sub_page]" id="page_redirect_to_first_sub_page" />Redirect to first sub page</label>
|
54
|
+
|
55
|
+
</li>
|
56
|
+
<li id="page_is_link_url_input" class="boolean input optional"><input type="hidden" value="0" name="page[is_link_url]" /><label for="page_is_link_url" class=""><input type="checkbox" value="1" name="page[is_link_url]" id="page_is_link_url" />Is link url</label>
|
57
|
+
|
58
|
+
</li>
|
59
|
+
<li id="page_link_url_input" class="url input optional stringish" style="display: none;"><label for="page_link_url" class=" label">Link url</label><input type="url" name="page[link_url]" maxlength="255" id="page_link_url" />
|
60
|
+
|
61
|
+
<p class="inline-hints">Enter remote URL including the http part at the beginning</p></li>
|
62
|
+
</ol></fieldset><li id="page_sections_attributes_0_name_input" class="hidden input required"><input type="hidden" value="header" name="page[sections_attributes][0][name]" id="page_sections_attributes_0_name" />
|
63
|
+
|
64
|
+
</li>
|
65
|
+
<li id="page_sections_attributes_1_name_input" class="hidden input required"><input type="hidden" value="content" name="page[sections_attributes][1][name]" id="page_sections_attributes_1_name" />
|
66
|
+
|
67
|
+
</li>
|
68
|
+
<li id="page_sections_attributes_2_name_input" class="hidden input required"><input type="hidden" value="footer" name="page[sections_attributes][2][name]" id="page_sections_attributes_2_name" />
|
69
|
+
|
70
|
+
</li>
|
71
|
+
<div class="language-tabs ui-tabs ui-widget ui-widget-content ui-corner-all">
|
72
|
+
<ul class="language-selection ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all" role="tablist">
|
73
|
+
<li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active" role="tab" tabindex="0" aria-controls="lang-en" aria-labelledby="ui-id-1" aria-selected="true"><a href="#lang-en" class="ui-tabs-anchor" role="presentation" tabindex="-1" id="ui-id-1">English</a></li>
|
74
|
+
</ul>
|
75
|
+
<div style="" id="lang-en" aria-labelledby="ui-id-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom" role="tabpanel" aria-expanded="true" aria-hidden="false">
|
76
|
+
<fieldset class="inputs"><legend><span>English translation</span></legend><ol><ol>
|
77
|
+
<li id="page_translations_attributes_0_title_input" class="string input required stringish"><label for="page_translations_attributes_0_title" class=" label">Title<abbr title="required">*</abbr></label><input type="text" name="page[translations_attributes][0][title]" maxlength="255" id="page_translations_attributes_0_title" />
|
78
|
+
|
79
|
+
</li>
|
80
|
+
<li id="page_translations_attributes_0_slug_input" class="string input required stringish"><label for="page_translations_attributes_0_slug" class=" label">Slug<abbr title="required">*</abbr></label><input type="text" name="page[translations_attributes][0][slug]" maxlength="255" id="page_translations_attributes_0_slug" value="sample-page" />
|
81
|
+
|
82
|
+
</li>
|
83
|
+
<li id="page_translations_attributes_0_browser_title_input" class="string input optional stringish"><label for="page_translations_attributes_0_browser_title" class=" label">Browser title</label><input type="text" name="page[translations_attributes][0][browser_title]" maxlength="255" id="page_translations_attributes_0_browser_title" class="link-url-hide" value="Sample page" />
|
84
|
+
|
85
|
+
</li>
|
86
|
+
<li id="page_translations_attributes_0_meta_keywords_input" class="string input optional stringish"><label for="page_translations_attributes_0_meta_keywords" class=" label">Meta keywords</label><input type="text" name="page[translations_attributes][0][meta_keywords]" maxlength="255" id="page_translations_attributes_0_meta_keywords" class="link-url-hide" />
|
87
|
+
|
88
|
+
</li>
|
89
|
+
<li id="page_translations_attributes_0_meta_description_input" class="text input optional"><label for="page_translations_attributes_0_meta_description" class=" label">Meta description</label><textarea rows="3" name="page[translations_attributes][0][meta_description]" id="page_translations_attributes_0_meta_description" class="link-url-hide"></textarea>
|
90
|
+
|
91
|
+
</li>
|
92
|
+
<li id="page_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[translations_attributes][0][locale]" id="page_translations_attributes_0_locale" />
|
93
|
+
|
94
|
+
</li>
|
95
|
+
<li id="page_sections_attributes_0_translations_attributes_0_body_input" class="ckeditor input optional"><label for="page_sections_attributes_0_translations_attributes_0_body" class=" label">Header part</label><textarea rows="20" name="page[sections_attributes][0][translations_attributes][0][body]" id="page_sections_attributes_0_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_0_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_1 cke_editor_page_sections_attributes_0_translations_attributes_0_body" id="cke_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_0_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_0_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_8" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_8">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_9"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(6, this); return false;" onfocus="return CKEDITOR.tools.callFunction(5, event);" onkeydown="return CKEDITOR.tools.callFunction(4, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_10_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_10" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_10_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(9, this); return false;" onfocus="return CKEDITOR.tools.callFunction(8, event);" onkeydown="return CKEDITOR.tools.callFunction(7, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_11_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_11" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_11_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(12, this); return false;" onfocus="return CKEDITOR.tools.callFunction(11, event);" onkeydown="return CKEDITOR.tools.callFunction(10, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_12_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_12"><span class="cke_icon"> </span><span class="cke_label" id="cke_12_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_13"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(15, this); return false;" onfocus="return CKEDITOR.tools.callFunction(14, event);" onkeydown="return CKEDITOR.tools.callFunction(13, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_14_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_14"><span class="cke_icon"> </span><span class="cke_label" id="cke_14_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(18, this); return false;" onfocus="return CKEDITOR.tools.callFunction(17, event);" onkeydown="return CKEDITOR.tools.callFunction(16, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_15_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_15"><span class="cke_icon"> </span><span class="cke_label" id="cke_15_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(21, this); return false;" onfocus="return CKEDITOR.tools.callFunction(20, event);" onkeydown="return CKEDITOR.tools.callFunction(19, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_16_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_16"><span class="cke_icon"> </span><span class="cke_label" id="cke_16_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_17"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(24, this); return false;" onfocus="return CKEDITOR.tools.callFunction(23, event);" onkeydown="return CKEDITOR.tools.callFunction(22, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_18_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_18"><span class="cke_icon"> </span><span class="cke_label" id="cke_18_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(27, this); return false;" onfocus="return CKEDITOR.tools.callFunction(26, event);" onkeydown="return CKEDITOR.tools.callFunction(25, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_19_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_19"><span class="cke_icon"> </span><span class="cke_label" id="cke_19_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(30, this); return false;" onfocus="return CKEDITOR.tools.callFunction(29, event);" onkeydown="return CKEDITOR.tools.callFunction(28, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_20_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_20"><span class="cke_icon"> </span><span class="cke_label" id="cke_20_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(31)" class="cke_toolbox_collapser" tabindex="-1" id="cke_21" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_voice_label" id="cke_25">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_0_translations_attributes_0_body" aria-describedby="cke_25" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_0_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(3, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_0_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_0_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_0_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table><style>.cke_skin_kama{visibility:hidden;}</style></span></span></span><script type="text/javascript">
|
96
|
+
//<![CDATA[
|
97
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_0_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_0_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_0_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_0_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
98
|
+
//]]>
|
99
|
+
</script>
|
100
|
+
|
101
|
+
</li>
|
102
|
+
<li id="page_sections_attributes_0_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][0][translations_attributes][0][locale]" id="page_sections_attributes_0_translations_attributes_0_locale" />
|
103
|
+
|
104
|
+
</li>
|
105
|
+
<li id="page_sections_attributes_1_translations_attributes_0_body_input" class="ckeditor input optional"><label for="page_sections_attributes_1_translations_attributes_0_body" class=" label">Content part</label><textarea rows="20" name="page[sections_attributes][1][translations_attributes][0][body]" id="page_sections_attributes_1_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_1_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_2 cke_editor_page_sections_attributes_1_translations_attributes_0_body" id="cke_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_1_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_1_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_32" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_32">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_33"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(39, this); return false;" onfocus="return CKEDITOR.tools.callFunction(38, event);" onkeydown="return CKEDITOR.tools.callFunction(37, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_34_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_34" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_34_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(42, this); return false;" onfocus="return CKEDITOR.tools.callFunction(41, event);" onkeydown="return CKEDITOR.tools.callFunction(40, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_35_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_35" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_35_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(45, this); return false;" onfocus="return CKEDITOR.tools.callFunction(44, event);" onkeydown="return CKEDITOR.tools.callFunction(43, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_36_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_36"><span class="cke_icon"> </span><span class="cke_label" id="cke_36_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_37"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(48, this); return false;" onfocus="return CKEDITOR.tools.callFunction(47, event);" onkeydown="return CKEDITOR.tools.callFunction(46, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_38_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_38"><span class="cke_icon"> </span><span class="cke_label" id="cke_38_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(51, this); return false;" onfocus="return CKEDITOR.tools.callFunction(50, event);" onkeydown="return CKEDITOR.tools.callFunction(49, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_39_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_39"><span class="cke_icon"> </span><span class="cke_label" id="cke_39_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(54, this); return false;" onfocus="return CKEDITOR.tools.callFunction(53, event);" onkeydown="return CKEDITOR.tools.callFunction(52, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_40_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_40"><span class="cke_icon"> </span><span class="cke_label" id="cke_40_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_41"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(57, this); return false;" onfocus="return CKEDITOR.tools.callFunction(56, event);" onkeydown="return CKEDITOR.tools.callFunction(55, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_42_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_42"><span class="cke_icon"> </span><span class="cke_label" id="cke_42_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(60, this); return false;" onfocus="return CKEDITOR.tools.callFunction(59, event);" onkeydown="return CKEDITOR.tools.callFunction(58, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_43_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_43"><span class="cke_icon"> </span><span class="cke_label" id="cke_43_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(63, this); return false;" onfocus="return CKEDITOR.tools.callFunction(62, event);" onkeydown="return CKEDITOR.tools.callFunction(61, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_44_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_44"><span class="cke_icon"> </span><span class="cke_label" id="cke_44_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(64)" class="cke_toolbox_collapser" tabindex="-1" id="cke_45" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_voice_label" id="cke_49">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_1_translations_attributes_0_body" aria-describedby="cke_49" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_1_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(36, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_1_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_1_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_1_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table></span></span></span><script type="text/javascript">
|
106
|
+
//<![CDATA[
|
107
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_1_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_1_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_1_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_1_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
108
|
+
//]]>
|
109
|
+
</script>
|
110
|
+
|
111
|
+
</li>
|
112
|
+
<li id="page_sections_attributes_1_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][1][translations_attributes][0][locale]" id="page_sections_attributes_1_translations_attributes_0_locale" />
|
113
|
+
|
114
|
+
</li>
|
115
|
+
<li id="page_sections_attributes_2_translations_attributes_0_body_input" class="ckeditor input optional"><label for="page_sections_attributes_2_translations_attributes_0_body" class=" label">Footer part</label><textarea rows="20" name="page[sections_attributes][2][translations_attributes][0][body]" id="page_sections_attributes_2_translations_attributes_0_body" cols="40" style="visibility: hidden; display: none;"></textarea><span lang="en" style="width: 800px;" aria-labelledby="cke_page_sections_attributes_2_translations_attributes_0_body_arialbl" role="application" title=" " dir="ltr" class="cke_skin_kama cke_3 cke_editor_page_sections_attributes_2_translations_attributes_0_body" id="cke_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_voice_label" id="cke_page_sections_attributes_2_translations_attributes_0_body_arialbl">Rich Text Editor</span><span role="presentation" class="cke_browser_gecko"><span role="presentation" class="cke_wrapper cke_ltr"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="cke_editor"><tbody><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_top" id="cke_top_page_sections_attributes_2_translations_attributes_0_body"><div onmousedown="return false;" aria-labelledby="cke_55" role="group" class="cke_toolbox"><span class="cke_voice_label" id="cke_55">Editor toolbars</span><span role="toolbar" class="cke_toolbar" id="cke_56"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(72, this); return false;" onfocus="return CKEDITOR.tools.callFunction(71, event);" onkeydown="return CKEDITOR.tools.callFunction(70, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_57_label" role="button" hidefocus="true" tabindex="-1" title="Cut" class="cke_button_cut cke_disabled" id="cke_57" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_57_label">Cut</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(75, this); return false;" onfocus="return CKEDITOR.tools.callFunction(74, event);" onkeydown="return CKEDITOR.tools.callFunction(73, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_58_label" role="button" hidefocus="true" tabindex="-1" title="Copy" class="cke_button_copy cke_disabled" id="cke_58" aria-disabled="true"><span class="cke_icon"> </span><span class="cke_label" id="cke_58_label">Copy</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(78, this); return false;" onfocus="return CKEDITOR.tools.callFunction(77, event);" onkeydown="return CKEDITOR.tools.callFunction(76, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_59_label" role="button" hidefocus="true" tabindex="-1" title="Paste" class="cke_off cke_button_paste" id="cke_59"><span class="cke_icon"> </span><span class="cke_label" id="cke_59_label">Paste</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_60"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(81, this); return false;" onfocus="return CKEDITOR.tools.callFunction(80, event);" onkeydown="return CKEDITOR.tools.callFunction(79, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_61_label" role="button" hidefocus="true" tabindex="-1" title="Bold" class="cke_off cke_button_bold" id="cke_61"><span class="cke_icon"> </span><span class="cke_label" id="cke_61_label">Bold</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(84, this); return false;" onfocus="return CKEDITOR.tools.callFunction(83, event);" onkeydown="return CKEDITOR.tools.callFunction(82, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_62_label" role="button" hidefocus="true" tabindex="-1" title="Italic" class="cke_off cke_button_italic" id="cke_62"><span class="cke_icon"> </span><span class="cke_label" id="cke_62_label">Italic</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(87, this); return false;" onfocus="return CKEDITOR.tools.callFunction(86, event);" onkeydown="return CKEDITOR.tools.callFunction(85, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_63_label" role="button" hidefocus="true" tabindex="-1" title="Underline" class="cke_off cke_button_underline" id="cke_63"><span class="cke_icon"> </span><span class="cke_label" id="cke_63_label">Underline</span></a></span></span><span class="cke_toolbar_end"></span></span><span role="toolbar" class="cke_toolbar" id="cke_64"><span class="cke_toolbar_start"></span><span role="presentation" class="cke_toolgroup"><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(90, this); return false;" onfocus="return CKEDITOR.tools.callFunction(89, event);" onkeydown="return CKEDITOR.tools.callFunction(88, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_65_label" role="button" hidefocus="true" tabindex="-1" title="Align Left" class="cke_off cke_button_justifyleft" id="cke_65"><span class="cke_icon"> </span><span class="cke_label" id="cke_65_label">Align Left</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(93, this); return false;" onfocus="return CKEDITOR.tools.callFunction(92, event);" onkeydown="return CKEDITOR.tools.callFunction(91, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_66_label" role="button" hidefocus="true" tabindex="-1" title="Center" class="cke_off cke_button_justifycenter" id="cke_66"><span class="cke_icon"> </span><span class="cke_label" id="cke_66_label">Center</span></a></span><span class="cke_button"><a onclick="CKEDITOR.tools.callFunction(96, this); return false;" onfocus="return CKEDITOR.tools.callFunction(95, event);" onkeydown="return CKEDITOR.tools.callFunction(94, event);" onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_67_label" role="button" hidefocus="true" tabindex="-1" title="Align Right" class="cke_off cke_button_justifyright" id="cke_67"><span class="cke_icon"> </span><span class="cke_label" id="cke_67_label">Align Right</span></a></span></span><span class="cke_toolbar_end"></span></span></div><a onclick="CKEDITOR.tools.callFunction(97)" class="cke_toolbox_collapser" tabindex="-1" id="cke_68" title="Collapse Toolbar"><span>▲</span></a></td></tr><tr role="presentation"><td role="presentation" style="height:200px" class="cke_contents" id="cke_contents_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_voice_label" id="cke_72">Press ALT 0 for help</span><iframe frameborder="0" allowtransparency="true" tabindex="0" src="" title="Rich text editor, page_sections_attributes_2_translations_attributes_0_body" aria-describedby="cke_72" style="width:100%;height:100%"></iframe></td></tr><tr role="presentation" style="-moz-user-select: none;"><td role="presentation" class="cke_bottom" id="cke_bottom_page_sections_attributes_2_translations_attributes_0_body"><div onmousedown="CKEDITOR.tools.callFunction(69, event)" title="Drag to resize" class="cke_resizer cke_resizer_ltr"></div><span class="cke_voice_label" id="cke_path_page_sections_attributes_2_translations_attributes_0_body_label">Elements path</span><div aria-labelledby="cke_path_page_sections_attributes_2_translations_attributes_0_body_label" role="group" class="cke_path" id="cke_path_page_sections_attributes_2_translations_attributes_0_body"><span class="cke_empty"> </span></div></td></tr></tbody></table></span></span></span><script type="text/javascript">
|
116
|
+
//<![CDATA[
|
117
|
+
(function() { if (CKEDITOR.instances['page_sections_attributes_2_translations_attributes_0_body']) {CKEDITOR.remove(CKEDITOR.instances['page_sections_attributes_2_translations_attributes_0_body']);}CKEDITOR.replace('page_sections_attributes_2_translations_attributes_0_body', {"language":"en","namespace":null,"id":"page_sections_attributes_2_translations_attributes_0_body","required":false,"autofocus":false,"toolbar":"Minimal"}); }).call(this);
|
118
|
+
//]]>
|
119
|
+
</script>
|
120
|
+
|
121
|
+
</li>
|
122
|
+
<li id="page_sections_attributes_2_translations_attributes_0_locale_input" class="hidden input required"><input type="hidden" value="en" name="page[sections_attributes][2][translations_attributes][0][locale]" id="page_sections_attributes_2_translations_attributes_0_locale" />
|
123
|
+
|
124
|
+
</li>
|
125
|
+
</ol>
|
126
|
+
</ol></fieldset>
|
127
|
+
</div>
|
128
|
+
</div>
|
129
|
+
<fieldset class="actions"><ol><li id="page_submit_action" class="action input_action "><input type="submit" value="Create Page" name="commit" /></li>
|
130
|
+
<li class="cancel">
|
131
|
+
<a href="/admin/pages">Cancel</a>
|
132
|
+
</li>
|
133
|
+
</ol></fieldset></form>
|
134
|
+
<script>
|
135
|
+
//<![CDATA[
|
136
|
+
function is_link_url(){
|
137
|
+
if($('input#page_is_link_url').is(':checked')){
|
138
|
+
$('.link-url-hide, textarea').closest('li').hide();
|
139
|
+
$('li#page_link_url_input').show();
|
140
|
+
}else{
|
141
|
+
$('li#page_link_url_input').hide();
|
142
|
+
$('.link-url-hide, textarea').closest('li').show();
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
$(function() {
|
147
|
+
$(".language-tabs").tabs();
|
148
|
+
is_link_url();
|
149
|
+
|
150
|
+
$("input[id$='_title']").blur(function(){
|
151
|
+
slugId = '#' + $(this).attr('id').replace('_title', '_slug');
|
152
|
+
if ($(slugId).attr('value') == '') {
|
153
|
+
$(slugId).attr('value', slug($(this).attr('value')) )
|
154
|
+
}
|
155
|
+
|
156
|
+
browserTitleId = '#' + $(this).attr('id').replace('_title', '_browser_title');
|
157
|
+
if ($(browserTitleId).attr('value') == '') {
|
158
|
+
$(browserTitleId).attr('value', $(this).attr('value') )
|
159
|
+
}
|
160
|
+
});
|
161
|
+
|
162
|
+
$('input#page_is_link_url').change(function(){
|
163
|
+
is_link_url();
|
164
|
+
});
|
165
|
+
|
166
|
+
$('select#page_layout_name').change(function(){
|
167
|
+
$(this).closest('form').find('input[name="_change_layout"]').attr('value','1');
|
168
|
+
$(this).closest('form').submit();
|
169
|
+
});
|
170
|
+
});
|
171
|
+
//]]>
|
172
|
+
</script>
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
</div>
|
176
|
+
<div id="footer" class="footer">
|
177
|
+
<p>Powered by <a href="http://www.activeadmin.info">Active Admin</a> 0.5.1</p>
|
178
|
+
</div>
|
179
|
+
</div>
|
180
|
+
|
181
|
+
|
182
|
+
</body></html>
|
@@ -140,6 +140,15 @@ module ActiveadminSelleoCms
|
|
140
140
|
page_section.translations.where(locale: 'da').first.body.should == "Updated DA header"
|
141
141
|
end
|
142
142
|
|
143
|
+
it "should create dynamic getters and setters from settings" do
|
144
|
+
page = FactoryGirl.create(:page, title: 'Test 1', settings: {:attr1 => 'Test 1'})
|
145
|
+
page.attr1
|
146
|
+
page = FactoryGirl.create(:page, title: 'Test 2', settings: {:attr2 => 'Test 2'})
|
147
|
+
page.attributes = { :attr2 => 'Test' }
|
148
|
+
page = FactoryGirl.create(:page, title: 'Test 3', settings: {:attr3 => 'Test 3'})
|
149
|
+
page.attr3 = 'Test'
|
150
|
+
end
|
151
|
+
|
143
152
|
end
|
144
153
|
|
145
154
|
end
|
@@ -12,7 +12,7 @@ def create_page
|
|
12
12
|
fill_in_ckeditor sections[2]['id'], with: "Some footer text"
|
13
13
|
end
|
14
14
|
click_button 'Create Page'
|
15
|
-
page.should have_content('
|
15
|
+
page.should have_content('Page was successfully created')
|
16
16
|
end
|
17
17
|
|
18
18
|
def create_link_url_page(link_url="http://example.org")
|
@@ -31,7 +31,7 @@ def create_link_url_page(link_url="http://example.org")
|
|
31
31
|
check "page_is_published"
|
32
32
|
fill_in "page_link_url", with: link_url
|
33
33
|
click_button 'Create Page'
|
34
|
-
page.should have_content('
|
34
|
+
page.should have_content('Page was successfully created')
|
35
35
|
end
|
36
36
|
|
37
37
|
def edit_link_url_page(link_url="http://example.org")
|
@@ -45,7 +45,7 @@ def edit_link_url_page(link_url="http://example.org")
|
|
45
45
|
end
|
46
46
|
fill_in "page_link_url", with: link_url
|
47
47
|
click_button 'Update Page'
|
48
|
-
page.should have_content('
|
48
|
+
page.should have_content('Page was successfully updated')
|
49
49
|
end
|
50
50
|
|
51
51
|
def translate_page(locale)
|
@@ -62,6 +62,6 @@ def translate_page(locale)
|
|
62
62
|
fill_in_ckeditor sections[2]['id'], with: "Some polish footer text"
|
63
63
|
end
|
64
64
|
click_button 'Update Page'
|
65
|
-
page.should have_content('
|
65
|
+
page.should have_content('Page was successfully updated')
|
66
66
|
end
|
67
67
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeadmin-selleo-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-02-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -366,8 +366,10 @@ files:
|
|
366
366
|
- app/admin/active_admin/views_helper.rb
|
367
367
|
- app/views/layouts/activeadmin_selleo_cms/application.html.erb
|
368
368
|
- app/views/admin/sections/_form.html.haml
|
369
|
+
- app/views/admin/pages/reorder.html.haml
|
369
370
|
- app/views/admin/pages/_form.html.haml
|
370
371
|
- app/views/admin/pages/_translated_fields.html.haml
|
372
|
+
- app/views/admin/pages/update_positions.js.erb
|
371
373
|
- app/views/admin/pages/_js.html.haml
|
372
374
|
- app/views/admin/assets/destroy.js.erb
|
373
375
|
- app/views/admin/translations/update.js.haml
|
@@ -376,12 +378,11 @@ files:
|
|
376
378
|
- app/views/active_admin/resource/update.js
|
377
379
|
- app/models/translation.rb
|
378
380
|
- app/models/activeadmin_selleo_cms/section.rb
|
379
|
-
- app/models/activeadmin_selleo_cms/
|
381
|
+
- app/models/activeadmin_selleo_cms/image.rb
|
380
382
|
- app/models/activeadmin_selleo_cms/locale.rb
|
381
383
|
- app/models/activeadmin_selleo_cms/attachment.rb
|
382
384
|
- app/models/activeadmin_selleo_cms/layout.rb
|
383
385
|
- app/models/activeadmin_selleo_cms/search.rb
|
384
|
-
- app/models/activeadmin_selleo_cms/header_image.rb
|
385
386
|
- app/models/activeadmin_selleo_cms/page.rb
|
386
387
|
- app/models/activeadmin_selleo_cms/asset.rb
|
387
388
|
- app/models/ckeditor/picture.rb
|
@@ -390,24 +391,28 @@ files:
|
|
390
391
|
- app/assets/stylesheets/activeadmin-selleo-cms/custom.css
|
391
392
|
- app/assets/stylesheets/activeadmin-selleo-cms/jquery-ui.css
|
392
393
|
- app/assets/stylesheets/activeadmin-selleo-cms/application.css
|
394
|
+
- app/assets/stylesheets/activeadmin-selleo-cms/jquery-ui-timepicker-addon.css
|
393
395
|
- app/assets/javascripts/activeadmin-selleo-cms/application.js
|
394
396
|
- app/assets/javascripts/activeadmin-selleo-cms/jquery.mjs.nestedSortable.js
|
397
|
+
- app/assets/javascripts/activeadmin-selleo-cms/jquery-ui-timepicker-addon.js
|
395
398
|
- app/assets/javascripts/activeadmin-selleo-cms/custom.js
|
396
399
|
- app/assets/javascripts/ckeditor/config.js
|
397
400
|
- app/helpers/pages_helper.rb
|
398
401
|
- app/modules/activeadmin_selleo_cms/content_translation.rb
|
399
|
-
- app/modules/active_admin/views/index_as_list.rb
|
400
402
|
- config/locales/cms.en.yml
|
401
403
|
- config/initializers/ckeditor.rb
|
402
404
|
- config/initializers/string_extensions.rb
|
403
405
|
- config/initializers/active_admin.rb
|
404
406
|
- config/initializers/i18n.rb
|
407
|
+
- config/initializers/formtastic.rb
|
405
408
|
- config/routes.rb
|
406
409
|
- db/migrate/20121129142932_create_activeadmin_selleo_cms_pages.rb
|
407
410
|
- db/migrate/20121206231053_create_activeadmin_selleo_cms_sections.rb
|
411
|
+
- db/migrate/20130206173233_change_activeadmin_selleo_cms_searches.rb
|
408
412
|
- db/migrate/20121129160200_create_activeadmin_selleo_cms_locales.rb
|
409
413
|
- db/migrate/20121227222912_create_translations.rb
|
410
414
|
- db/migrate/20121204112326_create_ckeditor_assets.rb
|
415
|
+
- db/migrate/20130207213528_change_activeadmin_selleo_cms_assets.rb
|
411
416
|
- db/migrate/20121221164723_create_activeadmin_selleo_cms_searches.rb
|
412
417
|
- db/migrate/20130102113712_create_activeadmin_selleo_cms_assets.rb
|
413
418
|
- db/migrate/20130108153415_add_redirect_to_first_sub_page.rb
|
@@ -456,10 +461,12 @@ files:
|
|
456
461
|
- spec/dummy/tmp/capybara/capybara-20130104132905416594354.html
|
457
462
|
- spec/dummy/tmp/capybara/capybara-201301032208428728814736.html
|
458
463
|
- spec/dummy/tmp/capybara/capybara-201301032135214184496341.html
|
464
|
+
- spec/dummy/tmp/capybara/capybara-201301312228302851745933.html
|
459
465
|
- spec/dummy/tmp/capybara/capybara-201301032302192245285533.html
|
460
466
|
- spec/dummy/tmp/capybara/capybara-201301032126472952827250.html
|
461
467
|
- spec/dummy/tmp/capybara/capybara-201301041330234942878999.html
|
462
468
|
- spec/dummy/tmp/capybara/capybara-201301032132524184496341.html
|
469
|
+
- spec/dummy/tmp/capybara/capybara-20130131222835626927814.html
|
463
470
|
- spec/dummy/tmp/capybara/capybara-201301032034089597215180.html
|
464
471
|
- spec/dummy/tmp/capybara/capybara-201301032308267223952141.html
|
465
472
|
- spec/dummy/tmp/capybara/capybara-201301032124584184496341.html
|
@@ -473,6 +480,7 @@ files:
|
|
473
480
|
- spec/dummy/tmp/capybara/capybara-201301032213308728814736.html
|
474
481
|
- spec/dummy/tmp/capybara/capybara-20130104095458614678021.html
|
475
482
|
- spec/dummy/tmp/capybara/capybara-201301032035334453799774.html
|
483
|
+
- spec/dummy/tmp/capybara/capybara-201301312228491329185040.html
|
476
484
|
- spec/dummy/tmp/capybara/capybara-201301041352463545367297.html
|
477
485
|
- spec/dummy/tmp/capybara/capybara-201301041352462005375483.html
|
478
486
|
- spec/dummy/tmp/capybara/capybara-201301040151281386048187.html
|
@@ -494,6 +502,7 @@ files:
|
|
494
502
|
- spec/dummy/tmp/capybara/capybara-201301032131032952827250.html
|
495
503
|
- spec/dummy/tmp/capybara/capybara-201301031512251370155161.html
|
496
504
|
- spec/dummy/tmp/capybara/capybara-201301101625154735808799.html
|
505
|
+
- spec/dummy/tmp/capybara/capybara-201301312228403892930584.html
|
497
506
|
- spec/dummy/tmp/capybara/capybara-201301040159255570831585.html
|
498
507
|
- spec/dummy/tmp/capybara/capybara-201301041417131187394181.html
|
499
508
|
- spec/dummy/tmp/capybara/capybara-201301032215468728814736.html
|
@@ -505,16 +514,21 @@ files:
|
|
505
514
|
- spec/dummy/tmp/capybara/capybara-201301040954159523473083.html
|
506
515
|
- spec/dummy/tmp/capybara/capybara-201301040151556247840864.html
|
507
516
|
- spec/dummy/tmp/capybara/capybara-201301032247479505517155.html
|
517
|
+
- spec/dummy/tmp/capybara/capybara-201301312228138539754304.html
|
518
|
+
- spec/dummy/tmp/capybara/capybara-201301312233093002404474.html
|
508
519
|
- spec/dummy/tmp/capybara/capybara-201301032214348728814736.html
|
509
520
|
- spec/dummy/tmp/capybara/capybara-201301040159165600231692.html
|
510
521
|
- spec/dummy/tmp/capybara/capybara-201301040149376318880784.html
|
511
522
|
- spec/dummy/tmp/capybara/capybara-201301041328012717066155.html
|
512
523
|
- spec/dummy/tmp/capybara/capybara-201301041357305224103157.html
|
513
524
|
- spec/dummy/tmp/capybara/capybara-201301032126464184496341.html
|
525
|
+
- spec/dummy/tmp/capybara/capybara-201301312232508358940406.html
|
514
526
|
- spec/dummy/tmp/capybara/capybara-201301032131024184496341.html
|
515
527
|
- spec/dummy/tmp/capybara/capybara-201301040159371887034725.html
|
516
528
|
- spec/dummy/tmp/capybara/capybara-201301032032279597215180.html
|
529
|
+
- spec/dummy/tmp/capybara/capybara-201301312233036556441968.html
|
517
530
|
- spec/dummy/tmp/capybara/capybara-201301031320104195682323.html
|
531
|
+
- spec/dummy/tmp/capybara/capybara-201301312232412606495803.html
|
518
532
|
- spec/dummy/tmp/capybara/capybara-201301041357311120034810.html
|
519
533
|
- spec/dummy/tmp/capybara/capybara-201301040150205672162843.html
|
520
534
|
- spec/dummy/tmp/capybara/capybara-201301032121244184496341.html
|
@@ -525,6 +539,8 @@ files:
|
|
525
539
|
- spec/dummy/tmp/capybara/capybara-201301040154294483302967.html
|
526
540
|
- spec/dummy/tmp/capybara/capybara-201301040200137472148088.html
|
527
541
|
- spec/dummy/tmp/capybara/capybara-201301040158561765801487.html
|
542
|
+
- spec/dummy/tmp/capybara/capybara-201301312228185417992211.html
|
543
|
+
- spec/dummy/tmp/capybara/capybara-201301312228232926906843.html
|
528
544
|
- spec/dummy/tmp/capybara/capybara-201301040150326401369639.html
|
529
545
|
- spec/dummy/tmp/capybara/capybara-201301040954089523473083.html
|
530
546
|
- spec/dummy/tmp/capybara/capybara-201301040152444027218977.html
|
@@ -543,10 +559,12 @@ files:
|
|
543
559
|
- spec/dummy/tmp/cache/assets/CE0/610/sprockets%2F1e45f803b1d77363e62d16ab9b6563e4
|
544
560
|
- spec/dummy/tmp/cache/assets/D8C/010/sprockets%2Fe062300d3c4a4ad3a295cacf8f095ae5
|
545
561
|
- spec/dummy/tmp/cache/assets/D87/A60/sprockets%2F288693ce9ee43015ce65cfa6db6c959f
|
562
|
+
- spec/dummy/tmp/cache/assets/CED/FB0/sprockets%2Fa675d17ed83804639ec0264b624d98ed
|
546
563
|
- spec/dummy/tmp/cache/assets/D96/480/sprockets%2Ff0f530cf5f5ff2454587da4b1143cbda
|
547
564
|
- spec/dummy/tmp/cache/assets/C9F/E00/sprockets%2F36659e2357c9f41838b629928df744dc
|
548
565
|
- spec/dummy/tmp/cache/assets/D21/EC0/sprockets%2Ffb07c164621254c42cac74a1dc0f42d0
|
549
566
|
- spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24
|
567
|
+
- spec/dummy/tmp/cache/assets/CE2/D80/sprockets%2F28a4d5b1a75700c7579e3773f34ccd71
|
550
568
|
- spec/dummy/tmp/cache/assets/D63/D90/sprockets%2F49d23b1afa2a2371d6a59ab852c9a6f2
|
551
569
|
- spec/dummy/tmp/cache/assets/D63/6C0/sprockets%2F1ae1f1cf9d92d0e61b7006171a39fd4d
|
552
570
|
- spec/dummy/tmp/cache/assets/D1B/EE0/sprockets%2F15c744dba76f6415db80b9e07729a8f7
|
@@ -562,6 +580,7 @@ files:
|
|
562
580
|
- spec/dummy/tmp/cache/assets/C64/250/sprockets%2F23739cb6a6e72732eb5709d969404767
|
563
581
|
- spec/dummy/tmp/cache/assets/D58/3E0/sprockets%2F460c4b0c82219cba8b72aca02473fc5d
|
564
582
|
- spec/dummy/tmp/cache/assets/DF9/080/sprockets%2Fb180a6ed5da1cfa7ac83ea737d5907be
|
583
|
+
- spec/dummy/tmp/cache/assets/D5C/1D0/sprockets%2F0671a22da74f433700c99e13bfaaf0ce
|
565
584
|
- spec/dummy/tmp/cache/assets/CB0/A40/sprockets%2F67e75a018eb332917e92ed23bd437541
|
566
585
|
- spec/dummy/tmp/cache/assets/CB2/100/sprockets%2F93fd7a21c7f281365e36802c475d332e
|
567
586
|
- spec/dummy/tmp/cache/assets/D6B/C80/sprockets%2Ffcf9350e348ed6f015cde006d152ec82
|
@@ -590,6 +609,7 @@ files:
|
|
590
609
|
- spec/dummy/tmp/cache/assets/BEF/CA0/sprockets%2F3335c73d91157a627611592700a9654e
|
591
610
|
- spec/dummy/tmp/cache/assets/D4D/E50/sprockets%2F6419a00a110c7c309d2da00b4ee1e5ee
|
592
611
|
- spec/dummy/tmp/cache/assets/D4D/B30/sprockets%2F9b38f255f053150c81c96cf735fdff5d
|
612
|
+
- spec/dummy/tmp/cache/assets/C5A/610/sprockets%2Fbe898195780d802c102d152255d9e477
|
593
613
|
- spec/dummy/tmp/cache/assets/CDE/D70/sprockets%2Fa140199ccd83c0744e4696d0f51cc284
|
594
614
|
- spec/dummy/tmp/cache/assets/D92/B20/sprockets%2F871f050bda629a18e11ea8db7c1aca77
|
595
615
|
- spec/dummy/tmp/cache/assets/D37/210/sprockets%2F91e180c817c487cabc023651b7fd72ac
|
@@ -620,12 +640,15 @@ files:
|
|
620
640
|
- spec/dummy/tmp/cache/assets/CD3/3E0/sprockets%2F373fa62090ab111ae606b963e1b8c793
|
621
641
|
- spec/dummy/tmp/cache/assets/E37/3E0/sprockets%2F9e6d2d17ed6da64a2f1876d4cdfefcd1
|
622
642
|
- spec/dummy/tmp/cache/assets/DA8/8A0/sprockets%2F667a6cf5379d3aac318f91abb4fd9d54
|
643
|
+
- spec/dummy/tmp/cache/assets/CCF/2E0/sprockets%2Fde5b2bd811d24557c940a2239b7e3130
|
623
644
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
624
645
|
- spec/dummy/tmp/cache/assets/CDF/540/sprockets%2F832aed134af8672c16d8ee2027f01785
|
625
646
|
- spec/dummy/tmp/cache/assets/D3A/5F0/sprockets%2F332b57b25c2cd98c25a1a6cf238d980d
|
647
|
+
- spec/dummy/tmp/cache/assets/CBA/D70/sprockets%2F8c5e2f7ea6f160a6792a442f01378479
|
626
648
|
- spec/dummy/tmp/cache/assets/D66/220/sprockets%2F10c7e9210bdbd303fc6a9dc58b5f1638
|
627
649
|
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
628
650
|
- spec/dummy/tmp/cache/assets/D7F/650/sprockets%2Fe68aa1c1c91b62f47cf89fa8e750e558
|
651
|
+
- spec/dummy/tmp/cache/assets/D64/060/sprockets%2F3b86cba556132a40a7e49a7b4c7e17ad
|
629
652
|
- spec/dummy/tmp/cache/assets/CEE/7C0/sprockets%2F85b4fe63493fb8f7d2cb32959066a325
|
630
653
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
631
654
|
- spec/dummy/tmp/cache/assets/DD1/530/sprockets%2F8647ddab59ed8941a4f2ac3cd45ad8a2
|
@@ -822,10 +845,12 @@ test_files:
|
|
822
845
|
- spec/dummy/tmp/capybara/capybara-20130104132905416594354.html
|
823
846
|
- spec/dummy/tmp/capybara/capybara-201301032208428728814736.html
|
824
847
|
- spec/dummy/tmp/capybara/capybara-201301032135214184496341.html
|
848
|
+
- spec/dummy/tmp/capybara/capybara-201301312228302851745933.html
|
825
849
|
- spec/dummy/tmp/capybara/capybara-201301032302192245285533.html
|
826
850
|
- spec/dummy/tmp/capybara/capybara-201301032126472952827250.html
|
827
851
|
- spec/dummy/tmp/capybara/capybara-201301041330234942878999.html
|
828
852
|
- spec/dummy/tmp/capybara/capybara-201301032132524184496341.html
|
853
|
+
- spec/dummy/tmp/capybara/capybara-20130131222835626927814.html
|
829
854
|
- spec/dummy/tmp/capybara/capybara-201301032034089597215180.html
|
830
855
|
- spec/dummy/tmp/capybara/capybara-201301032308267223952141.html
|
831
856
|
- spec/dummy/tmp/capybara/capybara-201301032124584184496341.html
|
@@ -839,6 +864,7 @@ test_files:
|
|
839
864
|
- spec/dummy/tmp/capybara/capybara-201301032213308728814736.html
|
840
865
|
- spec/dummy/tmp/capybara/capybara-20130104095458614678021.html
|
841
866
|
- spec/dummy/tmp/capybara/capybara-201301032035334453799774.html
|
867
|
+
- spec/dummy/tmp/capybara/capybara-201301312228491329185040.html
|
842
868
|
- spec/dummy/tmp/capybara/capybara-201301041352463545367297.html
|
843
869
|
- spec/dummy/tmp/capybara/capybara-201301041352462005375483.html
|
844
870
|
- spec/dummy/tmp/capybara/capybara-201301040151281386048187.html
|
@@ -860,6 +886,7 @@ test_files:
|
|
860
886
|
- spec/dummy/tmp/capybara/capybara-201301032131032952827250.html
|
861
887
|
- spec/dummy/tmp/capybara/capybara-201301031512251370155161.html
|
862
888
|
- spec/dummy/tmp/capybara/capybara-201301101625154735808799.html
|
889
|
+
- spec/dummy/tmp/capybara/capybara-201301312228403892930584.html
|
863
890
|
- spec/dummy/tmp/capybara/capybara-201301040159255570831585.html
|
864
891
|
- spec/dummy/tmp/capybara/capybara-201301041417131187394181.html
|
865
892
|
- spec/dummy/tmp/capybara/capybara-201301032215468728814736.html
|
@@ -871,16 +898,21 @@ test_files:
|
|
871
898
|
- spec/dummy/tmp/capybara/capybara-201301040954159523473083.html
|
872
899
|
- spec/dummy/tmp/capybara/capybara-201301040151556247840864.html
|
873
900
|
- spec/dummy/tmp/capybara/capybara-201301032247479505517155.html
|
901
|
+
- spec/dummy/tmp/capybara/capybara-201301312228138539754304.html
|
902
|
+
- spec/dummy/tmp/capybara/capybara-201301312233093002404474.html
|
874
903
|
- spec/dummy/tmp/capybara/capybara-201301032214348728814736.html
|
875
904
|
- spec/dummy/tmp/capybara/capybara-201301040159165600231692.html
|
876
905
|
- spec/dummy/tmp/capybara/capybara-201301040149376318880784.html
|
877
906
|
- spec/dummy/tmp/capybara/capybara-201301041328012717066155.html
|
878
907
|
- spec/dummy/tmp/capybara/capybara-201301041357305224103157.html
|
879
908
|
- spec/dummy/tmp/capybara/capybara-201301032126464184496341.html
|
909
|
+
- spec/dummy/tmp/capybara/capybara-201301312232508358940406.html
|
880
910
|
- spec/dummy/tmp/capybara/capybara-201301032131024184496341.html
|
881
911
|
- spec/dummy/tmp/capybara/capybara-201301040159371887034725.html
|
882
912
|
- spec/dummy/tmp/capybara/capybara-201301032032279597215180.html
|
913
|
+
- spec/dummy/tmp/capybara/capybara-201301312233036556441968.html
|
883
914
|
- spec/dummy/tmp/capybara/capybara-201301031320104195682323.html
|
915
|
+
- spec/dummy/tmp/capybara/capybara-201301312232412606495803.html
|
884
916
|
- spec/dummy/tmp/capybara/capybara-201301041357311120034810.html
|
885
917
|
- spec/dummy/tmp/capybara/capybara-201301040150205672162843.html
|
886
918
|
- spec/dummy/tmp/capybara/capybara-201301032121244184496341.html
|
@@ -891,6 +923,8 @@ test_files:
|
|
891
923
|
- spec/dummy/tmp/capybara/capybara-201301040154294483302967.html
|
892
924
|
- spec/dummy/tmp/capybara/capybara-201301040200137472148088.html
|
893
925
|
- spec/dummy/tmp/capybara/capybara-201301040158561765801487.html
|
926
|
+
- spec/dummy/tmp/capybara/capybara-201301312228185417992211.html
|
927
|
+
- spec/dummy/tmp/capybara/capybara-201301312228232926906843.html
|
894
928
|
- spec/dummy/tmp/capybara/capybara-201301040150326401369639.html
|
895
929
|
- spec/dummy/tmp/capybara/capybara-201301040954089523473083.html
|
896
930
|
- spec/dummy/tmp/capybara/capybara-201301040152444027218977.html
|
@@ -909,10 +943,12 @@ test_files:
|
|
909
943
|
- spec/dummy/tmp/cache/assets/CE0/610/sprockets%2F1e45f803b1d77363e62d16ab9b6563e4
|
910
944
|
- spec/dummy/tmp/cache/assets/D8C/010/sprockets%2Fe062300d3c4a4ad3a295cacf8f095ae5
|
911
945
|
- spec/dummy/tmp/cache/assets/D87/A60/sprockets%2F288693ce9ee43015ce65cfa6db6c959f
|
946
|
+
- spec/dummy/tmp/cache/assets/CED/FB0/sprockets%2Fa675d17ed83804639ec0264b624d98ed
|
912
947
|
- spec/dummy/tmp/cache/assets/D96/480/sprockets%2Ff0f530cf5f5ff2454587da4b1143cbda
|
913
948
|
- spec/dummy/tmp/cache/assets/C9F/E00/sprockets%2F36659e2357c9f41838b629928df744dc
|
914
949
|
- spec/dummy/tmp/cache/assets/D21/EC0/sprockets%2Ffb07c164621254c42cac74a1dc0f42d0
|
915
950
|
- spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24
|
951
|
+
- spec/dummy/tmp/cache/assets/CE2/D80/sprockets%2F28a4d5b1a75700c7579e3773f34ccd71
|
916
952
|
- spec/dummy/tmp/cache/assets/D63/D90/sprockets%2F49d23b1afa2a2371d6a59ab852c9a6f2
|
917
953
|
- spec/dummy/tmp/cache/assets/D63/6C0/sprockets%2F1ae1f1cf9d92d0e61b7006171a39fd4d
|
918
954
|
- spec/dummy/tmp/cache/assets/D1B/EE0/sprockets%2F15c744dba76f6415db80b9e07729a8f7
|
@@ -928,6 +964,7 @@ test_files:
|
|
928
964
|
- spec/dummy/tmp/cache/assets/C64/250/sprockets%2F23739cb6a6e72732eb5709d969404767
|
929
965
|
- spec/dummy/tmp/cache/assets/D58/3E0/sprockets%2F460c4b0c82219cba8b72aca02473fc5d
|
930
966
|
- spec/dummy/tmp/cache/assets/DF9/080/sprockets%2Fb180a6ed5da1cfa7ac83ea737d5907be
|
967
|
+
- spec/dummy/tmp/cache/assets/D5C/1D0/sprockets%2F0671a22da74f433700c99e13bfaaf0ce
|
931
968
|
- spec/dummy/tmp/cache/assets/CB0/A40/sprockets%2F67e75a018eb332917e92ed23bd437541
|
932
969
|
- spec/dummy/tmp/cache/assets/CB2/100/sprockets%2F93fd7a21c7f281365e36802c475d332e
|
933
970
|
- spec/dummy/tmp/cache/assets/D6B/C80/sprockets%2Ffcf9350e348ed6f015cde006d152ec82
|
@@ -956,6 +993,7 @@ test_files:
|
|
956
993
|
- spec/dummy/tmp/cache/assets/BEF/CA0/sprockets%2F3335c73d91157a627611592700a9654e
|
957
994
|
- spec/dummy/tmp/cache/assets/D4D/E50/sprockets%2F6419a00a110c7c309d2da00b4ee1e5ee
|
958
995
|
- spec/dummy/tmp/cache/assets/D4D/B30/sprockets%2F9b38f255f053150c81c96cf735fdff5d
|
996
|
+
- spec/dummy/tmp/cache/assets/C5A/610/sprockets%2Fbe898195780d802c102d152255d9e477
|
959
997
|
- spec/dummy/tmp/cache/assets/CDE/D70/sprockets%2Fa140199ccd83c0744e4696d0f51cc284
|
960
998
|
- spec/dummy/tmp/cache/assets/D92/B20/sprockets%2F871f050bda629a18e11ea8db7c1aca77
|
961
999
|
- spec/dummy/tmp/cache/assets/D37/210/sprockets%2F91e180c817c487cabc023651b7fd72ac
|
@@ -986,12 +1024,15 @@ test_files:
|
|
986
1024
|
- spec/dummy/tmp/cache/assets/CD3/3E0/sprockets%2F373fa62090ab111ae606b963e1b8c793
|
987
1025
|
- spec/dummy/tmp/cache/assets/E37/3E0/sprockets%2F9e6d2d17ed6da64a2f1876d4cdfefcd1
|
988
1026
|
- spec/dummy/tmp/cache/assets/DA8/8A0/sprockets%2F667a6cf5379d3aac318f91abb4fd9d54
|
1027
|
+
- spec/dummy/tmp/cache/assets/CCF/2E0/sprockets%2Fde5b2bd811d24557c940a2239b7e3130
|
989
1028
|
- spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
|
990
1029
|
- spec/dummy/tmp/cache/assets/CDF/540/sprockets%2F832aed134af8672c16d8ee2027f01785
|
991
1030
|
- spec/dummy/tmp/cache/assets/D3A/5F0/sprockets%2F332b57b25c2cd98c25a1a6cf238d980d
|
1031
|
+
- spec/dummy/tmp/cache/assets/CBA/D70/sprockets%2F8c5e2f7ea6f160a6792a442f01378479
|
992
1032
|
- spec/dummy/tmp/cache/assets/D66/220/sprockets%2F10c7e9210bdbd303fc6a9dc58b5f1638
|
993
1033
|
- spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
|
994
1034
|
- spec/dummy/tmp/cache/assets/D7F/650/sprockets%2Fe68aa1c1c91b62f47cf89fa8e750e558
|
1035
|
+
- spec/dummy/tmp/cache/assets/D64/060/sprockets%2F3b86cba556132a40a7e49a7b4c7e17ad
|
995
1036
|
- spec/dummy/tmp/cache/assets/CEE/7C0/sprockets%2F85b4fe63493fb8f7d2cb32959066a325
|
996
1037
|
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
997
1038
|
- spec/dummy/tmp/cache/assets/DD1/530/sprockets%2F8647ddab59ed8941a4f2ac3cd45ad8a2
|