etabliocms_core 0.0.4 → 0.0.5
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/app/assets/images/admin/sidebar-help.png +0 -0
- data/app/assets/images/admin/textile.jpg +0 -0
- data/app/assets/stylesheets/admin.css.scss +3 -1
- data/app/controllers/etabliocms_core/admin/static_controller.rb +4 -0
- data/app/views/etabliocms_core/admin/static/textile_help.html.erb +97 -0
- data/app/views/layouts/admin.html.erb +5 -0
- data/config/locales/core.cs.yml +3 -0
- data/config/routes.rb +1 -0
- data/lib/etabliocms_core/version.rb +1 -1
- metadata +19 -17
- data/app/views/etabliocms_core/admin/static/textile.html.erb +0 -250
Binary file
|
Binary file
|
@@ -145,7 +145,9 @@ fieldset { border:0; clear:both;
|
|
145
145
|
img { display:block; }
|
146
146
|
}
|
147
147
|
.file-box { clear:both; }
|
148
|
-
.markItUp { clear:both; padding-top:15px;
|
148
|
+
.markItUp { clear:both; padding-top:15px;
|
149
|
+
textarea { font-size: 1.3em; }
|
150
|
+
}
|
149
151
|
.tagsinput { margin: 10px 0 0 90px; width: 300px; }
|
150
152
|
}
|
151
153
|
|
@@ -0,0 +1,97 @@
|
|
1
|
+
<% set_title_and_breadcrumb "Nápověda k syntaxi Textile" %>
|
2
|
+
|
3
|
+
<h1>Textile</h1>
|
4
|
+
<p>Textile je značkovací jazyk, umožňující zapisovat HTML v textové formě, bez HTML značek.</p> <br>
|
5
|
+
|
6
|
+
<table id="textile-help">
|
7
|
+
<thead>
|
8
|
+
<tr class="dark-row">
|
9
|
+
<th>Název</th>
|
10
|
+
<th>Jak se zapisuje</th>
|
11
|
+
<th>Jak vypadá</th>
|
12
|
+
</tr>
|
13
|
+
</thead>
|
14
|
+
<tbody>
|
15
|
+
<tr>
|
16
|
+
<th>Nadpis</th>
|
17
|
+
<td>h2. Nadpis</td>
|
18
|
+
<td><%= raw textilize("h2. Nadpis") %></td>
|
19
|
+
</tr>
|
20
|
+
<tr>
|
21
|
+
<th>Menší nadpis</th>
|
22
|
+
<td>h3. Nadpis</td>
|
23
|
+
<td><%= raw textilize("h3. Menší nadpis") %></td>
|
24
|
+
</tr>
|
25
|
+
<tr>
|
26
|
+
<th>Kurzíva</th>
|
27
|
+
<td>Lorem _ipsum dolor_ sit amet.</td>
|
28
|
+
<td><%= raw textilize("Lorem _ipsum dolor_ sit amet.") %></td>
|
29
|
+
</tr>
|
30
|
+
<tr>
|
31
|
+
<th>Tučné</th>
|
32
|
+
<td>Lorem *ipsum dolor* sit amet.</td>
|
33
|
+
<td><%= raw textilize("Lorem *ipsum dolor* sit amet.") %></td>
|
34
|
+
</tr>
|
35
|
+
<tr>
|
36
|
+
<th>Položka číselného seznamu</th>
|
37
|
+
<td># Lorem ipsum dolor sit amet.</td>
|
38
|
+
<td><%= raw textilize("# Lorem ipsum dolor sit amet.") %></td>
|
39
|
+
</tr>
|
40
|
+
<tr>
|
41
|
+
<th>Položka odrážkového seznamu</th>
|
42
|
+
<td>* Lorem ipsum dolor sit amet.</td>
|
43
|
+
<td><%= raw textilize("* Lorem ipsum dolor sit amet.") %></td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<th>Odkaz</th>
|
47
|
+
<td>"Text odkazu":http://www.seznam.cz</td>
|
48
|
+
<td><%= raw textilize("\"Text odkazu\":http://www.seznam.cz") %></td>
|
49
|
+
</tr>
|
50
|
+
<tr>
|
51
|
+
<th>Odkaz v textu</th>
|
52
|
+
<td>Lorem "ipsum dolor":http://www.seznam.cz sit amet.</td>
|
53
|
+
<td><%= raw textilize("Lorem \"ipsum dolor\":http://www.seznam.cz sit amet.") %></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<th>Odkaz v textu s bublinkou</th>
|
57
|
+
<td>Lorem "ipsum dolor"(Text bublinky):http://www.seznam.cz sit amet.</td>
|
58
|
+
<td><%= raw textilize("Lorem \"ipsum dolor(Text bublinky)\":http://www.seznam.cz sit amet.") %></td>
|
59
|
+
</tr>
|
60
|
+
<tr>
|
61
|
+
<th>Obrázek s popiskem</th>
|
62
|
+
<td>!<%= "http://#{request.host}/files/textile.jpg" %>(Popisek obrázku)!</td>
|
63
|
+
<td><%= raw textilize("!#{image_path("admin/textile.jpg")}(Popisek obrázku)!") %></td>
|
64
|
+
</tr>
|
65
|
+
<tr>
|
66
|
+
<th>Obrázek s popiskem a odkazem</th>
|
67
|
+
<td>!<%= raw "http://#{configatron.host}/files/textile.jpg" %>(Popisek
|
68
|
+
obrázku)!:http://www.seznam.cz
|
69
|
+
</td>
|
70
|
+
<td><%= raw textilize("!#{image_path("admin/textile.jpg")}(Popisek obrázku)!:http://www.seznam.cz") %></td>
|
71
|
+
</tr>
|
72
|
+
|
73
|
+
</tbody>
|
74
|
+
|
75
|
+
</table>
|
76
|
+
|
77
|
+
|
78
|
+
<p>
|
79
|
+
Podrobnější informace naleznete například na oficiálních
|
80
|
+
stránkách <%= link_to "Textile", "http://www.textism.com/tools/textile/" %>
|
81
|
+
nebo na stránkách <%= link_to "RedCloth", "http://redcloth.org/textile" %>.
|
82
|
+
</p>
|
83
|
+
|
84
|
+
<% content_for :javascript do %>
|
85
|
+
<%= javascript_include_tag "jquery.colorbox-min" %>
|
86
|
+
|
87
|
+
<script type="text/javascript">
|
88
|
+
var opts = {
|
89
|
+
current: "{current} z {total}",
|
90
|
+
previous: "předchozí",
|
91
|
+
next: "další",
|
92
|
+
close: "zavřít"
|
93
|
+
};
|
94
|
+
$("a[rel=text-gallery]").colorbox(opts);
|
95
|
+
</script>
|
96
|
+
<% end %>
|
97
|
+
|
@@ -52,6 +52,11 @@
|
|
52
52
|
<%= render :partial => "layouts/sidebar_#{m}" %>
|
53
53
|
<% end %>
|
54
54
|
|
55
|
+
<h3><%= image_tag asset_path("admin/sidebar-help.png"), :alt => t('help.help') %><%= t('help.help') %></h3>
|
56
|
+
<ul>
|
57
|
+
<li><%= link_to_unless_current I18n.t('help.textile'), admin_textile_help_path %></li>
|
58
|
+
</ul>
|
59
|
+
|
55
60
|
</div>
|
56
61
|
</div>
|
57
62
|
</nav>
|
data/config/locales/core.cs.yml
CHANGED
data/config/routes.rb
CHANGED
@@ -4,6 +4,7 @@ Rails.application.routes.draw do
|
|
4
4
|
|
5
5
|
match "/admin", :to => "etabliocms_core/admin/static#index"
|
6
6
|
match "/admin/textile_parser", :to => "etabliocms_core/admin/static#textile_parser", :as => "textile_parser"
|
7
|
+
match "/admin/textile_help", :to => "etabliocms_core/admin/static#textile_help", :as => "admin_textile_help"
|
7
8
|
|
8
9
|
scope :module => "etabliocms_core" do
|
9
10
|
namespace :admin do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: etabliocms_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &8387660 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.2.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *8387660
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jquery-rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &8386120 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *8386120
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: jquery-ui-rails
|
38
|
-
requirement: &
|
38
|
+
requirement: &8384380 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *8384380
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: devise
|
49
|
-
requirement: &
|
49
|
+
requirement: &8383000 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: 2.0.4
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *8383000
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: configatron
|
60
|
-
requirement: &
|
60
|
+
requirement: &8382000 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *8382000
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: RedCloth
|
71
|
-
requirement: &
|
71
|
+
requirement: &8381040 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - =
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 4.2.9
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *8381040
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: sqlite3
|
82
|
-
requirement: &
|
82
|
+
requirement: &8380280 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *8380280
|
91
91
|
description: Small CMS
|
92
92
|
email:
|
93
93
|
- patrikjira@gmail.com
|
@@ -101,8 +101,8 @@ files:
|
|
101
101
|
- app/views/layouts/_flashes.html.erb
|
102
102
|
- app/views/layouts/admin.html.erb
|
103
103
|
- app/views/layouts/email.html.erb
|
104
|
-
- app/views/etabliocms_core/admin/static/textile.html.erb
|
105
104
|
- app/views/etabliocms_core/admin/static/index.html.erb
|
105
|
+
- app/views/etabliocms_core/admin/static/textile_help.html.erb
|
106
106
|
- app/views/etabliocms_core/admin/users/_form.html.erb
|
107
107
|
- app/views/etabliocms_core/admin/users/new.html.erb
|
108
108
|
- app/views/etabliocms_core/admin/users/edit.html.erb
|
@@ -119,12 +119,14 @@ files:
|
|
119
119
|
- app/assets/images/admin/background-sidebar-bottom.png
|
120
120
|
- app/assets/images/admin/news.png
|
121
121
|
- app/assets/images/admin/background-sidebar-item.png
|
122
|
+
- app/assets/images/admin/sidebar-help.png
|
122
123
|
- app/assets/images/admin/background.gif
|
123
124
|
- app/assets/images/admin/background-main.gif
|
124
125
|
- app/assets/images/admin/background-sidebar.png
|
125
126
|
- app/assets/images/admin/background-heading.png
|
126
127
|
- app/assets/images/admin/icon-close.png
|
127
128
|
- app/assets/images/admin/background-th.png
|
129
|
+
- app/assets/images/admin/textile.jpg
|
128
130
|
- app/assets/images/admin/line-heading.png
|
129
131
|
- app/assets/images/admin/sidebar-users.png
|
130
132
|
- app/assets/images/admin/bullet.gif
|
@@ -1,250 +0,0 @@
|
|
1
|
-
<% set_title_and_breadcrumb "Nápověda k syntaxi Textile" %>
|
2
|
-
|
3
|
-
<h1>Textile</h1>
|
4
|
-
<p>Textile je značkovací jazyk, umožňující zapisovat HTML v textové formě, bez HTML značek.</p>
|
5
|
-
|
6
|
-
<table id="textile-help">
|
7
|
-
<thead>
|
8
|
-
<tr class="dark-row">
|
9
|
-
<th>Objekt</th>
|
10
|
-
<th>Jak se zapisuje</th>
|
11
|
-
<th>Jak vypadá</th>
|
12
|
-
</tr>
|
13
|
-
</thead>
|
14
|
-
<tbody>
|
15
|
-
<tr>
|
16
|
-
<th>Nadpis</th>
|
17
|
-
<td>h2. Nadpis</td>
|
18
|
-
<td><%= textilize("h2. Nadpis") %></td>
|
19
|
-
</tr>
|
20
|
-
<tr>
|
21
|
-
<th>Menší nadpis</th>
|
22
|
-
<td>h3. Nadpis</td>
|
23
|
-
<td><%= textilize("h3. Menší nadpis") %></td>
|
24
|
-
</tr>
|
25
|
-
<tr>
|
26
|
-
<th>Bloková citace</th>
|
27
|
-
<td>bq. <%= Lorem::Base.new('words', 19).output %></td>
|
28
|
-
<td><%= textilize("bq. #{Lorem::Base.new('words', 19).output}") %></td>
|
29
|
-
</tr>
|
30
|
-
<tr>
|
31
|
-
<th>Kurzíva</th>
|
32
|
-
<td>Lorem _ipsum dolor_ sit amet.</td>
|
33
|
-
<td><%= textilize("Lorem _ipsum dolor_ sit amet.") %></td>
|
34
|
-
</tr>
|
35
|
-
<tr>
|
36
|
-
<th>Tučné</th>
|
37
|
-
<td>Lorem *ipsum dolor* sit amet.</td>
|
38
|
-
<td><%= textilize("Lorem *ipsum dolor* sit amet.") %></td>
|
39
|
-
</tr>
|
40
|
-
<tr>
|
41
|
-
<th>Řádková citace</th>
|
42
|
-
<td>Lorem ??ipsum dolor?? sit amet.</td>
|
43
|
-
<td><%= textilize("Lorem ??ipsum dolor?? sit amet.") %></td>
|
44
|
-
</tr>
|
45
|
-
<tr>
|
46
|
-
<th>Horní index</th>
|
47
|
-
<td>Lorem ^ipsum^ dolor sit amet.</td>
|
48
|
-
<td><%= textilize("Lorem ^ipsum^ dolor sit amet.") %></td>
|
49
|
-
</tr>
|
50
|
-
<tr>
|
51
|
-
<th>Dolní index</th>
|
52
|
-
<td>Lorem ~ipsum~ dolor sit amet.</td>
|
53
|
-
<td><%= textilize("Lorem ~ipsum~ dolor sit amet.") %></td>
|
54
|
-
</tr>
|
55
|
-
<tr>
|
56
|
-
<th>Položka číselného seznamu</th>
|
57
|
-
<td># Lorem ipsum dolor sit amet.</td>
|
58
|
-
<td><%= textilize("# Lorem ipsum dolor sit amet.") %></td>
|
59
|
-
</tr>
|
60
|
-
<tr>
|
61
|
-
<th>Položka odrážkového seznamu</th>
|
62
|
-
<td>* Lorem ipsum dolor sit amet.</td>
|
63
|
-
<td><%= textilize("* Lorem ipsum dolor sit amet.") %></td>
|
64
|
-
</tr>
|
65
|
-
<tr>
|
66
|
-
<th>Odkaz</th>
|
67
|
-
<td>"Text odkazu":http://www.seznam.cz</td>
|
68
|
-
<td><%= textilize("\"Text odkazu\":http://www.seznam.cz") %></td>
|
69
|
-
</tr>
|
70
|
-
<tr>
|
71
|
-
<th>Odkaz v textu</th>
|
72
|
-
<td>Lorem "ipsum dolor":http://www.seznam.cz sit amet.</td>
|
73
|
-
<td><%= textilize("Lorem \"ipsum dolor\":http://www.seznam.cz sit amet.") %></td>
|
74
|
-
</tr>
|
75
|
-
<tr>
|
76
|
-
<th>Odkaz v textu s bublinkou</th>
|
77
|
-
<td>Lorem "ipsum dolor"(Text bublinky):http://www.seznam.cz sit amet.</td>
|
78
|
-
<td><%= textilize("Lorem \"ipsum dolor(Text bublinky)\":http://www.seznam.cz sit amet.") %></td>
|
79
|
-
</tr>
|
80
|
-
<tr>
|
81
|
-
<th>Obrázek s popiskem</th>
|
82
|
-
<td>!<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek obrázku)!</td>
|
83
|
-
<td><%= textilize("!/images/mystic/box-heading-background.png(Popisek obrázku)!") %></td>
|
84
|
-
</tr>
|
85
|
-
<tr>
|
86
|
-
<th>Obrázek s popiskem a odkazem</th>
|
87
|
-
<td>!<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek
|
88
|
-
obrázku)!:http://www.seznam.cz
|
89
|
-
</td>
|
90
|
-
<td><%= textilize("!/images/mystic/box-heading-background.png(Popisek obrázku)!:http://www.seznam.cz") %></td>
|
91
|
-
</tr>
|
92
|
-
|
93
|
-
<tr>
|
94
|
-
<th>Obrázek v textu s popiskem zarovnaný na střed</th>
|
95
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/>
|
96
|
-
!(image-center)<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek obrázku)!<br/>
|
97
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
98
|
-
</td>
|
99
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <%= textilize("!(image-center)/images/mystic/box-heading-background.png(Popisek obrázku)!
|
100
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. ") %></td>
|
101
|
-
</tr>
|
102
|
-
<tr>
|
103
|
-
<th>Obrázek v textu s popiskem plovoucí vlevo</th>
|
104
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/>
|
105
|
-
!(image-left)<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek obrázku)!<br/>
|
106
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
107
|
-
elit.
|
108
|
-
</td>
|
109
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
110
|
-
elit. <%= textilize("!(image-left)/images/mystic/box-heading-background.png(Popisek obrázku)! Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.") %></td>
|
111
|
-
</tr>
|
112
|
-
<tr>
|
113
|
-
<th>Obrázek v textu s popiskem plovoucí vpravo</th>
|
114
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/>
|
115
|
-
!(image-right)<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek obrázku)!<br/>
|
116
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
117
|
-
elit.
|
118
|
-
</td>
|
119
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
120
|
-
elit. <%= textilize("!(image-right)/images/mystic/box-heading-background.png(Popisek obrázku)! Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.") %></td>
|
121
|
-
</tr>
|
122
|
-
<tr>
|
123
|
-
<th>Obrázek s lightboxem</th>
|
124
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/><br/>
|
125
|
-
fig. <%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>
|
126
|
-
| <%= "http://#{configatron.host}/images/mystic/logo.png" %> | Popisek obrázku <br/> <br/>
|
127
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
128
|
-
elit.
|
129
|
-
</td>
|
130
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
131
|
-
elit. <%= textilize("fig. /images/mystic/box-heading-background.png | /images/mystic/logo.png | Popisek obrázku") %>
|
132
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
133
|
-
elit.
|
134
|
-
</td>
|
135
|
-
</tr>
|
136
|
-
|
137
|
-
<tr>
|
138
|
-
<th>Ikonka</th>
|
139
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/><br/>
|
140
|
-
icon. <%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>
|
141
|
-
| http://www.seznam.cz | Popisek ikonky <br/> <br/>
|
142
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
143
|
-
elit.
|
144
|
-
</td>
|
145
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
146
|
-
elit. <%= textilize("icon. /images/mystic/box-heading-background.png | http://www.seznam.cz | Popisek ikonky") %>
|
147
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
148
|
-
elit.
|
149
|
-
</td>
|
150
|
-
</tr>
|
151
|
-
<tr>
|
152
|
-
<th>Ikonka se zalamovací čárou</th>
|
153
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. <br/><br/>
|
154
|
-
icon. <%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>
|
155
|
-
| http://www.seznam.cz | Popisek ikonky <br/>
|
156
|
-
cleaner. <br/>
|
157
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
158
|
-
elit.
|
159
|
-
</td>
|
160
|
-
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing
|
161
|
-
elit. <%= textilize("icon. /images/mystic/box-heading-background.png | http://www.seznam.cz | Popisek ikonky ") %>
|
162
|
-
<hr class="cleaner" />
|
163
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
164
|
-
elit.
|
165
|
-
</td>
|
166
|
-
</tr>
|
167
|
-
<tr>
|
168
|
-
<th>Google mapa</th>
|
169
|
-
<td><strong>Formát:</strong><br/><br/>
|
170
|
-
gmap. latitude | longitude | zoom | Popisek k mapě
|
171
|
-
<td><strong>Příklad:</strong><br/><br/>
|
172
|
-
gmap. 50.045542 | 14.446846 | 10 | Adresa v Praze
|
173
|
-
</td>
|
174
|
-
</tr>
|
175
|
-
<tr>
|
176
|
-
<th>Youtube video</th>
|
177
|
-
<td><strong>Formát:</strong><br/><br/>
|
178
|
-
youtube. kód | šířka | výška | Popisek videa
|
179
|
-
<td><strong>Příklad:</strong><br/><br/>
|
180
|
-
youtube. QKPwuJyC-4E | 300 | 210| Stacie Monroe
|
181
|
-
</td>
|
182
|
-
</tr>
|
183
|
-
<tr>
|
184
|
-
<th>Flash</th>
|
185
|
-
<td><strong>Formát:</strong><br/><br/>
|
186
|
-
flash. url | šířka | výška
|
187
|
-
<td><strong>Příklad:</strong><br/><br/>
|
188
|
-
flash. http://www.seznam.cz/flash.swf | 300 | 210
|
189
|
-
</td>
|
190
|
-
</tr>
|
191
|
-
<tr>
|
192
|
-
<th>Zarovnání odstavce do bloku</th>
|
193
|
-
<td>p(justify). Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</td>
|
194
|
-
<td><%= textilize("p(justify). Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.") %></td>
|
195
|
-
</tr>
|
196
|
-
<tr>
|
197
|
-
<th>Zarovnání odstavce napravo</th>
|
198
|
-
<td>p(right). Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</td>
|
199
|
-
<td><%= textilize("p(right). Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.") %></td>
|
200
|
-
</tr>
|
201
|
-
<tr>
|
202
|
-
<th>Komplexní příklad</th>
|
203
|
-
<td>h2. Lorem ipsum<br/>
|
204
|
-
Lorem ipsum dolor sit amet, *"consectetuer":http://www.seznam.cz* adipiscing elit. Lorem ipsum dolor sit amet,
|
205
|
-
consectetuer adipiscing elit. <br/>
|
206
|
-
* Lorem<br/>
|
207
|
-
* Ipsum<br/>
|
208
|
-
** Lorem ipsum<br/>
|
209
|
-
** Dolor sit amet<br/>
|
210
|
-
* dolor sit amet<br/>
|
211
|
-
!(image-center)<%= "http://#{configatron.host}/images/mystic/box-heading-background.png" %>(Popisek
|
212
|
-
obrázku)!:http://www.seznam.cz<br/>
|
213
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing
|
214
|
-
elit.
|
215
|
-
</td>
|
216
|
-
<td><%= textilize("h2. Lorem ipsum
|
217
|
-
|
218
|
-
Lorem ipsum dolor sit amet, *\"consectetuer\":http://www.seznam.cz* adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
219
|
-
* Lorem
|
220
|
-
* Ipsum
|
221
|
-
** Lorem ipsum
|
222
|
-
** Dolor sit amet
|
223
|
-
* dolor sit amet
|
224
|
-
!(image-center)/images/mystic/box-heading-background.png(Popisek obrázku)!:http://www.seznam.cz
|
225
|
-
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.") %></td>
|
226
|
-
</tr>
|
227
|
-
|
228
|
-
|
229
|
-
</tbody>
|
230
|
-
|
231
|
-
</table>
|
232
|
-
|
233
|
-
|
234
|
-
<p>Podrobnější informace naleznete například na oficiálních
|
235
|
-
stránkách <%= link_to "Textile", "http://www.textism.com/tools/textile/" %>.</p>
|
236
|
-
|
237
|
-
<% content_for :javascript do %>
|
238
|
-
<%= javascript_include_tag "jquery.colorbox-min" %>
|
239
|
-
|
240
|
-
<script type="text/javascript">
|
241
|
-
var opts = {
|
242
|
-
current: "{current} z {total}",
|
243
|
-
previous: "předchozí",
|
244
|
-
next: "další",
|
245
|
-
close: "zavřít"
|
246
|
-
};
|
247
|
-
$("a[rel=text-gallery]").colorbox(opts);
|
248
|
-
</script>
|
249
|
-
<% end %>
|
250
|
-
|