sunrise-cms 0.6.9 → 0.6.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/db/migrate/20111216144515_create_assets.rb +17 -15
  2. data/lib/generators/sunrise/templates/models/active_record/asset.rb +3 -0
  3. data/lib/generators/sunrise/templates/models/mongoid/asset.rb +4 -0
  4. data/lib/sunrise/models/asset.rb +2 -5
  5. data/lib/sunrise/version.rb +1 -1
  6. data/spec/dummy/config/initializers/devise.rb +1 -1
  7. metadata +2 -212
  8. data/spec/dummy/public/uploads/avatar/content_rails.png +0 -0
  9. data/spec/dummy/public/uploads/avatar/rails.png +0 -0
  10. data/spec/dummy/public/uploads/avatar/thumb_rails.png +0 -0
  11. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-0875/rails.png +0 -0
  12. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-0875/small_rails.png +0 -0
  13. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-0875/thumb_rails.png +0 -0
  14. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-1524/rails.png +0 -0
  15. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-1852/silicon_valley.jpg +0 -0
  16. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-1852/small_silicon_valley.jpg +0 -0
  17. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-1852/thumb_silicon_valley.jpg +0 -0
  18. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-2984/rails.png +0 -0
  19. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-2984/small_rails.png +0 -0
  20. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-2984/thumb_rails.png +0 -0
  21. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-4258/rails.png +0 -0
  22. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-4258/small_rails.png +0 -0
  23. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-4258/thumb_rails.png +0 -0
  24. data/spec/dummy/public/uploads/tmp/20130307-1257-8980-8785/rails.png +0 -0
  25. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-0194/silicon_valley.jpg +0 -0
  26. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-0194/small_silicon_valley.jpg +0 -0
  27. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-0194/thumb_silicon_valley.jpg +0 -0
  28. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-2067/rails.png +0 -0
  29. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-3421/rails.png +0 -0
  30. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-3421/small_rails.png +0 -0
  31. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-3421/thumb_rails.png +0 -0
  32. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-4629/rails.png +0 -0
  33. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-7745/rails.png +0 -0
  34. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-8054/rails.png +0 -0
  35. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-8054/small_rails.png +0 -0
  36. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-8054/thumb_rails.png +0 -0
  37. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-9023/rails.png +0 -0
  38. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-9287/rails.png +0 -0
  39. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-9287/small_rails.png +0 -0
  40. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-9287/thumb_rails.png +0 -0
  41. data/spec/dummy/public/uploads/tmp/20130328-1652-10572-9992/rails.png +0 -0
  42. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-0058/silicon_valley.jpg +0 -0
  43. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-0058/small_silicon_valley.jpg +0 -0
  44. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-0058/thumb_silicon_valley.jpg +0 -0
  45. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-0280/rails.png +0 -0
  46. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-0319/rails.png +0 -0
  47. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-1339/rails.png +0 -0
  48. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-3744/rails.png +0 -0
  49. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-6109/rails.png +0 -0
  50. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-6109/small_rails.png +0 -0
  51. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-6109/thumb_rails.png +0 -0
  52. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7542/rails.png +0 -0
  53. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7542/small_rails.png +0 -0
  54. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7542/thumb_rails.png +0 -0
  55. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7559/rails.png +0 -0
  56. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7855/rails.png +0 -0
  57. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7855/small_rails.png +0 -0
  58. data/spec/dummy/public/uploads/tmp/20130328-1817-13734-7855/thumb_rails.png +0 -0
  59. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/rails.png +0 -0
  60. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/small_rails.png +0 -0
  61. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-1429/thumb_rails.png +0 -0
  62. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/silicon_valley.jpg +0 -0
  63. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/small_silicon_valley.jpg +0 -0
  64. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-2911/thumb_silicon_valley.jpg +0 -0
  65. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-3054/rails.png +0 -0
  66. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-3369/rails.png +0 -0
  67. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/rails.png +0 -0
  68. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/small_rails.png +0 -0
  69. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-4170/thumb_rails.png +0 -0
  70. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/rails.png +0 -0
  71. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/small_rails.png +0 -0
  72. data/spec/dummy/public/uploads/tmp/20130329-1713-12193-7130/thumb_rails.png +0 -0
  73. data/spec/dummy/public/uploads/tmp/20130329-1714-12193-2865/rails.png +0 -0
  74. data/spec/dummy/public/uploads/tmp/20130329-1714-12193-3844/rails.png +0 -0
  75. data/spec/dummy/public/uploads/tmp/20130329-1714-12193-6957/rails.png +0 -0
  76. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-2458/rails.png +0 -0
  77. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-2458/small_rails.png +0 -0
  78. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-2458/thumb_rails.png +0 -0
  79. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/rails.png +0 -0
  80. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/small_rails.png +0 -0
  81. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-3725/thumb_rails.png +0 -0
  82. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/rails.png +0 -0
  83. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/small_rails.png +0 -0
  84. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5457/thumb_rails.png +0 -0
  85. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/silicon_valley.jpg +0 -0
  86. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/small_silicon_valley.jpg +0 -0
  87. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-5876/thumb_silicon_valley.jpg +0 -0
  88. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-8101/rails.png +0 -0
  89. data/spec/dummy/public/uploads/tmp/20130412-1107-5493-9135/rails.png +0 -0
  90. data/spec/dummy/public/uploads/tmp/20130412-1108-5493-1347/rails.png +0 -0
  91. data/spec/dummy/public/uploads/tmp/20130412-1108-5493-3971/rails.png +0 -0
  92. data/spec/dummy/public/uploads/tmp/20130412-1108-5493-6916/rails.png +0 -0
  93. data/spec/dummy/tmp/cache/assets/C7B/190/sprockets%2F37b103f4623089af1456b90830fe941c +0 -0
  94. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  95. data/spec/dummy/tmp/cache/assets/D13/C60/sprockets%2F2dedb8177c20286c4259c1d58c5646cc +0 -0
  96. data/spec/dummy/tmp/cache/assets/D21/5D0/sprockets%2Fe2c4f946939f2d7d0b42d86383755cae +0 -0
  97. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  98. data/spec/dummy/tmp/cache/assets/D3E/F40/sprockets%2F25a167c7563d6fe8ec6b13ec1ac09274 +0 -0
  99. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  100. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  101. data/spec/dummy/tmp/cache/assets/D66/D60/sprockets%2F74fff4cd40e651309f6a03b2acc63a93 +0 -0
  102. data/spec/dummy/tmp/cache/assets/D6A/A70/sprockets%2F88c982cf93bc6d8f73d7a3968bb769e7 +0 -0
  103. data/spec/dummy/tmp/cache/assets/D96/A50/sprockets%2F5f2f70550f68122b1cacdcab9a45ed67 +0 -0
  104. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  105. data/spec/dummy/tmp/cache/assets/DDE/270/sprockets%2F0dd428ae1aed245ab1c713f6f0aabb06 +0 -0
  106. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  107. data/spec/dummy/tmp/capybara/capybara-201301081227579425051336.html +0 -185
  108. data/spec/dummy/tmp/capybara/capybara-201301081227579661067565.html +0 -185
  109. data/spec/dummy/tmp/capybara/capybara-201301081229532997786363.html +0 -185
  110. data/spec/dummy/tmp/capybara/capybara-201301081229533859905683.html +0 -185
  111. data/spec/dummy/tmp/capybara/capybara-201301081233176586865421.html +0 -185
  112. data/spec/dummy/tmp/capybara/capybara-20130108123318606876035.html +0 -185
@@ -1,185 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="robots" content="NONE,NOARCHIVE">
7
- <title>Site Manager</title>
8
- <link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
9
- <!--[if lt IE 8]>
10
- <link rel="stylesheet" href="/assets/sunrise/ie.css" type="text/css" media="screen, projection" />
11
- <![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
12
- </head>
13
- <body>
14
- <div class="outer">
15
- <div class="top-wrapper">
16
- <div class="black-line">
17
- <div class="rel-holder">
18
- <div class="menu-holder">
19
- <ul class="main-menu">
20
- <li>
21
- <a href="/manage/structures" class="ddmenu" rel="structures">
22
- <span class="modul">
23
- <span class="arr"><span class="translation_missing" title="translation missing: en.manage.menu.title">Title</span></span>
24
- </span>
25
- </a> </li>
26
- <li>
27
- <a href="/manage/structures" class="ddmenu" rel="actions">
28
- <span class="create">
29
- <span class="arr"><span class="translation_missing" title="translation missing: en.manage.menu.actions">Actions</span></span>
30
- </span>
31
- </a> </li>
32
- </ul>
33
- <ul class="main-menu right">
34
- <li><a href="/" class="watch">Go to site</a></li>
35
- <li>
36
- <a href="/manage/users" class="ddmenu" rel="user">
37
- <span class="user">
38
- <span class="arr">Admin</span>
39
- </span>
40
- </a> </li>
41
- <!--<li>
42
- <a href="#" class="minimize"><img src="images/top_hide.png" /></a>
43
- </li>-->
44
- </ul>
45
- </div>
46
-
47
- <div id="structures-container" class="sub-wrapper modul" style="display: none;">
48
- <div class="sub-inner">
49
- <ul class="main-list">
50
- <li><a href="/manage/" class="icon1">translation missing: en.manage.menu.main.dashboard</a></li>
51
- <li><a href="/manage/structures" class="icon2">translation missing: en.manage.menu.main.structures</a></li>
52
- <li><a href="/manage/users" class="icon3">translation missing: en.manage.menu.main.users</a></li>
53
- <li><a href="#" class="icon4">translation missing: en.manage.menu.main.services</a></li>
54
- <li><a href="/manage/settings/edit" class="icon4">translation missing: en.manage.menu.main.settings</a></li>
55
- </ul>
56
- </div>
57
- </div>
58
-
59
- <div id="actions-container" class="sub-wrapper create" style="display: none">
60
- <div class="sub-inner">
61
- <ul class="inner-list">
62
- <li><a href="/manage/structures/new">translation missing: en.manage.menu.creates.structures</a></li>
63
- <li><a href="/manage/users/new">translation missing: en.manage.menu.creates.users</a></li>
64
- </ul>
65
- </div>
66
- </div>
67
-
68
- <div id="user-container" class="sub-wrapper user" style="display: none;">
69
- <div class="sub-inner">
70
- <ul class="inner-list">
71
- <li><a href="/manage/users/50ebf4abde2f150622000001/edit"><span class="translation_missing" title="translation missing: en.manage.buttons.edit_profile">Edit Profile</span></a></li>
72
-
73
- <li><a href="/users/sign_out" class="exit" data-method="delete" rel="nofollow"><span class="translation_missing" title="translation missing: en.manage.buttons.exit">Exit</span></a></li>
74
- </ul>
75
- </div>
76
- </div>
77
- </div>
78
- </div>
79
-
80
- <div class="filter-line-wrapper">
81
- <div class="filter-line-holder">
82
- <div class="struct-name">Edit</div>
83
-
84
- <div class="vline-block">
85
- <input class="button" id="submit-form-button" name="commit" type="submit" value="Refresh"><input class="button gray" id="cancel-submit-form-button" name="commit" type="submit" value="Cancel"><!--<input type="submit" value="Применить" class="button gray" />-->
86
- </div>
87
- </div>
88
- </div>
89
-
90
- </div>
91
-
92
- <div class="wrapper without-panel">
93
- <form accept-charset="UTF-8" action="/manage/structures/50ebf4abde2f150622000003/edit" class="simple_form edit_structure" id="edit_structure_50ebf4abde2f150622000003" method="post">
94
- <div style="margin:0;padding:0;display:inline">
95
- <input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
96
- </div> <input id="parent_id" name="parent_id" type="hidden"><input id="parent_type" name="parent_type" type="hidden"><div class="post-edit-holder">
97
-
98
-
99
- <div class="wysiwyg-holder">
100
-
101
-
102
- <div class="padder">
103
- <div class="input string required">
104
- <label class="string required" for="structure_title"><abbr title="required">*</abbr> Title</label><input class="string required text" id="structure_title" name="structure[title]" required="required" size="50" type="text" value="Structure">
105
- </div>
106
- </div>
107
- <div class="padder">
108
- <div class="input url optional">
109
- <label class="url optional" for="structure_redirect_url">Redirect url</label><input class="string url optional text" id="structure_redirect_url" name="structure[redirect_url]" size="50" type="url">
110
- </div>
111
- </div>
112
- <div class="padder">
113
- <div class="input string optional">
114
- <label class="string optional" for="structure_slug">Slug</label><input class="string optional text" id="structure_slug" name="structure[slug]" size="50" type="text" value="slug1">
115
- </div>
116
- </div>
117
- <div class="padder">
118
- <div class="input select optional">
119
- <label class="select optional" for="structure_parent_id">Parent</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option>
120
- <option value="50ebf4abde2f150622000002" selected> Main page</option>
121
- <option value="50ebf4abde2f150622000003">– Structure</option></select>
122
- </div>
123
- </div>
124
- <div class="padder">
125
- <div class="input select optional">
126
- <label class="select optional" for="structure_kind">Kind</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
127
- <option value="2">Blogs</option>
128
- <option value="3">Home Page</option>
129
- <option value="4">Redirect</option>
130
- <option value="5">Група stranichok</option></select>
131
- </div>
132
- </div>
133
- <div class="padder">
134
- <div class="input select optional">
135
- <label class="select optional" for="structure_position">Position</label><select class="select optional text" id="structure_position" name="structure[position]"><option value="1">By default</option>
136
- <option value="2" selected>Main Menu</option>
137
- <option value="3">Below</option></select>
138
- </div>
139
- </div>
140
- <div class="padder grey-but">
141
- <div class="input string optional">
142
- <label class="string optional" for="structure_is_visible">Is visible</label><input class="string optional text" id="structure_is_visible" name="structure[is_visible]" size="50" type="text" value="true">
143
- </div>
144
- </div>
145
- </div>
146
-
147
- <div class="post-properties-holder">
148
- <div class="framed-block">
149
- <div class="title-switcher up"><span>translation missing: en.manage.groups.meta_tags</span></div>
150
-
151
- <div class="padder">
152
- <div class="input string optional">
153
- <label class="string optional" for="structure_tag_title">Tag title</label><input class="string optional text" id="structure_tag_title" name="structure[tag_title]" size="50" type="text">
154
- </div>
155
- </div>
156
- <div class="padder">
157
- <div class="input string optional">
158
- <label class="string optional" for="structure_tag_keywords">Tag keywords</label><input class="string optional text" id="structure_tag_keywords" name="structure[tag_keywords]" size="50" type="text">
159
- </div>
160
- </div>
161
- <div class="padder">
162
- <div class="input string optional">
163
- <label class="string optional" for="structure_tag_description">Tag description</label><input class="string optional text" id="structure_tag_description" name="structure[tag_description]" size="50" type="text">
164
- </div>
165
- </div>
166
- </div>
167
- </div>
168
- </div>
169
-
170
-
171
- <input class="button" id="submit-button-hidden" name="commit" style="display:none;" type="submit" value="Update Structure">
172
- </form>
173
- </div>
174
-
175
- </div>
176
-
177
- <div class="footer">
178
- <div class="fwrapper">
179
- <img alt="Example.com" src="/assets/sunrise/created.png">
180
- </div>
181
- </div>
182
-
183
- <div id="dark-shadow" class="dark-bg" style="display:none;"></div>
184
- </body>
185
- </html>
@@ -1,185 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="robots" content="NONE,NOARCHIVE">
7
- <title>Site Manager</title>
8
- <link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
9
- <!--[if lt IE 8]>
10
- <link rel="stylesheet" href="/assets/sunrise/ie.css" type="text/css" media="screen, projection" />
11
- <![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
12
- </head>
13
- <body>
14
- <div class="outer">
15
- <div class="top-wrapper">
16
- <div class="black-line">
17
- <div class="rel-holder">
18
- <div class="menu-holder">
19
- <ul class="main-menu">
20
- <li>
21
- <a href="/manage/structures" class="ddmenu" rel="structures">
22
- <span class="modul">
23
- <span class="arr"><span class="translation_missing" title="translation missing: en.manage.menu.title">Title</span></span>
24
- </span>
25
- </a> </li>
26
- <li>
27
- <a href="/manage/structures" class="ddmenu" rel="actions">
28
- <span class="create">
29
- <span class="arr"><span class="translation_missing" title="translation missing: en.manage.menu.actions">Actions</span></span>
30
- </span>
31
- </a> </li>
32
- </ul>
33
- <ul class="main-menu right">
34
- <li><a href="/" class="watch">Go to site</a></li>
35
- <li>
36
- <a href="/manage/users" class="ddmenu" rel="user">
37
- <span class="user">
38
- <span class="arr">Admin</span>
39
- </span>
40
- </a> </li>
41
- <!--<li>
42
- <a href="#" class="minimize"><img src="images/top_hide.png" /></a>
43
- </li>-->
44
- </ul>
45
- </div>
46
-
47
- <div id="structures-container" class="sub-wrapper modul" style="display: none;">
48
- <div class="sub-inner">
49
- <ul class="main-list">
50
- <li><a href="/manage/" class="icon1">translation missing: en.manage.menu.main.dashboard</a></li>
51
- <li><a href="/manage/structures" class="icon2">translation missing: en.manage.menu.main.structures</a></li>
52
- <li><a href="/manage/users" class="icon3">translation missing: en.manage.menu.main.users</a></li>
53
- <li><a href="#" class="icon4">translation missing: en.manage.menu.main.services</a></li>
54
- <li><a href="/manage/settings/edit" class="icon4">translation missing: en.manage.menu.main.settings</a></li>
55
- </ul>
56
- </div>
57
- </div>
58
-
59
- <div id="actions-container" class="sub-wrapper create" style="display: none">
60
- <div class="sub-inner">
61
- <ul class="inner-list">
62
- <li><a href="/manage/structures/new">translation missing: en.manage.menu.creates.structures</a></li>
63
- <li><a href="/manage/users/new">translation missing: en.manage.menu.creates.users</a></li>
64
- </ul>
65
- </div>
66
- </div>
67
-
68
- <div id="user-container" class="sub-wrapper user" style="display: none;">
69
- <div class="sub-inner">
70
- <ul class="inner-list">
71
- <li><a href="/manage/users/50ebf4abde2f150622000001/edit"><span class="translation_missing" title="translation missing: en.manage.buttons.edit_profile">Edit Profile</span></a></li>
72
-
73
- <li><a href="/users/sign_out" class="exit" data-method="delete" rel="nofollow"><span class="translation_missing" title="translation missing: en.manage.buttons.exit">Exit</span></a></li>
74
- </ul>
75
- </div>
76
- </div>
77
- </div>
78
- </div>
79
-
80
- <div class="filter-line-wrapper">
81
- <div class="filter-line-holder">
82
- <div class="struct-name">Edit</div>
83
-
84
- <div class="vline-block">
85
- <input class="button" id="submit-form-button" name="commit" type="submit" value="Refresh"><input class="button gray" id="cancel-submit-form-button" name="commit" type="submit" value="Cancel"><!--<input type="submit" value="Применить" class="button gray" />-->
86
- </div>
87
- </div>
88
- </div>
89
-
90
- </div>
91
-
92
- <div class="wrapper without-panel">
93
- <form accept-charset="UTF-8" action="/manage/structures/50ebf4abde2f150622000003/edit" class="simple_form edit_structure" id="edit_structure_50ebf4abde2f150622000003" method="post">
94
- <div style="margin:0;padding:0;display:inline">
95
- <input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
96
- </div> <input id="parent_id" name="parent_id" type="hidden"><input id="parent_type" name="parent_type" type="hidden"><div class="post-edit-holder">
97
-
98
-
99
- <div class="wysiwyg-holder">
100
-
101
-
102
- <div class="padder">
103
- <div class="input string required">
104
- <label class="string required" for="structure_title"><abbr title="required">*</abbr> Title</label><input class="string required text" id="structure_title" name="structure[title]" required="required" size="50" type="text" value="Structure">
105
- </div>
106
- </div>
107
- <div class="padder">
108
- <div class="input url optional">
109
- <label class="url optional" for="structure_redirect_url">Redirect url</label><input class="string url optional text" id="structure_redirect_url" name="structure[redirect_url]" size="50" type="url">
110
- </div>
111
- </div>
112
- <div class="padder">
113
- <div class="input string optional">
114
- <label class="string optional" for="structure_slug">Slug</label><input class="string optional text" id="structure_slug" name="structure[slug]" size="50" type="text" value="slug1">
115
- </div>
116
- </div>
117
- <div class="padder">
118
- <div class="input select optional">
119
- <label class="select optional" for="structure_parent_id">Parent</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option>
120
- <option value="50ebf4abde2f150622000002" selected> Main page</option>
121
- <option value="50ebf4abde2f150622000003">– Structure</option></select>
122
- </div>
123
- </div>
124
- <div class="padder">
125
- <div class="input select optional">
126
- <label class="select optional" for="structure_kind">Kind</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
127
- <option value="2">Blogs</option>
128
- <option value="3">Home Page</option>
129
- <option value="4">Redirect</option>
130
- <option value="5">Група stranichok</option></select>
131
- </div>
132
- </div>
133
- <div class="padder">
134
- <div class="input select optional">
135
- <label class="select optional" for="structure_position">Position</label><select class="select optional text" id="structure_position" name="structure[position]"><option value="1">By default</option>
136
- <option value="2" selected>Main Menu</option>
137
- <option value="3">Below</option></select>
138
- </div>
139
- </div>
140
- <div class="padder grey-but">
141
- <div class="input string optional">
142
- <label class="string optional" for="structure_is_visible">Is visible</label><input class="string optional text" id="structure_is_visible" name="structure[is_visible]" size="50" type="text" value="true">
143
- </div>
144
- </div>
145
- </div>
146
-
147
- <div class="post-properties-holder">
148
- <div class="framed-block">
149
- <div class="title-switcher up"><span>translation missing: en.manage.groups.meta_tags</span></div>
150
-
151
- <div class="padder">
152
- <div class="input string optional">
153
- <label class="string optional" for="structure_tag_title">Tag title</label><input class="string optional text" id="structure_tag_title" name="structure[tag_title]" size="50" type="text">
154
- </div>
155
- </div>
156
- <div class="padder">
157
- <div class="input string optional">
158
- <label class="string optional" for="structure_tag_keywords">Tag keywords</label><input class="string optional text" id="structure_tag_keywords" name="structure[tag_keywords]" size="50" type="text">
159
- </div>
160
- </div>
161
- <div class="padder">
162
- <div class="input string optional">
163
- <label class="string optional" for="structure_tag_description">Tag description</label><input class="string optional text" id="structure_tag_description" name="structure[tag_description]" size="50" type="text">
164
- </div>
165
- </div>
166
- </div>
167
- </div>
168
- </div>
169
-
170
-
171
- <input class="button" id="submit-button-hidden" name="commit" style="display:none;" type="submit" value="Update Structure">
172
- </form>
173
- </div>
174
-
175
- </div>
176
-
177
- <div class="footer">
178
- <div class="fwrapper">
179
- <img alt="Example.com" src="/assets/sunrise/created.png">
180
- </div>
181
- </div>
182
-
183
- <div id="dark-shadow" class="dark-bg" style="display:none;"></div>
184
- </body>
185
- </html>