To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / vendor / plugins / embedded / app / views / settings / _embedded.html.erb @ 918:04114f36670d

History | View | Annotate | Download (1.13 KB)

1 154:317821dd92c9 Chris
<p><label>HTML directory</label>
2
<%= text_field_tag 'settings[path]', @settings['path'], :size => 80 %>
3
<br /><em>Use {PROJECT} to include the project identifier in the path</em></p>
4
5
<p><label>Index files</label>
6
<%= text_area_tag 'settings[index]', @settings['index'], :cols => 60, :rows => 3 %>
7
<br /><em>Space separated list of index files by priority</em></p>
8
9
<p><label>Valid extensions</label>
10
<%= text_area_tag 'settings[extensions]', @settings['extensions'], :cols => 60, :rows => 3 %>
11
<br /><em>Space separated list of file extensions that can be viewed (case insensitive)</em></p>
12
13
<p><label>Default template</label>
14
<%= select_tag 'settings[template]', options_for_select([''] + Redmine::Plugins::Embedded.available_templates, @settings['template']) %></p>
15
16
<p><label>Files encoding</label>
17
<%= text_field_tag 'settings[encoding]', @settings['encoding'] %>
18
<br /><em>Eg. ISO-8859-1<br />Leave this field empty if HTML files are UTF-8 encoded</em></p>
19
20
<p><label>Menu caption</label>
21
<%= text_field_tag 'settings[menu]', @settings['menu'], :size => 30 %>
22
<br /><em>Clear this field if you don't want to add a tab to the project menu</em></p>