sunrise-cms 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/spec/dummy/log/development.log +14 -0
- data/spec/dummy/log/production.log +10 -0
- data/spec/dummy/log/test.log +170488 -0
- data/spec/dummy/tmp/cache/assets/C7B/190/sprockets%2F37b103f4623089af1456b90830fe941c +30 -0
- data/spec/dummy/tmp/cache/assets/CE9/F10/sprockets%2F530fc037344968455e0532e8ecd7d7dd +9289 -0
- data/spec/dummy/tmp/cache/assets/D21/5D0/sprockets%2Fe2c4f946939f2d7d0b42d86383755cae +29 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D54/070/sprockets%2Fa7533c6c22e50a880a0c7114ace2edb3 +395 -0
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +15 -0
- data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +9655 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/capybara/capybara-201112271549386557998929.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271550201867089338.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271550503589371095.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271552548378996457.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271615485403327167.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-20111227161621993889615.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271621127730535990.html +85 -0
- data/spec/dummy/tmp/capybara/capybara-201112271622248429788294.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271624436676354221.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271626282484958829.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112271626573809788006.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201112291109213543937469.html +73 -0
- data/spec/dummy/tmp/capybara/capybara-20111229111202962443922.html +73 -0
- data/spec/dummy/tmp/capybara/capybara-20111229111257454105792.html +73 -0
- data/spec/dummy/tmp/capybara/capybara-201112291116549008043401.html +73 -0
- data/spec/dummy/tmp/capybara/capybara-201112291117467787424351.html +73 -0
- data/spec/dummy/tmp/capybara/capybara-201201161728559322053558.html +2 -0
- data/spec/dummy/tmp/capybara/capybara-201201171300202929998958.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201201171301014274420010.html +85 -0
- data/spec/dummy/tmp/capybara/capybara-201201171304048597136849.html +91 -0
- data/spec/dummy/tmp/capybara/capybara-201201171622244915180451.html +4 -0
- metadata +76 -15
|
Binary file
|
|
@@ -0,0 +1,91 @@
|
|
|
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 name="robots" content="NONE,NOARCHIVE">
|
|
6
|
+
<title>Site Manager</title>
|
|
7
|
+
<link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
+
<!--[if lt IE 7]><link href="/assets/sunrise/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="main">
|
|
12
|
+
<div class="head">
|
|
13
|
+
<a href="/" class="minimaze"><img alt="Minimise_but" src="/assets/sunrise/minimise_but.gif" title="Go to site"></a>
|
|
14
|
+
<div class="logo">System <br> Management</div>
|
|
15
|
+
|
|
16
|
+
<div class="main-menu">
|
|
17
|
+
<ul>
|
|
18
|
+
TODO:
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="user">
|
|
23
|
+
<div class="user-info">
|
|
24
|
+
<div class="info">
|
|
25
|
+
<a href="/manage/User/1/edit" class="name">Admin</a>
|
|
26
|
+
<a href="destroy_user_session_path" class="exit" data-method="delete" rel="nofollow">Exit</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="user-foto">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="main-frame">
|
|
36
|
+
<div class="struct-bl">
|
|
37
|
+
<div id="manage_container" class="bot-bg">
|
|
38
|
+
|
|
39
|
+
<div class="edit-bl">
|
|
40
|
+
<div class="bot-bg">
|
|
41
|
+
<div class="block-title">Edit:</div>
|
|
42
|
+
<form accept-charset="UTF-8" action="/manage/structure/2/edit" class="simple_form structure" id="edit_structure_2" method="post">
|
|
43
|
+
<div style="margin:0;padding:0;display:inline">
|
|
44
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="edit-cont">
|
|
47
|
+
<div class="inputs-bl">
|
|
48
|
+
<div class="input string required">
|
|
49
|
+
<label class="string required" for="structure_title"><abbr title="required">*</abbr> Name</label><input class="string required text" id="structure_title" maxlength="255" name="structure[title]" required="required" size="50" type="text" value="Structure">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="input string url optional">
|
|
52
|
+
<label class="url optional" for="structure_redirect_url"> Redirect (URL)</label><input class="string url optional text" id="structure_redirect_url" maxlength="255" name="structure[redirect_url]" size="50" type="url">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="input string optional">
|
|
55
|
+
<label class="string optional" for="structure_slug"> Slug</label><input class="string optional text" id="structure_slug" maxlength="25" name="structure[slug]" size="25" type="text" value="structure">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="input select optional">
|
|
58
|
+
<label class="select optional" for="structure_parent_id"> Main Categories</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option></select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="input select optional">
|
|
61
|
+
<label class="select optional" for="structure_kind"> Page Type</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
|
|
62
|
+
<option value="2">Blogs</option>
|
|
63
|
+
<option value="3">Home Page</option>
|
|
64
|
+
<option value="4">Redirect</option>
|
|
65
|
+
<option value="5">Група stranichok</option></select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="input select optional">
|
|
68
|
+
<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>
|
|
69
|
+
<option value="2" selected>Main Menu</option>
|
|
70
|
+
<option value="3">Below</option></select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="input boolean optional">
|
|
73
|
+
<input name="structure[is_visible]" type="hidden" value="0"><input checked class="boolean optional text" id="structure_is_visible" name="structure[is_visible]" type="checkbox" value="1"><label class="boolean optional" for="structure_is_visible"> Show?</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="buts controls">
|
|
79
|
+
<button class="gr cupid-green" name="commit" type="submit" value="update">Refresh</button><a href="/manage/structures" class="erase">Cancel</a>
|
|
80
|
+
</div>
|
|
81
|
+
</form>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|
|
@@ -0,0 +1,91 @@
|
|
|
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 name="robots" content="NONE,NOARCHIVE">
|
|
6
|
+
<title>Site Manager</title>
|
|
7
|
+
<link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
+
<!--[if lt IE 7]><link href="/assets/sunrise/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="main">
|
|
12
|
+
<div class="head">
|
|
13
|
+
<a href="/" class="minimaze"><img alt="Minimise_but" src="/assets/sunrise/minimise_but.gif" title="Go to site"></a>
|
|
14
|
+
<div class="logo">System <br> Management</div>
|
|
15
|
+
|
|
16
|
+
<div class="main-menu">
|
|
17
|
+
<ul>
|
|
18
|
+
TODO:
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="user">
|
|
23
|
+
<div class="user-info">
|
|
24
|
+
<div class="info">
|
|
25
|
+
<a href="/manage/User/1/edit" class="name">Admin</a>
|
|
26
|
+
<a href="destroy_user_session_path" class="exit" data-method="delete" rel="nofollow">Exit</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="user-foto">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="main-frame">
|
|
36
|
+
<div class="struct-bl">
|
|
37
|
+
<div id="manage_container" class="bot-bg">
|
|
38
|
+
|
|
39
|
+
<div class="edit-bl">
|
|
40
|
+
<div class="bot-bg">
|
|
41
|
+
<div class="block-title">Edit:</div>
|
|
42
|
+
<form accept-charset="UTF-8" action="/manage/structure/2/edit" class="simple_form structure" id="edit_structure_2" method="post">
|
|
43
|
+
<div style="margin:0;padding:0;display:inline">
|
|
44
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="edit-cont">
|
|
47
|
+
<div class="inputs-bl">
|
|
48
|
+
<div class="input string required">
|
|
49
|
+
<label class="string required" for="structure_title"><abbr title="required">*</abbr> Name</label><input class="string required text" id="structure_title" maxlength="255" name="structure[title]" required="required" size="50" type="text" value="Structure">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="input string url optional">
|
|
52
|
+
<label class="url optional" for="structure_redirect_url"> Redirect (URL)</label><input class="string url optional text" id="structure_redirect_url" maxlength="255" name="structure[redirect_url]" size="50" type="url">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="input string optional">
|
|
55
|
+
<label class="string optional" for="structure_slug"> Slug</label><input class="string optional text" id="structure_slug" maxlength="25" name="structure[slug]" size="25" type="text" value="structure">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="input select optional">
|
|
58
|
+
<label class="select optional" for="structure_parent_id"> Main Categories</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option></select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="input select optional">
|
|
61
|
+
<label class="select optional" for="structure_kind"> Page Type</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
|
|
62
|
+
<option value="2">Blogs</option>
|
|
63
|
+
<option value="3">Home Page</option>
|
|
64
|
+
<option value="4">Redirect</option>
|
|
65
|
+
<option value="5">Група stranichok</option></select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="input select optional">
|
|
68
|
+
<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>
|
|
69
|
+
<option value="2" selected>Main Menu</option>
|
|
70
|
+
<option value="3">Below</option></select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="input boolean optional">
|
|
73
|
+
<input name="structure[is_visible]" type="hidden" value="0"><input checked class="boolean optional text" id="structure_is_visible" name="structure[is_visible]" type="checkbox" value="1"><label class="boolean optional" for="structure_is_visible"> Show?</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="buts controls">
|
|
79
|
+
<button class="gr cupid-green" name="commit" type="submit" value="update">Refresh</button><a href="/manage/structures" class="erase">Cancel</a>
|
|
80
|
+
</div>
|
|
81
|
+
</form>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|
|
@@ -0,0 +1,91 @@
|
|
|
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 name="robots" content="NONE,NOARCHIVE">
|
|
6
|
+
<title>Site Manager</title>
|
|
7
|
+
<link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
+
<!--[if lt IE 7]><link href="/assets/sunrise/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="main">
|
|
12
|
+
<div class="head">
|
|
13
|
+
<a href="/" class="minimaze"><img alt="Minimise_but" src="/assets/sunrise/minimise_but.gif" title="Go to site"></a>
|
|
14
|
+
<div class="logo">System <br> Management</div>
|
|
15
|
+
|
|
16
|
+
<div class="main-menu">
|
|
17
|
+
<ul>
|
|
18
|
+
TODO:
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="user">
|
|
23
|
+
<div class="user-info">
|
|
24
|
+
<div class="info">
|
|
25
|
+
<a href="/manage/User/1/edit" class="name">Admin</a>
|
|
26
|
+
<a href="destroy_user_session_path" class="exit" data-method="delete" rel="nofollow">Exit</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="user-foto">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="main-frame">
|
|
36
|
+
<div class="struct-bl">
|
|
37
|
+
<div id="manage_container" class="bot-bg">
|
|
38
|
+
|
|
39
|
+
<div class="edit-bl">
|
|
40
|
+
<div class="bot-bg">
|
|
41
|
+
<div class="block-title">Edit:</div>
|
|
42
|
+
<form accept-charset="UTF-8" action="/manage/structure/2/edit" class="simple_form structure" id="edit_structure_2" method="post">
|
|
43
|
+
<div style="margin:0;padding:0;display:inline">
|
|
44
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="edit-cont">
|
|
47
|
+
<div class="inputs-bl">
|
|
48
|
+
<div class="input string required">
|
|
49
|
+
<label class="string required" for="structure_title"><abbr title="required">*</abbr> Name</label><input class="string required text" id="structure_title" maxlength="255" name="structure[title]" required="required" size="50" type="text" value="Structure">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="input string url optional">
|
|
52
|
+
<label class="url optional" for="structure_redirect_url"> Redirect (URL)</label><input class="string url optional text" id="structure_redirect_url" maxlength="255" name="structure[redirect_url]" size="50" type="url">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="input string optional">
|
|
55
|
+
<label class="string optional" for="structure_slug"> Slug</label><input class="string optional text" id="structure_slug" maxlength="25" name="structure[slug]" size="25" type="text" value="structure">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="input select optional">
|
|
58
|
+
<label class="select optional" for="structure_parent_id"> Main Categories</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option></select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="input select optional">
|
|
61
|
+
<label class="select optional" for="structure_kind"> Page Type</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
|
|
62
|
+
<option value="2">Blogs</option>
|
|
63
|
+
<option value="3">Home Page</option>
|
|
64
|
+
<option value="4">Redirect</option>
|
|
65
|
+
<option value="5">Група stranichok</option></select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="input select optional">
|
|
68
|
+
<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>
|
|
69
|
+
<option value="2" selected>Main Menu</option>
|
|
70
|
+
<option value="3">Below</option></select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="input boolean optional">
|
|
73
|
+
<input name="structure[is_visible]" type="hidden" value="0"><input checked class="boolean optional text" id="structure_is_visible" name="structure[is_visible]" type="checkbox" value="1"><label class="boolean optional" for="structure_is_visible"> Show?</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="buts controls">
|
|
79
|
+
<button class="gr cupid-green" name="commit" type="submit" value="update">Refresh</button><a href="/manage/structures" class="erase">Cancel</a>
|
|
80
|
+
</div>
|
|
81
|
+
</form>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|
|
@@ -0,0 +1,91 @@
|
|
|
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 name="robots" content="NONE,NOARCHIVE">
|
|
6
|
+
<title>Site Manager</title>
|
|
7
|
+
<link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
+
<!--[if lt IE 7]><link href="/assets/sunrise/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="main">
|
|
12
|
+
<div class="head">
|
|
13
|
+
<a href="/" class="minimaze"><img alt="Minimise_but" src="/assets/sunrise/minimise_but.gif" title="Go to site"></a>
|
|
14
|
+
<div class="logo">System <br> Management</div>
|
|
15
|
+
|
|
16
|
+
<div class="main-menu">
|
|
17
|
+
<ul>
|
|
18
|
+
TODO:
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="user">
|
|
23
|
+
<div class="user-info">
|
|
24
|
+
<div class="info">
|
|
25
|
+
<a href="/manage/User/1/edit" class="name">Admin</a>
|
|
26
|
+
<a href="destroy_user_session_path" class="exit" data-method="delete" rel="nofollow">Exit</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="user-foto">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="main-frame">
|
|
36
|
+
<div class="struct-bl">
|
|
37
|
+
<div id="manage_container" class="bot-bg">
|
|
38
|
+
|
|
39
|
+
<div class="edit-bl">
|
|
40
|
+
<div class="bot-bg">
|
|
41
|
+
<div class="block-title">Edit:</div>
|
|
42
|
+
<form accept-charset="UTF-8" action="/manage/structure/2/edit" class="simple_form structure" id="edit_structure_2" method="post">
|
|
43
|
+
<div style="margin:0;padding:0;display:inline">
|
|
44
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="edit-cont">
|
|
47
|
+
<div class="inputs-bl">
|
|
48
|
+
<div class="input string required">
|
|
49
|
+
<label class="string required" for="structure_title"><abbr title="required">*</abbr> Name</label><input class="string required text" id="structure_title" maxlength="255" name="structure[title]" required="required" size="50" type="text" value="Structure">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="input string url optional">
|
|
52
|
+
<label class="url optional" for="structure_redirect_url"> Redirect (URL)</label><input class="string url optional text" id="structure_redirect_url" maxlength="255" name="structure[redirect_url]" size="50" type="url">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="input string optional">
|
|
55
|
+
<label class="string optional" for="structure_slug"> Slug</label><input class="string optional text" id="structure_slug" maxlength="25" name="structure[slug]" size="25" type="text" value="structure">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="input select optional">
|
|
58
|
+
<label class="select optional" for="structure_parent_id"> Main Categories</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option></select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="input select optional">
|
|
61
|
+
<label class="select optional" for="structure_kind"> Page Type</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
|
|
62
|
+
<option value="2">Blogs</option>
|
|
63
|
+
<option value="3">Home Page</option>
|
|
64
|
+
<option value="4">Redirect</option>
|
|
65
|
+
<option value="5">Група stranichok</option></select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="input select optional">
|
|
68
|
+
<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>
|
|
69
|
+
<option value="2" selected>Main Menu</option>
|
|
70
|
+
<option value="3">Below</option></select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="input boolean optional">
|
|
73
|
+
<input name="structure[is_visible]" type="hidden" value="0"><input checked class="boolean optional text" id="structure_is_visible" name="structure[is_visible]" type="checkbox" value="1"><label class="boolean optional" for="structure_is_visible"> Show?</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="buts controls">
|
|
79
|
+
<button class="gr cupid-green" name="commit" type="submit" value="update">Refresh</button><a href="/manage/structures" class="erase">Cancel</a>
|
|
80
|
+
</div>
|
|
81
|
+
</form>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|
|
@@ -0,0 +1,91 @@
|
|
|
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 name="robots" content="NONE,NOARCHIVE">
|
|
6
|
+
<title>Site Manager</title>
|
|
7
|
+
<link href="/assets/sunrise/application.css" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
+
<!--[if lt IE 7]><link href="/assets/sunrise/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><script src="/assets/sunrise/application.js" type="text/javascript"></script>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div class="main">
|
|
12
|
+
<div class="head">
|
|
13
|
+
<a href="/" class="minimaze"><img alt="Minimise_but" src="/assets/sunrise/minimise_but.gif" title="Go to site"></a>
|
|
14
|
+
<div class="logo">System <br> Management</div>
|
|
15
|
+
|
|
16
|
+
<div class="main-menu">
|
|
17
|
+
<ul>
|
|
18
|
+
TODO:
|
|
19
|
+
</ul>
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="user">
|
|
23
|
+
<div class="user-info">
|
|
24
|
+
<div class="info">
|
|
25
|
+
<a href="/manage/User/1/edit" class="name">Admin</a>
|
|
26
|
+
<a href="destroy_user_session_path" class="exit" data-method="delete" rel="nofollow">Exit</a>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="user-foto">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="main-frame">
|
|
36
|
+
<div class="struct-bl">
|
|
37
|
+
<div id="manage_container" class="bot-bg">
|
|
38
|
+
|
|
39
|
+
<div class="edit-bl">
|
|
40
|
+
<div class="bot-bg">
|
|
41
|
+
<div class="block-title">Edit:</div>
|
|
42
|
+
<form accept-charset="UTF-8" action="/manage/structure/2/edit" class="simple_form structure" id="edit_structure_2" method="post">
|
|
43
|
+
<div style="margin:0;padding:0;display:inline">
|
|
44
|
+
<input name="utf8" type="hidden" value="✓"><input name="_method" type="hidden" value="put">
|
|
45
|
+
</div>
|
|
46
|
+
<div class="edit-cont">
|
|
47
|
+
<div class="inputs-bl">
|
|
48
|
+
<div class="input string required">
|
|
49
|
+
<label class="string required" for="structure_title"><abbr title="required">*</abbr> Name</label><input class="string required text" id="structure_title" maxlength="255" name="structure[title]" required="required" size="50" type="text" value="Structure">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="input string url optional">
|
|
52
|
+
<label class="url optional" for="structure_redirect_url"> Redirect (URL)</label><input class="string url optional text" id="structure_redirect_url" maxlength="255" name="structure[redirect_url]" size="50" type="url">
|
|
53
|
+
</div>
|
|
54
|
+
<div class="input string optional">
|
|
55
|
+
<label class="string optional" for="structure_slug"> Slug</label><input class="string optional text" id="structure_slug" maxlength="25" name="structure[slug]" size="25" type="text" value="structure">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="input select optional">
|
|
58
|
+
<label class="select optional" for="structure_parent_id"> Main Categories</label><select class="select optional text" id="structure_parent_id" name="structure[parent_id]"><option value=""></option></select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="input select optional">
|
|
61
|
+
<label class="select optional" for="structure_kind"> Page Type</label><select class="select optional text" id="structure_kind" name="structure[kind]"><option value="1" selected>Text Page</option>
|
|
62
|
+
<option value="2">Blogs</option>
|
|
63
|
+
<option value="3">Home Page</option>
|
|
64
|
+
<option value="4">Redirect</option>
|
|
65
|
+
<option value="5">Група stranichok</option></select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="input select optional">
|
|
68
|
+
<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>
|
|
69
|
+
<option value="2" selected>Main Menu</option>
|
|
70
|
+
<option value="3">Below</option></select>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="input boolean optional">
|
|
73
|
+
<input name="structure[is_visible]" type="hidden" value="0"><input checked class="boolean optional text" id="structure_is_visible" name="structure[is_visible]" type="checkbox" value="1"><label class="boolean optional" for="structure_is_visible"> Show?</label>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<div class="buts controls">
|
|
79
|
+
<button class="gr cupid-green" name="commit" type="submit" value="update">Refresh</button><a href="/manage/structures" class="erase">Cancel</a>
|
|
80
|
+
</div>
|
|
81
|
+
</form>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
</body>
|
|
91
|
+
</html>
|