spud_core 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +41 -0
- data/app/assets/images/back_disabled.jpg +0 -0
- data/app/assets/images/back_enabled.jpg +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/forward_disabled.jpg +0 -0
- data/app/assets/images/forward_enabled.jpg +0 -0
- data/app/assets/images/sort_asc.png +0 -0
- data/app/assets/images/sort_asc_disabled.png +0 -0
- data/app/assets/images/sort_both.png +0 -0
- data/app/assets/images/sort_desc.png +0 -0
- data/app/assets/images/sort_desc_disabled.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-icons_0073ea_256x240.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-icons_454545_256x240.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-icons_666666_256x240.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-icons_ff0084_256x240.png +0 -0
- data/app/assets/images/spud/admin/flick/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/images/spud/admin/users_thumb.png +0 -0
- data/app/assets/javascripts/spud/admin/application.js +90 -0
- data/app/assets/javascripts/spud/admin/jquery.dataTables.min.js +151 -0
- data/app/assets/javascripts/spud/admin/settings.js +2 -0
- data/app/assets/javascripts/spud/admin/users.js +2 -0
- data/app/assets/javascripts/spud/setup.js +2 -0
- data/app/assets/javascripts/spud/sitemaps.js +2 -0
- data/app/assets/javascripts/spud/user_sessions.js +2 -0
- data/app/assets/javascripts/spud/users.js +2 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-article.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-aside.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-blockquote.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-command.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-details.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-figcaption.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-figure.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-footer.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h1.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h2.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h3.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h4.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h5.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-h6.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-header.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-hgroup.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-mark.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-meter.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-nav.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-p.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-pre.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-progress.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-rp.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-rt.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-ruby.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-section.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-summary.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/lbl-time.png +0 -0
- data/app/assets/javascripts/wymeditor/iframe/default/readme.md +1 -0
- data/app/assets/javascripts/wymeditor/iframe/default/wymiframe.css +91 -0
- data/app/assets/javascripts/wymeditor/iframe/default/wymiframe.html +26 -0
- data/app/assets/javascripts/wymeditor/jquery.wymeditor.js +9983 -0
- data/app/assets/javascripts/wymeditor/jquery.wymeditor.min.js +34 -0
- data/app/assets/javascripts/wymeditor/lang/bg.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/ca.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/cs.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/cy.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/de.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/en.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/es.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/fa.js +46 -0
- data/app/assets/javascripts/wymeditor/lang/fi.js +44 -0
- data/app/assets/javascripts/wymeditor/lang/fr.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/gl.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/he.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/hr.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/hu.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/it.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/ja.js +44 -0
- data/app/assets/javascripts/wymeditor/lang/lt.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/nb.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/nl.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/nn.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/pl.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/pt-br.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/pt.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/ru.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/sv.js +46 -0
- data/app/assets/javascripts/wymeditor/lang/tr.js +45 -0
- data/app/assets/javascripts/wymeditor/lang/zh_cn.js +47 -0
- data/app/assets/javascripts/wymeditor/plugins/embed/jquery.wymeditor.embed.js +82 -0
- data/app/assets/javascripts/wymeditor/plugins/fullscreen/icon_fullscreen.gif +0 -0
- data/app/assets/javascripts/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js +124 -0
- data/app/assets/javascripts/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js +49 -0
- data/app/assets/javascripts/wymeditor/plugins/list/jquery.wymeditor.list.js +60 -0
- data/app/assets/javascripts/wymeditor/plugins/rdfa/jquery.wymeditor.rdfa.js +186 -0
- data/app/assets/javascripts/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js +77 -0
- data/app/assets/javascripts/wymeditor/plugins/resizable/readme.txt +124 -0
- data/app/assets/javascripts/wymeditor/plugins/table/jquery.wymeditor.table.js +721 -0
- data/app/assets/javascripts/wymeditor/plugins/table/table_delete_column.png +0 -0
- data/app/assets/javascripts/wymeditor/plugins/table/table_delete_row.png +0 -0
- data/app/assets/javascripts/wymeditor/plugins/table/table_insert_column.png +0 -0
- data/app/assets/javascripts/wymeditor/plugins/table/table_insert_row.png +0 -0
- data/app/assets/javascripts/wymeditor/plugins/table/table_join_row.png +0 -0
- data/app/assets/javascripts/wymeditor/plugins/tidy/README +19 -0
- data/app/assets/javascripts/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js +78 -0
- data/app/assets/javascripts/wymeditor/plugins/tidy/tidy.php +58 -0
- data/app/assets/javascripts/wymeditor/plugins/tidy/wand.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/compact/icons.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/compact/skin.css +134 -0
- data/app/assets/javascripts/wymeditor/skins/compact/skin.js +37 -0
- data/app/assets/javascripts/wymeditor/skins/default/icons.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/default/skin.css +133 -0
- data/app/assets/javascripts/wymeditor/skins/default/skin.js +40 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/images/bg.header.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/images/bg.selector.silver.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/images/bg.wymeditor.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/images/icons.silver.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/skin.css +131 -0
- data/app/assets/javascripts/wymeditor/skins/minimal/skin.js +30 -0
- data/app/assets/javascripts/wymeditor/skins/silver/COPYING +674 -0
- data/app/assets/javascripts/wymeditor/skins/silver/README +27 -0
- data/app/assets/javascripts/wymeditor/skins/silver/images/bg.header.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/silver/images/bg.selector.silver.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/silver/images/bg.wymeditor.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/silver/images/icons.silver.gif +0 -0
- data/app/assets/javascripts/wymeditor/skins/silver/skin.css +297 -0
- data/app/assets/javascripts/wymeditor/skins/silver/skin.js +61 -0
- data/app/assets/javascripts/wymeditor/skins/twopanels/icons.png +0 -0
- data/app/assets/javascripts/wymeditor/skins/twopanels/skin.css +134 -0
- data/app/assets/javascripts/wymeditor/skins/twopanels/skin.js +39 -0
- data/app/assets/javascripts/wymeditor/skins/wymeditor_icon.png +0 -0
- data/app/assets/stylesheets/spud/admin/application.css +464 -0
- data/app/assets/stylesheets/spud/admin/jquery-ui.css +568 -0
- data/app/assets/stylesheets/spud/admin/settings.css +4 -0
- data/app/assets/stylesheets/spud/admin/users.css +4 -0
- data/app/assets/stylesheets/spud/forms.css +108 -0
- data/app/assets/stylesheets/spud/login/application.css +302 -0
- data/app/assets/stylesheets/spud/login.css +58 -0
- data/app/assets/stylesheets/spud/setup.css +4 -0
- data/app/assets/stylesheets/spud/sitemaps.css +4 -0
- data/app/assets/stylesheets/spud/user_sessions.css +4 -0
- data/app/assets/stylesheets/spud/users.css +4 -0
- data/app/controllers/spud/admin/application_controller.rb +19 -0
- data/app/controllers/spud/admin/dashboard_controller.rb +7 -0
- data/app/controllers/spud/admin/settings_controller.rb +15 -0
- data/app/controllers/spud/admin/users_controller.rb +111 -0
- data/app/controllers/spud/application_controller.rb +48 -0
- data/app/controllers/spud/setup_controller.rb +22 -0
- data/app/controllers/spud/sitemaps_controller.rb +6 -0
- data/app/controllers/spud/user_sessions_controller.rb +28 -0
- data/app/controllers/spud/users_controller.rb +21 -0
- data/app/helpers/spud/admin/application_helper.rb +17 -0
- data/app/helpers/spud/admin/settings_helper.rb +2 -0
- data/app/helpers/spud/admin/users_helper.rb +2 -0
- data/app/helpers/spud/setup_helper.rb +2 -0
- data/app/helpers/spud/sitemaps_helper.rb +2 -0
- data/app/helpers/spud/user_sessions_helper.rb +2 -0
- data/app/helpers/spud/users_helper.rb +2 -0
- data/app/models/spud_admin_permission.rb +2 -0
- data/app/models/spud_setting.rb +2 -0
- data/app/models/spud_user.rb +16 -0
- data/app/models/spud_user_session.rb +3 -0
- data/app/views/layouts/spud/admin/application.html.erb +44 -0
- data/app/views/layouts/spud/admin/detail.html.erb +31 -0
- data/app/views/layouts/spud/login/application.html.erb +17 -0
- data/app/views/layouts/spud/setup.html.erb +47 -0
- data/app/views/spud/admin/dashboard/index.html.erb +11 -0
- data/app/views/spud/admin/users/_edit.html.erb +14 -0
- data/app/views/spud/admin/users/_form.html.erb +51 -0
- data/app/views/spud/admin/users/_new.html.erb +14 -0
- data/app/views/spud/admin/users/index.html.erb +41 -0
- data/app/views/spud/admin/users/show.html.erb +17 -0
- data/app/views/spud/setup/index.html.erb +25 -0
- data/app/views/spud/sitemaps/show.xml.builder +12 -0
- data/app/views/spud/user_sessions/new.html.erb +22 -0
- data/app/views/spud/users/_form.html.erb +35 -0
- data/app/views/spud/users/settings.html.erb +14 -0
- data/config/application.rb +48 -0
- data/config/boot.rb +6 -0
- data/config/routes.rb +15 -0
- data/lib/spud_core/belongs_to_app.rb +54 -0
- data/lib/spud_core/configuration.rb +9 -0
- data/lib/spud_core/engine.rb +34 -0
- data/lib/spud_core/test_files.rb +25 -0
- data/lib/spud_core.rb +8 -0
- metadata +311 -0
@@ -0,0 +1,91 @@
|
|
1
|
+
/*
|
2
|
+
* WYMeditor : what you see is What You Mean web-based editor
|
3
|
+
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
4
|
+
* Dual licensed under the MIT (MIT-license.txt)
|
5
|
+
* and GPL (GPL-license.txt) licenses.
|
6
|
+
*
|
7
|
+
* For further information visit:
|
8
|
+
* http://www.wymeditor.org/
|
9
|
+
*
|
10
|
+
* File Name:
|
11
|
+
* wymeditor.css
|
12
|
+
* Main editor css file.
|
13
|
+
* See the documentation for more info.
|
14
|
+
*
|
15
|
+
* File Authors:
|
16
|
+
* Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
|
17
|
+
* Daniel Reszka (d.reszka a-t wymeditor dotorg)
|
18
|
+
*/
|
19
|
+
|
20
|
+
/* VISUAL FEEDBACK */
|
21
|
+
|
22
|
+
/* basic */
|
23
|
+
body { background: #e1e8f1;}
|
24
|
+
|
25
|
+
/* make HTML blocs visible */
|
26
|
+
p,
|
27
|
+
h1,
|
28
|
+
h2,
|
29
|
+
h3,
|
30
|
+
h4,
|
31
|
+
h5,
|
32
|
+
h6,
|
33
|
+
ul,
|
34
|
+
ol,
|
35
|
+
table,
|
36
|
+
blockquote,
|
37
|
+
pre { background: #FFFFFF no-repeat 2px 2px;
|
38
|
+
padding:8px 5px 5px;
|
39
|
+
margin:10px; }
|
40
|
+
td { background: #F0F4F8; }
|
41
|
+
th { background: #ffffcc; }
|
42
|
+
ul,
|
43
|
+
ol { border-left:20px solid #B9C4D0; padding:0px 5px; }
|
44
|
+
caption { background: #E4E4B0; padding: 5px; font-weight: bold; }
|
45
|
+
table { font-size: 12px; width: 500px; }
|
46
|
+
td { width: 25%; }
|
47
|
+
blockquote { margin-left: 30px; }
|
48
|
+
pre { background-color:transparent; border: 1px solid white; }
|
49
|
+
|
50
|
+
/* Gecko min height fix */
|
51
|
+
td { height: 1.6em; }
|
52
|
+
|
53
|
+
/* labels */
|
54
|
+
p { background-image: url(lbl-p.png); }
|
55
|
+
h1 { background-image: url(lbl-h1.png); }
|
56
|
+
h2 { background-image: url(lbl-h2.png); }
|
57
|
+
h3 { background-image: url(lbl-h3.png); }
|
58
|
+
h4 { background-image: url(lbl-h4.png); }
|
59
|
+
h5 { background-image: url(lbl-h5.png); }
|
60
|
+
h6 { background-image: url(lbl-h6.png); }
|
61
|
+
blockquote{ background-image: url(lbl-blockquote.png); }
|
62
|
+
pre { background-image: url(lbl-pre.png); }
|
63
|
+
|
64
|
+
/* specific HTML elements */
|
65
|
+
caption { text-align: left; }
|
66
|
+
img { margin-right: 5px;
|
67
|
+
border-style: solid;
|
68
|
+
border-color: gray;
|
69
|
+
border-width: 0; }
|
70
|
+
a img { border-width: 1px; border-color: blue; }
|
71
|
+
acronym { border: 1px solid gray; }
|
72
|
+
span { background-color: #eef; }
|
73
|
+
|
74
|
+
/* visual feedback for non-valid nesting of elements*/
|
75
|
+
h1 h1, h1 h2, h1 h3, h1 h4, h1 h5, h1 h6, h1 p, h1 pre, h1 address,
|
76
|
+
h2 h1, h2 h2, h2 h3, h2 h4, h2 h5, h2 h6, h2 p, h2 pre, h2 address,
|
77
|
+
h3 h1, h3 h2, h3 h3, h3 h4, h3 h5, h3 h6, h3 p, h3 pre, h3 address,
|
78
|
+
h4 h1, h4 h2, h4 h3, h4 h4, h4 h5, h4 h6, h4 p, h4 pre, h4 address,
|
79
|
+
h5 h1, h5 h2, h5 h3, h5 h4, h5 h5, h5 h6, h5 p, h5 pre, h5 address,
|
80
|
+
h6 h1, h6 h2, h6 h3, h6 h4, h6 h4, h6 h6, h6 p, h6 pre, h6 address,
|
81
|
+
p h1, p h2, p h3, p h4, p h5, p h6, p pre, p address,
|
82
|
+
pre h1, pre h2, pre h3, pre h4, pre h5, pre h6, pre p, pre pre, pre address,
|
83
|
+
address h1, address h2, address h3, address h4, address h5, address h6,
|
84
|
+
address p, address pre, address address
|
85
|
+
{ background-color: #ff9999 !important;
|
86
|
+
border: 1px solid red !important;
|
87
|
+
font-size: 12px !important;
|
88
|
+
font-weight: normal; }
|
89
|
+
|
90
|
+
/* Spacer BRs shouldn't add much whitespace */
|
91
|
+
br { height: 5px; line-height: 5px; }
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<!--
|
3
|
+
* WYMeditor : what you see is What You Mean web-based editor
|
4
|
+
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
5
|
+
* Dual licensed under the MIT (MIT-license.txt)
|
6
|
+
* and GPL (GPL-license.txt) licenses.
|
7
|
+
*
|
8
|
+
* For further information visit:
|
9
|
+
* http://www.wymeditor.org/
|
10
|
+
*
|
11
|
+
* File Name:
|
12
|
+
* wymiframe.html
|
13
|
+
* Iframe used by designMode.
|
14
|
+
* See the documentation for more info.
|
15
|
+
*
|
16
|
+
* File Authors:
|
17
|
+
* Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
|
18
|
+
-->
|
19
|
+
<html>
|
20
|
+
<head>
|
21
|
+
<title>WYMeditor iframe</title>
|
22
|
+
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
|
23
|
+
<link rel="stylesheet" type="text/css" media="screen" href="wymiframe.css" />
|
24
|
+
</head>
|
25
|
+
<body class="wym_iframe"></body>
|
26
|
+
</html>
|