tb_cms 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/admin/cms/application.css +1 -4
- data/lib/spud_cms/version.rb +1 -1
- metadata +2 -6
- data/app/views/admin/templates/_form.html.erb +0 -43
- data/app/views/admin/templates/edit.html.erb +0 -9
- data/app/views/admin/templates/index.html.erb +0 -17
- data/app/views/admin/templates/new.html.erb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 773d54e061bae66da7a726bd1204e195c626ddf9
|
4
|
+
data.tar.gz: c60846a1053e1d62c2091feb66578637a254a175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a4fcfb5e1b6253a1158769d7ec43c75a53bb7d1de301538ad752124849d40de1adc3af18521d81360eae4bb66dee959107b71aade0c6c9c65aa20a4810ecb63
|
7
|
+
data.tar.gz: aac2216c171d43169fe28a9699d77c6f95b9cfad6bf12b4975ca942529aa0677ce94b41ecbc427b1743108562b86c2a8cff08a8729cf98a9b2427e53f4d681ec
|
data/lib/spud_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Westlake Design
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -229,10 +229,6 @@ files:
|
|
229
229
|
- app/views/admin/snippets/edit.html.erb
|
230
230
|
- app/views/admin/snippets/index.html.erb
|
231
231
|
- app/views/admin/snippets/new.html.erb
|
232
|
-
- app/views/admin/templates/_form.html.erb
|
233
|
-
- app/views/admin/templates/edit.html.erb
|
234
|
-
- app/views/admin/templates/index.html.erb
|
235
|
-
- app/views/admin/templates/new.html.erb
|
236
232
|
- app/views/cms/sitemaps/show.xml.builder
|
237
233
|
- app/views/pages/not_found.html.erb
|
238
234
|
- app/views/pages/show.html.erb
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<%=error_messages_for(f.object)%>
|
2
|
-
<fieldset>
|
3
|
-
|
4
|
-
<div class="control-group">
|
5
|
-
<%=f.label :name, :required=>true,:class=>"control-label"%>
|
6
|
-
<div class="controls">
|
7
|
-
<%=f.text_field :name,:title => "",:size=>40%>
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
|
12
|
-
<div class="control-group">
|
13
|
-
<%=f.label :base_layout, "Base Layout",:class=>"control-label"%>
|
14
|
-
<div class="controls">
|
15
|
-
<%=f.text_field :base_layout%>
|
16
|
-
</div>
|
17
|
-
</div>
|
18
|
-
<div class="control-group">
|
19
|
-
<%=f.label :content, "Content",:class=>"control-label"%>
|
20
|
-
<div class="controls">
|
21
|
-
<%=f.text_area :content, :rows => 20,:cols => 110%>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
<div class="control-group">
|
25
|
-
<%=f.label :page_parts, "Page Parts",:class=>"control-label"%>
|
26
|
-
<div class="controls">
|
27
|
-
<%=f.text_field :page_parts%>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
</fieldset>
|
34
|
-
|
35
|
-
|
36
|
-
<script type="text/javascript">
|
37
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("spud_template_content"), {
|
38
|
-
lineNumbers: true,
|
39
|
-
mode: "application/x-ejs",
|
40
|
-
matchBrackets: true,
|
41
|
-
theme:'night'
|
42
|
-
});
|
43
|
-
</script>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
|
2
|
-
<%=form_for @template,:url => admin_template_path(:id => @template.id),:html=>{:class=>"form-horizontal"} do |f|%>
|
3
|
-
<%=render :partial => "form",:locals => {:f => f}%>
|
4
|
-
<div class="form-actions">
|
5
|
-
<%=f.submit "Save Template", :class=>"btn btn-primary"%> or <%=link_to "cancel",admin_templates_path,:class => "btn"%>
|
6
|
-
</div>
|
7
|
-
<%end%>
|
8
|
-
|
9
|
-
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%=content_for :data_controls do%>
|
2
|
-
<%=link_to "New Template",new_admin_template_path(),:class => "btn btn-primary",:title => "New Template"%>
|
3
|
-
<%end%>
|
4
|
-
<%=content_for :detail do%>
|
5
|
-
<div class="page_list">
|
6
|
-
<%@templates.each do |template|%>
|
7
|
-
<div class="page_row">
|
8
|
-
<span class="row_meta"><%=link_to template.name,edit_admin_template_path(:id => template.id)%></span>
|
9
|
-
|
10
|
-
<span class="edit_controls"><%=link_to "Edit",edit_admin_template_path(:id => template.id), :title => "Edit Template",:class => 'btn'%> <%=link_to "Remove",admin_template_path(:id => template.id),:method => :delete,:class => 'btn btn-danger',:confirm => "Are you sure you want to remove this template?"%></span>
|
11
|
-
<br style="clear:both;"/>
|
12
|
-
</div>
|
13
|
-
<%end%>
|
14
|
-
<%=will_paginate @templates%>
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<%end%>
|
@@ -1,11 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<%=form_for @template,:url => admin_templates_path(),:html=>{:class=>"form-horizontal"} do |f|%>
|
5
|
-
<%=render :partial => "form",:locals => {:f => f}%>
|
6
|
-
<div class="form-actions">
|
7
|
-
<%=f.submit "Create Template", :class=>"btn btn-primary"%> or <%=link_to "cancel",admin_templates_path,:class => "btn"%>
|
8
|
-
</div>
|
9
|
-
<%end%>
|
10
|
-
|
11
|
-
|