rails-settings-ui 0.5.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/app/controllers/rails_settings_ui/settings_controller.rb +15 -6
  4. data/app/helpers/rails_settings_ui/settings_helper.rb +1 -1
  5. data/app/views/layouts/rails_settings_ui/application.html.erb +26 -0
  6. data/app/views/rails_settings_ui/settings/index.html.erb +45 -0
  7. data/config/locales/en.yml +4 -2
  8. data/config/locales/ru.yml +4 -0
  9. data/config/locales/zh-CN.yml +4 -2
  10. data/config/locales/zh-TW.yml +4 -2
  11. data/lib/rails-settings-ui.rb +2 -1
  12. data/lib/rails-settings-ui/engine.rb +0 -2
  13. data/lib/rails-settings-ui/settings_form_coercible.rb +91 -0
  14. data/lib/rails-settings-ui/settings_form_validator.rb +62 -0
  15. data/lib/rails-settings-ui/version.rb +1 -1
  16. data/spec/dummy/app/models/settings.rb +3 -0
  17. data/spec/dummy/config/application.rb +1 -1
  18. data/spec/dummy/config/environments/production.rb +1 -1
  19. data/spec/dummy/config/environments/test.rb +3 -1
  20. data/spec/dummy/config/locales/en.yml +6 -1
  21. data/spec/dummy/log/test.log +27323 -0
  22. data/spec/dummy/tmp/cache/5B0/540/settings%3Amode +1 -0
  23. data/spec/dummy/tmp/cache/612/400/settings%3Aangle +1 -0
  24. data/spec/dummy/tmp/cache/62A/7E0/settings%3Alimit +1 -0
  25. data/spec/dummy/tmp/cache/62C/9C0/settings%3Atimer +1 -0
  26. data/spec/dummy/tmp/cache/63C/E80/settings%3Astyle +3 -0
  27. data/spec/dummy/tmp/cache/702/EF0/settings%3Acompany +1 -1
  28. data/spec/dummy/tmp/cache/8AF/EF0/settings%3Adescription +1 -0
  29. data/spec/dummy/tmp/cache/902/3E0/settings%3Aproject_name +2 -0
  30. data/spec/dummy/tmp/cache/A05/190/settings%3Aproject_status +1 -0
  31. data/spec/dummy/tmp/cache/A36/6E0/settings%3Acheck_something +1 -0
  32. data/spec/dummy/tmp/cache/AE1/750/rails_settings_cached%3Amode +1 -0
  33. data/spec/dummy/tmp/cache/B43/920/rails_settings_cached%3Aangle +1 -0
  34. data/spec/dummy/tmp/cache/B5B/D00/rails_settings_cached%3Alimit +1 -0
  35. data/spec/dummy/tmp/cache/B5D/EE0/rails_settings_cached%3Atimer +1 -0
  36. data/spec/dummy/tmp/cache/B6D/3A0/rails_settings_cached%3Astyle +3 -0
  37. data/spec/dummy/tmp/cache/DE0/670/rails_settings_cached%3Adescription +1 -0
  38. data/spec/dummy/tmp/cache/E33/F60/rails_settings_cached%3Aproject_name +2 -0
  39. data/spec/dummy/tmp/cache/F36/330/rails_settings_cached%3Aproject_status +1 -0
  40. data/spec/dummy/tmp/cache/F67/B90/rails_settings_cached%3Acheck_something +1 -0
  41. data/spec/dummy/tmp/capybara/capybara-201604072218331731576536.html +110 -0
  42. data/spec/dummy/tmp/capybara/capybara-201604081032444980849427.html +110 -0
  43. data/spec/dummy/tmp/capybara/capybara-201604081033515090839056.html +110 -0
  44. data/spec/dummy/tmp/capybara/capybara-201604081035235018036538.html +110 -0
  45. data/spec/dummy/tmp/capybara/capybara-201604081035456240700789.html +110 -0
  46. data/spec/dummy/tmp/capybara/capybara-201604171939409580658412.html +167 -0
  47. data/spec/dummy/tmp/capybara/capybara-201604172001578955442533.html +167 -0
  48. data/spec/dummy/tmp/capybara/capybara-201604172002367777806457.html +167 -0
  49. data/spec/dummy/tmp/capybara/capybara-201604172004318143886680.html +167 -0
  50. data/spec/dummy/tmp/capybara/capybara-201604172005177937139040.html +167 -0
  51. data/spec/dummy/tmp/capybara/capybara-201604172053441599257667.html +167 -0
  52. data/spec/dummy/tmp/capybara/capybara-20160417205725250944476.html +167 -0
  53. data/spec/dummy/tmp/capybara/capybara-201604172057331132801259.html +167 -0
  54. data/spec/dummy/tmp/capybara/capybara-201604172118071632087268.html +167 -0
  55. data/spec/dummy/tmp/capybara/capybara-201604172127076718204966.html +168 -0
  56. data/spec/dummy/tmp/capybara/capybara-20160417213155185601243.html +168 -0
  57. data/spec/dummy/tmp/capybara/capybara-201604172132268322962171.html +168 -0
  58. data/spec/dummy/tmp/capybara/capybara-201604172134068049534551.html +168 -0
  59. data/spec/dummy/tmp/capybara/capybara-201604172134532268725182.html +168 -0
  60. data/spec/dummy/tmp/capybara/capybara-20160417213510406143193.html +168 -0
  61. data/spec/dummy/tmp/capybara/capybara-201604172137188286690681.html +168 -0
  62. data/spec/dummy/tmp/capybara/capybara-20160417214102473521215.html +167 -0
  63. data/spec/dummy/tmp/capybara/capybara-201604172142356828149817.html +167 -0
  64. data/spec/dummy/tmp/capybara/capybara-201604172224448946017859.html +168 -0
  65. data/spec/dummy/tmp/capybara/capybara-201604180843098131092841.html +168 -0
  66. data/spec/dummy/tmp/capybara/capybara-201604180904356085374829.html +167 -0
  67. data/spec/dummy/tmp/capybara/capybara-201604181000253189634139.html +167 -0
  68. data/spec/dummy/tmp/capybara/capybara-201604182056589084036047.html +167 -0
  69. data/spec/features/settings_spec.rb +103 -24
  70. data/spec/lib/rails-settings-ui/settings_form_coercible_spec.rb +139 -0
  71. data/spec/lib/rails-settings-ui/settings_form_validator_spec.rb +96 -0
  72. data/spec/spec_helper.rb +1 -0
  73. metadata +146 -36
  74. data/app/views/layouts/rails_settings_ui/application.html.haml +0 -16
  75. data/app/views/rails_settings_ui/settings/index.html.haml +0 -25
  76. data/lib/rails-settings-ui/type_converter.rb +0 -60
  77. data/lib/rails-settings-ui/value_types/array.rb +0 -19
  78. data/lib/rails-settings-ui/value_types/base.rb +0 -30
  79. data/lib/rails-settings-ui/value_types/boolean.rb +0 -16
  80. data/lib/rails-settings-ui/value_types/duration.rb +0 -17
  81. data/lib/rails-settings-ui/value_types/fixnum.rb +0 -17
  82. data/lib/rails-settings-ui/value_types/float.rb +0 -17
  83. data/lib/rails-settings-ui/value_types/hash.rb +0 -19
  84. data/lib/rails-settings-ui/value_types/string.rb +0 -11
  85. data/lib/rails-settings-ui/value_types/symbol.rb +0 -11
  86. data/spec/lib/rails-settings-ui/type_converter_spec.rb +0 -33
  87. data/spec/lib/rails-settings-ui/value_types/array_spec.rb +0 -21
  88. data/spec/lib/rails-settings-ui/value_types/base_spec.rb +0 -23
  89. data/spec/lib/rails-settings-ui/value_types/boolean_spec.rb +0 -10
  90. data/spec/lib/rails-settings-ui/value_types/duration_spec.rb +0 -19
  91. data/spec/lib/rails-settings-ui/value_types/fixnum_spec.rb +0 -17
  92. data/spec/lib/rails-settings-ui/value_types/float_spec.rb +0 -17
  93. data/spec/lib/rails-settings-ui/value_types/hash_spec.rb +0 -26
  94. data/spec/lib/rails-settings-ui/value_types/string_spec.rb +0 -10
  95. data/spec/lib/rails-settings-ui/value_types/symbol_spec.rb +0 -10
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <title>Rails settings</title>
5
+ <meta charset="utf-8"/>
6
+ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
7
+ <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"/>
8
+
9
+ </head>
10
+ <body>
11
+ <div class="container">
12
+ <div class="navbar navbar-default">
13
+ <div class="container-fluid">
14
+ <div class="navbar-header">
15
+ <a class="navbar-brand" href="/">Rails settings ui</a>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div class="row">
20
+ <ol class="breadcrumb">
21
+ <li class="active">
22
+ Settings
23
+ </li>
24
+ </ol>
25
+ <form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="&#x2713;" /><input name="_method" type="hidden" value="put" /></div>
26
+ <table class="table table-striped">
27
+ <thead>
28
+ <tr>
29
+ <th>
30
+ Description
31
+ </th>
32
+ <th>
33
+ Value
34
+ </th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <tr data-name="project_name">
39
+ <td>
40
+ translation missing: en.settings.attributes.project_name.name
41
+ </td>
42
+ <td class="setting-value">
43
+ <div class="form-group ">
44
+ <input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
45
+ <span class="help-block">
46
+
47
+ </span>
48
+ </div>
49
+ </td>
50
+ </tr>
51
+ <tr data-name="limit">
52
+ <td>
53
+ translation missing: en.settings.attributes.limit.name
54
+ </td>
55
+ <td class="setting-value">
56
+ <div class="form-group ">
57
+ <input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
58
+ <span class="help-block">
59
+
60
+ </span>
61
+ </div>
62
+ </td>
63
+ </tr>
64
+ <tr data-name="angle">
65
+ <td>
66
+ translation missing: en.settings.attributes.angle.name
67
+ </td>
68
+ <td class="setting-value">
69
+ <div class="form-group ">
70
+ <input class="form-control" id="settings_angle" name="settings[angle]" type="text" value="0.5" />
71
+ <span class="help-block">
72
+
73
+ </span>
74
+ </div>
75
+ </td>
76
+ </tr>
77
+ <tr data-name="style">
78
+ <td>
79
+ translation missing: en.settings.attributes.style.name
80
+ </td>
81
+ <td class="setting-value">
82
+ <div class="form-group ">
83
+ <textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
84
+ {&quot;border_color&quot;=&gt;&quot;e0e0e0&quot;, &quot;block_color&quot;=&gt;&quot;ffffff&quot;, &quot;title&quot;=&gt;{&quot;font&quot;=&gt;&quot;Tahoma&quot;, &quot;size&quot;=&gt;&quot;12&quot;, &quot;color&quot;=&gt;&quot;107821&quot;}}</textarea>
85
+ <span class="help-block">
86
+
87
+ </span>
88
+ </div>
89
+ </td>
90
+ </tr>
91
+ <tr data-name="check_something">
92
+ <td>
93
+ Check This Out!
94
+ </td>
95
+ <td class="setting-value">
96
+ <div class="form-group ">
97
+ <input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
98
+ <span class="help-block">
99
+
100
+ </span>
101
+ </div>
102
+ </td>
103
+ </tr>
104
+ <tr data-name="description">
105
+ <td>
106
+ translation missing: en.settings.attributes.description.name
107
+ </td>
108
+ <td class="setting-value">
109
+ <div class="form-group ">
110
+ <textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
111
+ But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
112
+ <span class="help-block">
113
+
114
+ </span>
115
+ </div>
116
+ </td>
117
+ </tr>
118
+ <tr data-name="mode">
119
+ <td>
120
+ translation missing: en.settings.attributes.mode.name
121
+ </td>
122
+ <td class="setting-value">
123
+ <div class="form-group ">
124
+ <input id="settings_mode_auto" name="settings[mode][auto]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_auto" style="display: inline-block;">auto</label><input checked="checked" id="settings_mode_manual" name="settings[mode][manual]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_manual" style="display: inline-block;">manual</label>
125
+ <span class="help-block">
126
+
127
+ </span>
128
+ </div>
129
+ </td>
130
+ </tr>
131
+ <tr data-name="timer">
132
+ <td>
133
+ translation missing: en.settings.attributes.timer.name
134
+ </td>
135
+ <td class="setting-value">
136
+ <div class="form-group ">
137
+ <input class="form-control" id="settings_timer" name="settings[timer]" type="text" value="7200" />
138
+ <span class="help-block">
139
+
140
+ </span>
141
+ </div>
142
+ </td>
143
+ </tr>
144
+ <tr data-name="project_status">
145
+ <td>
146
+ translation missing: en.settings.attributes.project_status.name
147
+ </td>
148
+ <td class="setting-value">
149
+ <div class="form-group ">
150
+ <input class="form-control" id="settings_project_status" name="settings[project_status]" type="text" value="finished" />
151
+ <span class="help-block">
152
+
153
+ </span>
154
+ </div>
155
+ </td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ <input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
160
+ </form>
161
+
162
+ </div>
163
+ <footer></footer>
164
+ </div>
165
+ </body>
166
+ </html>
167
+
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <title>Rails settings</title>
5
+ <meta charset="utf-8"/>
6
+ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
7
+ <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"/>
8
+
9
+ </head>
10
+ <body>
11
+ <div class="container">
12
+ <div class="navbar navbar-default">
13
+ <div class="container-fluid">
14
+ <div class="navbar-header">
15
+ <a class="navbar-brand" href="/">Rails settings ui</a>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div class="row">
20
+ <ol class="breadcrumb">
21
+ <li class="active">
22
+ Settings
23
+ </li>
24
+ </ol>
25
+ <form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="&#x2713;" /><input name="_method" type="hidden" value="put" /></div>
26
+ <table class="table table-striped">
27
+ <thead>
28
+ <tr>
29
+ <th>
30
+ Description
31
+ </th>
32
+ <th>
33
+ Value
34
+ </th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <tr data-name="project_name">
39
+ <td>
40
+ translation missing: en.settings.attributes.project_name.name
41
+ </td>
42
+ <td class="setting-value">
43
+ <div class="form-group ">
44
+ <input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
45
+ <span class="help-block">
46
+
47
+ </span>
48
+ </div>
49
+ </td>
50
+ </tr>
51
+ <tr data-name="limit">
52
+ <td>
53
+ translation missing: en.settings.attributes.limit.name
54
+ </td>
55
+ <td class="setting-value">
56
+ <div class="form-group ">
57
+ <input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
58
+ <span class="help-block">
59
+
60
+ </span>
61
+ </div>
62
+ </td>
63
+ </tr>
64
+ <tr data-name="angle">
65
+ <td>
66
+ translation missing: en.settings.attributes.angle.name
67
+ </td>
68
+ <td class="setting-value">
69
+ <div class="form-group ">
70
+ <input class="form-control" id="settings_angle" name="settings[angle]" type="text" value="0.5" />
71
+ <span class="help-block">
72
+
73
+ </span>
74
+ </div>
75
+ </td>
76
+ </tr>
77
+ <tr data-name="style">
78
+ <td>
79
+ translation missing: en.settings.attributes.style.name
80
+ </td>
81
+ <td class="setting-value">
82
+ <div class="form-group ">
83
+ <textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
84
+ {&quot;border_color&quot;=&gt;&quot;e0e0e0&quot;, &quot;block_color&quot;=&gt;&quot;ffffff&quot;, &quot;title&quot;=&gt;{&quot;font&quot;=&gt;&quot;Tahoma&quot;, &quot;size&quot;=&gt;&quot;12&quot;, &quot;color&quot;=&gt;&quot;107821&quot;}}</textarea>
85
+ <span class="help-block">
86
+
87
+ </span>
88
+ </div>
89
+ </td>
90
+ </tr>
91
+ <tr data-name="check_something">
92
+ <td>
93
+ Check This Out!
94
+ </td>
95
+ <td class="setting-value">
96
+ <div class="form-group ">
97
+ <input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
98
+ <span class="help-block">
99
+
100
+ </span>
101
+ </div>
102
+ </td>
103
+ </tr>
104
+ <tr data-name="description">
105
+ <td>
106
+ translation missing: en.settings.attributes.description.name
107
+ </td>
108
+ <td class="setting-value">
109
+ <div class="form-group ">
110
+ <textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
111
+ But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
112
+ <span class="help-block">
113
+
114
+ </span>
115
+ </div>
116
+ </td>
117
+ </tr>
118
+ <tr data-name="mode">
119
+ <td>
120
+ translation missing: en.settings.attributes.mode.name
121
+ </td>
122
+ <td class="setting-value">
123
+ <div class="form-group ">
124
+ <input id="settings_mode_auto" name="settings[mode][auto]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_auto" style="display: inline-block;">auto</label><input checked="checked" id="settings_mode_manual" name="settings[mode][manual]" style="margin: 0 10px;" type="checkbox" /><label for="settings_mode_manual" style="display: inline-block;">manual</label>
125
+ <span class="help-block">
126
+
127
+ </span>
128
+ </div>
129
+ </td>
130
+ </tr>
131
+ <tr data-name="timer">
132
+ <td>
133
+ translation missing: en.settings.attributes.timer.name
134
+ </td>
135
+ <td class="setting-value">
136
+ <div class="form-group ">
137
+ <input class="form-control" id="settings_timer" name="settings[timer]" type="text" value="7200" />
138
+ <span class="help-block">
139
+
140
+ </span>
141
+ </div>
142
+ </td>
143
+ </tr>
144
+ <tr data-name="project_status">
145
+ <td>
146
+ translation missing: en.settings.attributes.project_status.name
147
+ </td>
148
+ <td class="setting-value">
149
+ <div class="form-group ">
150
+ <input class="form-control" id="settings_project_status" name="settings[project_status]" type="text" value="finished" />
151
+ <span class="help-block">
152
+
153
+ </span>
154
+ </div>
155
+ </td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ <input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
160
+ </form>
161
+
162
+ </div>
163
+ <footer></footer>
164
+ </div>
165
+ </body>
166
+ </html>
167
+
@@ -0,0 +1,167 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <title>Rails settings</title>
5
+ <meta charset="utf-8"/>
6
+ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
7
+ <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport"/>
8
+
9
+ </head>
10
+ <body>
11
+ <div class="container">
12
+ <div class="navbar navbar-default">
13
+ <div class="container-fluid">
14
+ <div class="navbar-header">
15
+ <a class="navbar-brand" href="/">Rails settings ui</a>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div class="row">
20
+ <ol class="breadcrumb">
21
+ <li class="active">
22
+ Settings
23
+ </li>
24
+ </ol>
25
+ <form accept-charset="UTF-8" action="/settings/update_all" class="form" method="post"><div style="display:none"><input name="utf8" type="hidden" value="&#x2713;" /><input name="_method" type="hidden" value="put" /></div>
26
+ <table class="table table-striped">
27
+ <thead>
28
+ <tr>
29
+ <th>
30
+ Description
31
+ </th>
32
+ <th>
33
+ Value
34
+ </th>
35
+ </tr>
36
+ </thead>
37
+ <tbody>
38
+ <tr data-name="project_name">
39
+ <td>
40
+ translation missing: en.settings.attributes.project_name.name
41
+ </td>
42
+ <td class="setting-value">
43
+ <div class="form-group ">
44
+ <input class="form-control" id="settings_project_name" name="settings[project_name]" type="text" value="Dummy" />
45
+ <span class="help-block">
46
+
47
+ </span>
48
+ </div>
49
+ </td>
50
+ </tr>
51
+ <tr data-name="limit">
52
+ <td>
53
+ translation missing: en.settings.attributes.limit.name
54
+ </td>
55
+ <td class="setting-value">
56
+ <div class="form-group ">
57
+ <input class="form-control" id="settings_limit" name="settings[limit]" type="text" value="150" />
58
+ <span class="help-block">
59
+
60
+ </span>
61
+ </div>
62
+ </td>
63
+ </tr>
64
+ <tr data-name="angle">
65
+ <td>
66
+ translation missing: en.settings.attributes.angle.name
67
+ </td>
68
+ <td class="setting-value">
69
+ <div class="form-group ">
70
+ <input class="form-control" id="settings_angle" name="settings[angle]" type="text" value="0.5" />
71
+ <span class="help-block">
72
+
73
+ </span>
74
+ </div>
75
+ </td>
76
+ </tr>
77
+ <tr data-name="style">
78
+ <td>
79
+ translation missing: en.settings.attributes.style.name
80
+ </td>
81
+ <td class="setting-value">
82
+ <div class="form-group ">
83
+ <textarea class="form-control" id="settings_style" name="settings[style]" rows="10">
84
+ {&quot;border_color&quot;=&gt;&quot;e0e0e0&quot;, &quot;block_color&quot;=&gt;&quot;ffffff&quot;, &quot;title&quot;=&gt;{&quot;font&quot;=&gt;&quot;Tahoma&quot;, &quot;size&quot;=&gt;&quot;12&quot;, &quot;color&quot;=&gt;&quot;107821&quot;}}</textarea>
85
+ <span class="help-block">
86
+
87
+ </span>
88
+ </div>
89
+ </td>
90
+ </tr>
91
+ <tr data-name="check_something">
92
+ <td>
93
+ Check This Out!
94
+ </td>
95
+ <td class="setting-value">
96
+ <div class="form-group ">
97
+ <input id="settings_check_something" name="settings[check_something]" type="hidden" value="off" /><input checked="checked" id="settings_check_something" name="settings[check_something]" type="checkbox" /><span class="help-block">You really should check it out!</span>
98
+ <span class="help-block">
99
+
100
+ </span>
101
+ </div>
102
+ </td>
103
+ </tr>
104
+ <tr data-name="description">
105
+ <td>
106
+ translation missing: en.settings.attributes.description.name
107
+ </td>
108
+ <td class="setting-value">
109
+ <div class="form-group ">
110
+ <textarea class="form-control" id="settings_description" name="settings[description]" rows="10">
111
+ But I must explain to you how all this mistaken idea of denouncing pleasure and praising pain was born and I will give you a complete account of the system, and expound the actual teachings of the great explorer of the truth, the master-builder of human happiness. No one rejects, dislikes, or avoids pleasure itself, because it is pleasure, but because those who do not know how to pursue pleasure rationally encounter consequences that are extremely painful.</textarea>
112
+ <span class="help-block">
113
+
114
+ </span>
115
+ </div>
116
+ </td>
117
+ </tr>
118
+ <tr data-name="mode">
119
+ <td>
120
+ translation missing: en.settings.attributes.mode.name
121
+ </td>
122
+ <td class="setting-value">
123
+ <div class="form-group ">
124
+ <select class="form-control" id="settings_mode" name="settings[mode]"></select>
125
+ <span class="help-block">
126
+
127
+ </span>
128
+ </div>
129
+ </td>
130
+ </tr>
131
+ <tr data-name="timer">
132
+ <td>
133
+ translation missing: en.settings.attributes.timer.name
134
+ </td>
135
+ <td class="setting-value">
136
+ <div class="form-group ">
137
+ <input class="form-control" id="settings_timer" name="settings[timer]" type="text" value="7200" />
138
+ <span class="help-block">
139
+
140
+ </span>
141
+ </div>
142
+ </td>
143
+ </tr>
144
+ <tr data-name="project_status">
145
+ <td>
146
+ translation missing: en.settings.attributes.project_status.name
147
+ </td>
148
+ <td class="setting-value">
149
+ <div class="form-group ">
150
+ <input class="form-control" id="settings_project_status" name="settings[project_status]" type="text" value="finished" />
151
+ <span class="help-block">
152
+
153
+ </span>
154
+ </div>
155
+ </td>
156
+ </tr>
157
+ </tbody>
158
+ </table>
159
+ <input class="btn btn-primary btn-lg" name="commit" type="submit" value="Save all" />
160
+ </form>
161
+
162
+ </div>
163
+ <footer></footer>
164
+ </div>
165
+ </body>
166
+ </html>
167
+