forked from bofh/fetsite
tinmce update
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
*= require 'calendars'
|
||||
*= require jquery.fileupload-ui
|
||||
* require 'bootstrap'
|
||||
|
||||
*= require 'tinymce'
|
||||
|
||||
*/
|
||||
// Colorshema #0A64A4
|
||||
|
||||
@@ -100,4 +100,5 @@ $box-border: lightgray solid 1px;
|
||||
$box-border-radius:0px;
|
||||
$box-background: white;
|
||||
@import 'layout';
|
||||
@import 'calendars';
|
||||
@import 'calendars';
|
||||
@import 'tinymce';
|
||||
17
app/assets/stylesheets/tinymce.css
Normal file
17
app/assets/stylesheets/tinymce.css
Normal file
@@ -0,0 +1,17 @@
|
||||
i.mce-i-fa {
|
||||
font: 400 17px/1 FontAwesome;
|
||||
padding: 0;
|
||||
vertical-align: middle;
|
||||
speak: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
margin-left: -2px;
|
||||
padding-right: 2px
|
||||
}
|
||||
i.fa-red { color:red; }
|
||||
|
||||
.mc-important {
|
||||
color: red;
|
||||
font-weight:bold;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -10,5 +10,5 @@
|
||||
<%= f.action :submit, :as => :input %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= tinymce %>
|
||||
<%= tinymce :theme => "simple", :language => "de", :plugins => ["wordcount", "paste"] %>
|
||||
<% tinymce :compact %>
|
||||
|
||||
@@ -10,4 +10,4 @@
|
||||
<%= f.action :submit, :as => :input %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<%= tinymce %>
|
||||
<%= tinymce :menubar=>false %>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
|
||||
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
|
||||
<%= theme_stylesheet_link_tag "test", :media => "all" %>
|
||||
<% theme_stylesheet_link_tag "test", :media => "all" %>
|
||||
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
|
||||
<!-- <link rel="stylesheet" href="css/bootstrap.css">
|
||||
<link rel="stylesheet" href="css/style.css">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
<div id="themaview">
|
||||
<h1><%= I18n.t("thema.add") %></h1>
|
||||
<%= render 'form' %>
|
||||
<%= render 'form', :remote=>false %>
|
||||
</div>
|
||||
<%= link_to 'Back', themen_path %>
|
||||
|
||||
Reference in New Issue
Block a user