tb_cms 1.1.3 → 1.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2989c1cf4dd02e1dd82aa3d0e44943ab0459bfd9
4
- data.tar.gz: 488799900f0342b2fba67d8ccb87fb1f1dfeff4f
3
+ metadata.gz: 773d54e061bae66da7a726bd1204e195c626ddf9
4
+ data.tar.gz: c60846a1053e1d62c2091feb66578637a254a175
5
5
  SHA512:
6
- metadata.gz: e99c51f09cc14b669e335baee58243d602a514eec2ed15c83539bc672097559253012917722c478f3c36fe8556fcfec93231cfa4e78542b66404a0d31057fc1d
7
- data.tar.gz: 176da5b738c8e3838609b50a336178c6e28fd3bf45296a67cd993bb9e569afc01a99bab9addfa5bd492c2ef5ad5f1609c7ca56aaa61c9e1a58444e07f47d691b
6
+ metadata.gz: 4a4fcfb5e1b6253a1158769d7ec43c75a53bb7d1de301538ad752124849d40de1adc3af18521d81360eae4bb66dee959107b71aade0c6c9c65aa20a4810ecb63
7
+ data.tar.gz: aac2216c171d43169fe28a9699d77c6f95b9cfad6bf12b4975ca942529aa0677ce94b41ecbc427b1743108562b86c2a8cff08a8729cf98a9b2427e53f4d681ec
@@ -1,7 +1,4 @@
1
- /*
2
- //= require codemirror
3
- //= require codemirror/themes/night
4
- */
1
+
5
2
  .menu_list {
6
3
  list-style-type:none;
7
4
  }
@@ -1,5 +1,5 @@
1
1
  module Spud
2
2
  module Cms
3
- VERSION = "1.1.3"
3
+ VERSION = "1.1.4"
4
4
  end
5
5
  end
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.3
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-07-30 00:00:00.000000000 Z
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'%>&nbsp;&nbsp;<%=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
-