diff --git a/app/assets/images/logo-header.png b/app/assets/images/logo-header.png deleted file mode 100644 index f33b6fb..0000000 Binary files a/app/assets/images/logo-header.png and /dev/null differ diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js deleted file mode 100644 index af0d871..0000000 --- a/app/assets/javascripts/application.js +++ /dev/null @@ -1,15 +0,0 @@ -// This is a manifest file that'll be compiled into application.js, which will include all the files -// listed below. -// -// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, -// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. -// -// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the -// compiled file. -// -// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details -// about supported directives. -// -//= require jquery -//= require jquery_ujs -//= require_directory . diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css deleted file mode 100644 index 8c6508f..0000000 --- a/app/assets/stylesheets/application.css +++ /dev/null @@ -1,31 +0,0 @@ -/* - * This is a manifest file that'll be compiled into application.css, which will include all the files - * listed below. - * - * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, - * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. - * - * You're free to add application-wide styles to this file and they'll appear at the bottom of the - * compiled file so the styles you add here take precedence over styles defined in any styles - * defined in the other CSS/SCSS files in this directory. It is generally better to create a new - * file per style scope. - * - *= require library/styles/reset - *= require library/styles/typography - *= require library/layouts/2c-r-fixed - *= require library/styles/images - *= require library/styles/default - *= require library/styles/plugins - *= require library/styles/openfest - *= require_directory . - *= require_self - */ - -#main { - font-size: 16px; -} - -h1 { - margin: 0 0 1em 0; - font-size: 2em; -} diff --git a/app/assets/stylesheets/events.css.scss b/app/assets/stylesheets/events.css.scss deleted file mode 100644 index dc6fdeb..0000000 --- a/app/assets/stylesheets/events.css.scss +++ /dev/null @@ -1,36 +0,0 @@ -.lecture-title { - font-family: Arial,sans-serif; - font-size: 26px; - font-weight: bold; - line-height: 26px; - padding: 0px 0px 7px; - font-style: italic; - - span.subtitle { - font-size: 18px; - font-style: italic; - color: #999; - } -} - -.abstract, .description { - h3 { - font-family: Arial,sans-serif; - margin-top: 14px; - font-size: 21px; - font-style: italic; - font-weight: bold; - } - - p { - text-indent: 10px; - margin-top: 0px; - margin-bottom: 0px; - padding: 0; - width: 600px; - } - - p:last-of-type { - margin-bottom: 15px; - } -} \ No newline at end of file diff --git a/app/assets/stylesheets/flash_messages.css.scss b/app/assets/stylesheets/flash_messages.css.scss deleted file mode 100644 index b47a0b8..0000000 --- a/app/assets/stylesheets/flash_messages.css.scss +++ /dev/null @@ -1,18 +0,0 @@ -#flash_messages { - border: 1px solid #CCC; - background-color: #F1F1F1; - padding: 10px; - margin: 0px 100px 10px 100px; - - div { - text-align: center; - } - - .notice { - color: green; - } - - .alert { - color: orange; - } -} \ No newline at end of file diff --git a/app/assets/stylesheets/forms.css.scss b/app/assets/stylesheets/forms.css.scss deleted file mode 100644 index ca92105..0000000 --- a/app/assets/stylesheets/forms.css.scss +++ /dev/null @@ -1,140 +0,0 @@ -.alert-error { - color: red; -} - -.input { - position: relative; - margin: 0 0 1em 0; - border-top: 0.1em dotted #999; - padding: 1em 0; -} - -.input label { - font-size: 1em; - display: block; - width: 12em; - float: left; -} - -.input { - input.string, input.email, input.password, select.select, input.numeric { - font-size: 1em; - width: 20em; - float: left; - } - - textarea { - height: 15em; - width: 50em; - } - - img { - padding: 5px; - display: block; - border: 1px solid #CCC; - background-color: #F1F1F1; - - } - - img+input.image_preview { - margin-left: 12.7em; - } - -} - -.input label.boolean { - margin-left: 12em; -} - -.input .hint, .input .error { - display: block; - clear: both; - font-size: 0.75em; - font-style: italic; - width: 20em; - margin: 0 0 0 16em; - padding: 1em 0 0 0; -} - -.input .error { - font-style: normal; - padding: 1em 0 0 0; - color: #F00; -} - -.input .error::before { - content: "⇧"; - display: inline-block; - font-size: 2em; - margin: 0 0.2em 0 0; - transform: translate(0, 0.1em); -} - -.btn { - display: block; - margin: 2em 0 0 13em; -} - -/* styling of the button */ -.btn { - background: #233e83; - padding: 0.4em 0.8em; - border-radius: 0.2em; - color: #FFF; - border: none; - border-bottom: 0.2em solid #7A95DC; - cursor: pointer; - transition: background 200ms, border 200ms, transform 200ms; - -webkit-transition: background 200ms, border 200ms, transform 200ms; -} - -.btn:hover { - background: #152551; -} - -.btn:active { - background: #597AD2; - border-bottom: 0.2em solid #000; - transform: translate(0, 0.1em); - -webkit-transform: translate(0, 0.1em); -} - -.centered { - text-align: center; -} - -.large { - padding: 30px; -} - -.btn-link { - background: #233e83; - padding: 0.4em 0.8em; - border-radius: 0.2em; - color: #FFF; - border: none; - border-bottom: 0.2em solid #7A95DC; - cursor: pointer; - transition: background 200ms, border 200ms, transform 200ms; - -webkit-transition: background 200ms, border 200ms, transform 200ms; -} - -.btn-link:link, .btn-link:active, .btn-link:visited { - color: #FFF; - text-decoration: none; -} - -.btn-link:hover { - background: #152551; -} - -.btn-link:active { - background: #597AD2; - border-bottom: 0.2em solid #000; - transform: translate(0, 0.1em); - -webkit-transform: translate(0, 0.1em); -} - -.btn-link-large { - font-size: 2em; -} diff --git a/app/assets/stylesheets/library/layouts/2c-r-fixed.css b/app/assets/stylesheets/library/layouts/2c-r-fixed.css deleted file mode 100644 index dac6a75..0000000 --- a/app/assets/stylesheets/library/layouts/2c-r-fixed.css +++ /dev/null @@ -1,68 +0,0 @@ -/* -LAYOUT: One-Column (Right) Fixed -DESCRIPTION: Two-column 950px fixed layout with one sidebar right of content -*/ - -body { - min-width:1000px; -} -#header { - position:relative; -} -#branding { - width:980px; - margin:0 auto; -} -#access { - position:relative; - overflow:hidden; -} -.menu { - width:980px; - margin:0 auto; -} -#main { - width:1000px; - margin:0 auto; - overflow:hidden; - position:relative; -} -#container { - width:620px; - float:left; -} -#content { - margin:0 0 0 10px; - width:640px; - overflow:hidden; -} -.main-aside { - width:300px; - float:right; - position:relative; - right:10px; -} -#primary, #secondary, #ternary { - clear:right; -} -#footer { - clear:both; -} -#subsidiary { - width:940px; - margin:0 auto; - overflow:hidden; -} -#subsidiary .aside { - width:300px; - float:left; - margin:0 20px 0 0; -} -#subsidiary #third { - margin:0; -} -#siteinfo { - clear:both; - width:940px; - margin:0 auto; -} diff --git a/app/assets/stylesheets/library/styles/default.css b/app/assets/stylesheets/library/styles/default.css deleted file mode 100644 index 945208b..0000000 --- a/app/assets/stylesheets/library/styles/default.css +++ /dev/null @@ -1,1062 +0,0 @@ - -/* =Global Elements --------------------------------------------------------------- */ - -body, input, textarea { - font: 15px Georgia,serif; - line-height:22px; -} -p, ul, ol, dd, pre { - margin-bottom:22px; -} -pre, code { - font:14px Monaco, monospace; - line-height:22px; -} -blockquote { - color:#666; - font-style:italic; -} -table { - border:1px solid #ccc; - border-width:1px 1px 0 1px; - font-size:13px; - line-height:18px; - margin:0 0 22px 0; - text-align:left; -} -caption { - text-align:left; -} -tr { - border-bottom:1px solid #ccc; -} -th, td { - padding: .7em 1.25em; -} -hr { - background-color:#ccc; - border:0; - color:#ccc; - height:1px; - margin-bottom:22px; -} -a:link { - color:#004B91; -} -a:visited { - color:#743399; -} -a:active, -a:hover { - color: #193A84; -} - - -/* =Header --------------------------------------------------------------- */ - -#header { - z-index:2; - background-color: #f1f1f1; -} -#branding { - padding: 22px 0 36px 0; -} -#blog-title { - font-family: Arial,sans-serif; - font-size:44px; - font-weight:bold; - line-height:55px; - height: 70px; -} -#blog-title img { - vertical-align: bottom; - margin-right: .5em; - margin-bottom: -2px; -} -#blog-title a { - color:#193A84; - text-decoration:none; -} -#blog-title a:active, -#blog-title a:hover { - color: #193A84; -} -#blog-title span { - float: left; -} -#blog-description { - color:#666; - font-size:13px; - font-style:italic; -} - - -/* =Menu --------------------------------------------------------------- */ - -.skip-link { - display:none; -} -#access { - border-bottom:1px solid #ccc; - height:32px; - font-size:13px; - overflow:visible; - z-index:100; -} -/*** ESSENTIAL STYLES ***/ -.sf-menu, .sf-menu * { - margin: 0; - padding: 0; - list-style: none; -} -.sf-menu { - line-height: 1.0; -} -.sf-menu ul { - position: absolute; - top: -999em; - width: 10em; /* left offset of submenus need to match (see below) */ -} -.sf-menu ul li { - width: 100%; -} -.sf-menu li:hover { - visibility: inherit; /* fixes IE7 'sticky bug' */ -} -.sf-menu li { - float: left; - position: relative; -} -.sf-menu a { - display: block; - position: relative; -} -.sf-menu li:hover ul, -.sf-menu li.sfHover ul { - left: 0; - top: 2.5em; /* match top ul list item height */ - z-index: 99; -} -ul.sf-menu li:hover li ul, -ul.sf-menu li.sfHover li ul { - top: -999em; -} -ul.sf-menu li li:hover ul, -ul.sf-menu li li.sfHover ul { - left: 10em; /* match ul width */ - top: 0; -} -ul.sf-menu li li:hover li ul, -ul.sf-menu li li.sfHover li ul { - top: -999em; -} -ul.sf-menu li li li:hover ul, -ul.sf-menu li li li.sfHover ul { - left: 10em; /* match ul width */ - top: 0; -} - -/*** THEMATIC SKIN ***/ -.sf-menu { - float:left; -} -.sf-menu a { - padding:9px 13px; - text-decoration:none; - font-family: "HelveticaNeue-Bold", "Helvetica Neue Bold", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: bold; - font-size: 14px; - border-bottom:1px solid #ccc; -} -.sf-menu .current_page_item a, -.sf-menu .current_page_ancestor a, -.sf-menu .current_page_parent a { - background-color: white; - -webkit-border-top-left-radius: 9px; - -webkit-border-top-right-radius: 9px; - -moz-border-radius-topleft: 9px; - -moz-border-radius-topright: 9px; - border: 1px solid #ccc; - border-bottom: 0; -} -.sf-menu .current_page_item ul a, -.sf-menu .current_page_ancestor ul a, -.sf-menu .current_page_parent ul a { - background-color: #f1f1f1; - -webkit-border-radius: 0; - -moz-border-radius: 0; - - border: 0; -} - -.sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/ - color: #333; -} -.sf-menu li { -} -.sf-menu li li { - background: #fff; - border-top: 1px solid #ccc; -} -.sf-menu li li li { - background: #9AAEDB; -} -.sf-menu li:hover, .sf-menu li.sfHover, -.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { - outline: 0; - color: black; -} -.sf-menu ul { -} -.sf-menu li:hover ul, -.sf-menu li.sfHover ul { - top:32px; /* overriding essential styles */ -} -.sf-menu ul ul { - margin-top:0; -} -.sf-menu ul a { - background-color: #f1f1f1; - border-bottom:none; -} - - -/* =Content --------------------------------------------------------------- */ - -#main { - clear:both; - padding:22px 0 22px 0; -} -.page-title { - font-size:13px; - line-height:18px; - padding:0 0 44px 0; -} -.attachment .page-title { - font-style:italic; -} -.page-title a { - color:#666; - text-decoration:none; -} -.page-title a:active, -.page-title a:hover { - color: #193A84; -} -.page-title span { - font-style:italic; -} -.page-title .meta-nav { - font-style:normal; -} -.hentry { - padding:0 0 22px 0; -} -.single .hentry { - padding:0; -} -.home #content .sticky { - border:1px solid #ccc; - margin:0 0 66px 0; - padding:22px 20px 0 20px; -} -.entry-title { - font-family:Arial,sans-serif; - font-size:26px; - font-weight:bold; - line-height:26px; - padding:0 0 7px 0; -} -.entry-title a { - color:#000; - text-decoration:none; -} -.entry-title a:active, -.entry-title a:hover { - color: #193A84; -} -.entry-meta { - color:#666; - font-size:13px; - font-style:italic; - line-height:18px; -} -.entry-meta .author { -} -.entry-meta .n { - font-size:11px; - font-style:normal; - letter-spacing:0.05em; - text-transform:uppercase; -} -.entry-meta a { - color:#666; - text-decoration:none; -} -.entry-meta a:active, -.entry-meta a:hover { - color: #193A84; -} -.entry-meta abbr { - border:none; - cursor:text; - font-size:11px; - font-style:normal; - letter-spacing:0.05em; - text-transform:uppercase; -} -.entry-content { - padding:22px 0 0 0; -} -.entry-content h1, -.entry-content h2 { - font-family:Arial,sans-serif; - font-size:19px; - font-weight:bold; - padding:28px 0 14px 0; -} -.entry-content h3 { - font-size:17px; - font-style:italic; - padding:28px 0 14px 0; -} -.entry-content h4 { - font-size:11px; - font-family:Arial,sans-serif; - font-weight:bold; - text-transform:uppercase; - letter-spacing:0.05em; -} -.entry-content table { - margin-left:1px; -} -.entry-content embed { - margin:0 0 22px 0; -} -.entry-utility { - color:#666; - font-size:13px; - line-height:18px; - margin:0 0 44px 0; -} -.entry-utility a { - color:#666; - font-style:italic; - text-decoration:none; -} -.entry-utility a:active, -.entry-utility a:hover { - color: #193A84; -} -.page-link { - font-size:13px; - font-weight:bold; - line-height:18px; - margin:0 0 22px 0; - padding:22px 0 0 0; - word-spacing:0.5em; -} -.page-link a { - border:1px solid #ccc; - color:#666; - font-weight:normal; - padding:0.5em 0.75em; - text-decoration:none; -} -.page-link a:active, -.page-link a:hover { - color: #193A84; -} -ul#links-page, -ul#archives-page { - list-style:none; - margin-left:0; - overflow:hidden; -} -li.content-column { - float:left; - margin-right:20px; - width:45%; -} -.gallery { - padding:0 0 22px 0; -} -.wp-caption-text, -.gallery-caption { - color:#666; - font-size:13px; - line-height:18px; -} -#author-info { - margin:0 0 44px 0; - overflow:hidden; -} -#author-info .avatar { - float:left; - margin:.3em 1em 0 0; -} - - -/* =Attachments --------------------------------------------------------------- */ - -.attachment-jpeg #container, -.attachment-png #container { - width:100%; -} -.attachment-jpeg #content, -.attachment-png #content { - width:930px; -} -.attachment-jpeg #comments, -.attachment-png #comments { - width:540px; - overflow:hidden; -} -.attachment-jpeg .main-aside, -.attachment-png .main-aside { - display:none; -} - - -/* =Navigation --------------------------------------------------------------- */ - -.navigation { - color:#666; - font-size:13px; - line-height:18px; - margin:0px 0 22px 0; - overflow:hidden; -} -.navigation a { - color:#666; - font-style:italic; - text-decoration:none; -} -.navigation a:active, -.navigation a:hover { - color: #193A84; -} -.navigation .meta-nav { - font-style:normal; -} -.nav-previous { - float: left; - width:50%; -} -.nav-next { - float: right; - width:50%; - text-align:right; -} -#nav-above,#nav-below { - width: 100%; -} -#nav-above { - display:none; -} -.paged #nav-above { - display:block; - padding:0 0 44px 0; -} - - -/* =Comments --------------------------------------------------------------- */ - -#comments { - padding:22px 0 0 0; -} -#comments, -#comments input, -#comments textarea { - font-size:13px; - line-height:18px; -} -#comments code { - font-size:12px; - line-height:18px; -} -#comments h3 { - font-family:Arial,sans-serif; - font-size:15px; - font-weight:bold; - line-height:22px; - padding:0 0 18px 0; -} -#comments-list { - padding:0 0 18px 0; -} -#comments-list ol, -#comments-list ul { - list-style:none; - margin:0; -} -#comments-list ol { - border:1px solid #ccc; - border-bottom:none; - margin:0 0 18px 0; -} -#comments-list li { - background:#fafafa; - border-bottom:1px solid #ccc; - padding:18px 1.5em 0 1.5em; - position:relative; -} -#comments-list li.alt { - background:#fff; -} -#comments-list li.bypostauthor { - background:#FFFFCC; -} -#comments-list ul li { - border:1px solid #ccc; - margin:0 0 18px 0; -} -#comments-list li .avatar { - position:absolute; - top:22px; - left:1.5em; - width:36px; - height:36px; -} -#comments-list .comment-author { - font-weight:bold; - padding:9px 0 0 46px; -} -#comments-list .comment-meta { - color:#666; - font-size:11px; - padding:0 0 9px 46px; -} -#comments-list .comment-meta a { - color:#666; - font-style:italic; - text-decoration:none; -} -#comments-list .comment-meta a:active, -#comments-list .comment-meta a:hover { - color: #193A84; -} -.comment-reply-link { - font-size:11px; - padding:0 0 18px 0; - text-align:right; -} -.comment-reply-link a { - color:#666; - font-style:italic; - text-decoration:none; -} -.comment-reply-link a:active, -.comment-reply-link a:hover { - color: #193A84; -} -.comment-navigation { - font-weight:bold; - padding:0 0 18px 0; - margin-right:0.5em; -} -.comment-navigation a { - border:1px solid #ccc; - color:#666; - font-weight:normal; - padding:0.5em 0.75em; - text-decoration:none; -} -.comment-navigation a:active, -.comment-navigation a:hover { - color: #193A84; -} -.comment-navigation a, -.comment-navigation span { - margin-right:0.5em; -} -#trackbacks-list .comment-content { - position:absolute; - left:-9000px; -} -#respond { - background:#fff; - margin-bottom:22px; - overflow:hidden; - padding:18px 0 0 0; - position:relative; -} -#comments-list #respond { - border-bottom:1px solid #ccc; - margin:0 0 18px 0; - padding:18px 1.5em; -} -#comments-list ul #respond { - border:1px solid #ccc; - margin:0; -} -#cancel-comment-reply { - font-size:11px; - position:absolute; - top:18px; - right:1.5em; -} -#cancel-comment-reply a { - color:#666; -} -#respond .required { - color:#193A84; - font-weight:bold; -} -.form-section label { - font-size:11px; -} -.form-section input { - margin:0 0 18px 0; - width:98%; -} -.form-section textarea { - width:99%; -} -#form-allowed-tags p { - color:#666; - font-size:11px; - margin:0; -} -#form-allowed-tags span { - font-style:italic; -} -#form-allowed-tags code { - font-size:11px; - line-height:normal; -} -.form-submit { - padding:18px 0 0 0; - text-align:right; -} -.subscribe-to-comments { - color:#666; - float:left; - font-size:11px; - margin:0; - padding:18px 0 0 0; -} -.solo-subscribe-to-comments { - color:#666; - font-size:11px; - padding:18px 0 0 0; -} -.comment_license { - color:#666; - clear:both; - font-size:11px; - margin:0; - padding:18px 0 0 0; -} - - -/* =Asides, Sidebars & Widget-Ready Areas --------------------------------------------------------------- */ - -.aside, -.aside input { - font-size:13px; - line-height:18px; - margin-bottom:6px; -} -.aside p, -.aside ul, -.aside ol, -.aside dd, -.aside pre { - margin-bottom:18px; -} -.aside pre, -.aside code { - font-size:12px; - line-height:18px; -} -.aside .current_page_item a { - color: #193A84; -} -.aside .current_page_item .page_item a { - color:#666; -} -.aside .current_page_item .page_item a:hover, -.aside .current_page_item .page_item a:active { - color: #193A84; -} -.aside { - color:#666; -} -.aside a { - color:#666; -} -.aside a:active, -.aside a:hover { - color: #193A84; -} -.aside h3 { - font-size:15px; - font-style:italic; - line-height:22px; -} -.aside h3 a { - text-decoration:none; -} -.aside caption { - font-size:11px; - font-family:Arial,sans-serif; - font-weight:bold; - text-transform:uppercase; - letter-spacing:0.05em; -} -.aside ul { - list-style:none; - margin-left:0; -} -.aside ul ul { - list-style:disc; - margin:0 0 22px 20px; -} -.aside ul ul li { - padding:1px 0; -} -.aside ul ul ul { - margin-bottom:0; -} -.aside form, -.aside table { - margin-bottom:22px; -} -.aside table { - border:none; -} -.aside thead { - border:1px solid #ccc; -} -.aside tbody { - border:1px solid #ccc; -} -.aside th, .aside td { - border-right:1px solid #ccc; - padding:.25em .8em; -} -.aside tfoot tr { - border:none; -} -.aside tfoot td { - border-color:transparent; -} -.widget_tag_cloud { - margin:0 0 22px 0; -} -.aside #searchsubmit { - display: none; -} -/* - Main Asides -*/ -.main-aside ul { - padding:0 20px; -} -.main-aside h3 { -} -.main-aside ul ul { - padding:0; -} -#zeromary, #primary, #secondary, #ternary { - border:1px solid #ccc; - padding:18px 0 0 0; - margin-bottom:22px; -} -#zeromary li, #primary li, #secondary li, #ternary li { - margin-bottom: 1em; -} - -#primary a, #secondary a, #ternary a { - font-family: Helvetica, Arial, sans-serif; - font-size: 1.3em; - font-weight: bold; - color: rgb(25, 58, 132); -} -/* - Content Asides -*/ -#content .aside { - border:1px solid #ccc; - margin:0 0 22px 0; - padding:18px 0 0 0; -} -#content .aside ul { - padding:0 20px; -} -#content .aside h3 { - font-family:Georgia,serif; - font-weight:normal; - font-size:17px; - font-style:italic; - padding:0 0 7px 0; - text-transform:none; -} -#content .aside ul ul { - padding:0; -} -/* - Footer Asides -*/ -#subsidiary { - padding:33px 0 0 0; -} - - -/* =Footer --------------------------------------------------------------- */ - -#footer { - border-top:1px solid #ccc; - margin-top:22px; -} -#siteinfo { - color:#666; - font-size:11px; - line-height:18px; - padding:22px 0 44px 0; -} -#siteinfo a { - color:#666; -} -#siteinfo a:active, -#siteinfo a:hover { - color: #193A84; -} - - -/* =PageNavi --------------------------------------------------------------- */ - -/* Using !important to override PageNavi CSS */ - -.wp-pagenavi { - margin:0 0 0 -.5em; - padding:0.5em 0; -} -.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi span { - border:1px solid #ccc !important; - color:#666!important; - font-style:normal; - margin:0 .375em !important; - padding:0.5em 0.25em !important; -} -.wp-pagenavi a:visited { - border:1px solid #ccc !important; - color:#666 !important; -} -.wp-pagenavi a:hover { - border:1px solid #ccc !important; - color:#193A84 !important; -} -.wp-pagenavi a:active { - border:1px solid #ccc !important; - color:#193A84 !important; -} -.wp-pagenavi span.pages { - border:none !important; - color:#666 !important; - margin:0 !important; - padding:0 !important; -} -.wp-pagenavi span.current { - border:none !important; - color:#666 !important; - font-weight:normal !important; - margin:0 !important; - padding:0 !important; -} -.wp-pagenavi span.extend { - background-color:#FFFFFF; - border:1px solid #000000; - color:#000000; - margin:2px; - padding:2px 4px; -} - -/* Misc fixes */ -#primary .widgettitle, #secondary .widgettitle, #index-top .widgettitle, #index-bottom .widgettitle, #ternary .widgettitle { - display: none; -} -body.home #nav-below { - display: none; -} -.entry-utility { - display: none; -} - -#blog-description { - display: none; -} - -div#index-bottom { - border: 0 !important; - padding: 0 !important; - margin: 0 !important; -} -#index-bottom ul { - padding: 0 !important; -} -#index-top { - border: 0 !important; - width: 600px; - height: 252px; - background-repeat: no-repeat; - margin: 0; -} -#index-top p { - margin: 0; - opacity: 0.8; - background-color: black; - color: white; - font-size: 1.2em; - line-height: 1.5em; - padding: 0.75em; - margin-top: 164px; -} -#index-top p a { - color: white; -} -span.lead { - float: left; - font-size: 50px; - line-height: 0.9em; - margin: 0 6px 0 0; -} -#zeromary { - background-color: #f1f1f1; - border: 1px solid #ccc; -} -#zeromary dl { - margin: 0; -} -#zeromary dt { - font-weight: normal; - font-style: italic; -} -#zeromary .widgettitle { - margin-bottom: 0.5em; - font-family: Helvetica, Arial, sans-serif; - font-weight: bold; - font-style: normal; -} -#zeromary dd { - margin-bottom: 0.5em !important; -} - -#call-for { - float: right; - height: 90px; - width: 300px; - background-color: white; - border: 1px solid #ccc; -} -#call-for p { - margin: 0.4em; - text-align: center; - vertical-align: middle; -} -#call-for a, #call-for a:visited { - font-size: 0.50em; -} - -.location { - float: right; - width: 180px; - margin-left: 1ex; - margin-bottom: 1ex; - padding: 1em; - border: 1px solid #ccc; - background-color: #f1f1f1; - text-align: right; - font-style: italic; - color: #666; -} - -.location p { - margin: 0; - padding: 2px 0; -} - -.slug-program .location { - width: 220px; -} - -.history h2 { - padding: 1ex 0 0 0; - margin-bottom: 1em; - font-size: 150%; - border-bottom: 1px dotted #ccc; -} -ul.lecturers { - margin: 0; - padding: 0; -} - -ul.lecturers li { - margin: 1ex 0; - padding: 1em; - list-style: none; - border: 1px solid #ccc; - background-color: #f1f1f1; -} -ul.lecturers li img { - margin: 0 1em 1em 0; - float: left; -} -ul.lecturers li.even { - background-color: #fff; -} - -.history table { - width: 99%; -} -.history table thead th { - text-align: center; -} -table.books { - width: 100%; - border: 0px solid #ccc; - padding: 0; -} -table.books tr { - border: 0px solid #ccc; - padding: 0; -} -table.books td { - padding: 5px; -} - -.program a:visited { - color:#004B91; -} - -.program table { - width: 99%; -} - -.program h2 { -} - -.program table, .program td, .program tr, .program th { - border: 0; -} -.program table td.time { - width: 110px; -} -.program table caption { - font-size: 120%; - font-weight: bold; -} -.program table td, .program table th { - padding: 0.5em 0; -} diff --git a/app/assets/stylesheets/library/styles/images.css b/app/assets/stylesheets/library/styles/images.css deleted file mode 100644 index 7fb025e..0000000 --- a/app/assets/stylesheets/library/styles/images.css +++ /dev/null @@ -1,64 +0,0 @@ -/* -------------------------------------------------------------- - - Default styles for Images - --------------------------------------------------------------- */ - -.entry-content img { - margin: 0 0 18px 0; -} -.alignleft, -img.alignleft { - float: left; - margin-right:20px; -} -.alignright, -img.alignright { - display: block; - float: right; - margin-left:20px; -} -.aligncenter, -img.aligncenter { - margin-left:auto; - margin-right:auto; - display: block; - clear: both; -} -.wp-caption { - text-align: center; - margin-bottom:18px; -} -.wp-caption img { - margin: 0; - padding: 0; - border: 0 none; -} -.wp-caption p.wp-caption-text { - margin: 0; - padding:5px; -} -.gallery img { - margin:0; -} -.wp-smiley { /* Prevent the smileys from breaking line-height */ - max-height:12px; - margin:0 !important; -} - -/* - -Adapt the following for use in your Child Themes when using -different font-sizes and line-heights - -.entry-content img, -.wp-caption { - margin-bottom:--px; -} -.wp-smiley { - max-height:--px; -} - -All other styles can be overridden--or ignored!--in Child Theme stylesheets - -*/ \ No newline at end of file diff --git a/app/assets/stylesheets/library/styles/openfest.css b/app/assets/stylesheets/library/styles/openfest.css deleted file mode 100644 index 8cb8c08..0000000 --- a/app/assets/stylesheets/library/styles/openfest.css +++ /dev/null @@ -1,34 +0,0 @@ -div#index-bottom { - border: 0 !important; - padding: 0 !important; - margin: 0 !important; -} -#index-bottom ul { - padding: 0 !important; -} -#index-top, #index-top-english { - border: 0 !important; -} -.program table td, .program table th { - padding-left: 13px; - padding-top: -2px; - padding-bottom: -2px; - border-bottom: 1px solid #FFFFFF; -} -.opentech { - background-color: #D1B6E7; - text: #000000; -} -.openbiz { - background-color: #a6e3d0; - text: #000000; -} -.bsdcon { - background-color: #FF6666; - text: #000000; -} -.social { - background-color: #A2D2FF; - text: #000000; -} - diff --git a/app/assets/stylesheets/library/styles/plugins.css b/app/assets/stylesheets/library/styles/plugins.css deleted file mode 100644 index 2e9405d..0000000 --- a/app/assets/stylesheets/library/styles/plugins.css +++ /dev/null @@ -1,27 +0,0 @@ -/* -------------------------------------------------------------- - - Default plugin styles for Thematic - --------------------------------------------------------------- */ - -/* =Ajax Edit Comments --------------------------------------------------------------- */ - -.edit-comment { - margin-bottom:18px; -} - -/* =PageNavi --------------------------------------------------------------- */ - -/* I'm not overriding PageNavi anymore, it's too much of a mess. - -/* =WordPress Stats --------------------------------------------------------------- */ - -img#wpstats { /* hide WordPress Stats smiley */ - width:0px; - height:0px; - overflow:hidden -} - diff --git a/app/assets/stylesheets/library/styles/reset.css b/app/assets/stylesheets/library/styles/reset.css deleted file mode 100644 index 99bd2e4..0000000 --- a/app/assets/stylesheets/library/styles/reset.css +++ /dev/null @@ -1,64 +0,0 @@ -/* -------------------------------------------------------------- - - Reset default browser CSS. - - Based on work by Eric Meyer: - http://meyerweb.com/eric/tools/css/reset/index.html - --------------------------------------------------------------- */ - -/* v1.0 | 20080212 */ - -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, font, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td { - margin: 0; - padding: 0; - border: 0; - outline: 0; - font-size: 100%; - vertical-align: baseline; - background: transparent; -} -body { - background:#fff; - line-height: 1; -} -ol, ul { - list-style: none; -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} - -/* remember to define focus styles! */ -:focus { - outline: 0; -} - -/* remember to highlight inserts somehow! */ -ins { - text-decoration: none; -} -del { - text-decoration: line-through; -} - -/* tables still need 'cellspacing="0"' in the markup */ -table { - border-collapse: collapse; - border-spacing: 0; -} - -a img { border: none; } diff --git a/app/assets/stylesheets/library/styles/typography.css b/app/assets/stylesheets/library/styles/typography.css deleted file mode 100644 index a2ce63b..0000000 --- a/app/assets/stylesheets/library/styles/typography.css +++ /dev/null @@ -1,141 +0,0 @@ -/* -------------------------------------------------------------- - - Set default typography based on Blueprint - - http://code.google.com/p/blueprintcss/ - --------------------------------------------------------------- */ - -body, input, textarea { - color:#000; - font: 12px Arial,sans-serif; - line-height:18px; -} - -/* Headings --------------------------------------------------------------- */ - -h1,h2,h3,h4,h5,h6 { - font-weight:normal; - clear:both; -} - -/* Text elements --------------------------------------------------------------- */ - -p { - margin-bottom:18px; -} -ul { - margin: 0 0 18px 2.5em; -} -ol { - margin: 0 0 18px 2.5em; -} -ul { - list-style:disc; -} -ol { - list-style-type: decimal; -} -ol ol { - list-style:upper-alpha; -} -ol ol ol { - list-style:lower-roman; -} -ol ol ol ol { - list-style:lower-alpha; -} -ul ul, ol ol, ul ol, ol ul { - margin-bottom:0; -} -dl { - margin:0 1.5em; -} -dt { - font-weight:bold; -} -dd { - margin-bottom:18px; -} -strong { - font-weight: bold; -} -cite, em, i { - font-style: italic; -} -blockquote { - margin: 0 3em; -} -blockquote em, blockquote i, blockquote cite { - font-style:normal; -} -pre { - font:11px Monaco, monospace; - line-height:18px; - margin-bottom:18px; -} -code { - font:11px Monaco, monospace; -} -abbr, acronym { - border-bottom:1px dotted #333; - cursor: help; -} -ins { - text-decoration:none; -} -sup, -sub { - height: 0; - line-height: 1; - vertical-align: baseline; - position: relative; - -} -sup { - bottom: 1ex; -} -sub { - top: .5ex; -} - -/* Pullquotes --------------------------------------------------------------- */ - -blockquote.left { - float: left; - margin-left:0; - margin-right:20px; - text-align: right; - width: 33%; -} -blockquote.right { - float: right; - margin-left:20px; - margin-right:0; - text-align: left; - width: 33%; -} - -/* - -Adapt the following for use in your Child Themes when using -different font-sizes and line-heights - -body, input, textarea { - font: --px Arial,sans-serif; - line-height:--px; -} -p, ul, ol, dd, pre { - margin-bottom:--px; -} -pre, code { - font:--px Monaco, monospace; - line-height:--px; -} - -All other styles can be overridden--or ignored!--in Child Theme stylesheets - -*/ \ No newline at end of file diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a837781..587e03d 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -19,11 +19,14 @@ class ApplicationController < ActionController::Base I18n.locale = params[:locale] || I18n.default_locale end + layout 'management' + + protected def configure_permitted_parameters devise_parameter_sanitizer.for(:account_update) do |u| - u.permit(:email, :password, :password_confirmation, :current_password, speaker_profile_attributes: [:first_name, :last_name, :public_email, :organisation, :github, :twitter, :mobile_phone, :biography, :picture, :id]) + u.permit :email, :password, :password_confirmation, :current_password, :first_name, :last_name end end end diff --git a/app/controllers/home_controller.rb b/app/controllers/home_controller.rb deleted file mode 100644 index 0689cf3..0000000 --- a/app/controllers/home_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ -class HomeController < ApplicationController - def index - @current_conference = Conference.first - end -end diff --git a/app/mailers/event_mailer.rb b/app/mailers/event_mailer.rb deleted file mode 100644 index b28000c..0000000 --- a/app/mailers/event_mailer.rb +++ /dev/null @@ -1,13 +0,0 @@ -# -*- coding: utf-8 -*- -class EventMailer < ActionMailer::Base - def new_event_notification(event) - @event = event - mail(to: 'core@openfest.org', subject: "Ново предложение за #{@event.class.model_name.human.mb_chars.downcase.to_s}: #{@event.title}") - end - - def acceptance_notification(event) - @event = event - I18n.locale = @event.language - mail to: @event.user.email, from: 'program@openfest.org', subject: I18n.t('event_mailer.acceptance_notification.subject', conference: @event.conference.title, submission_type: @event.class.model_name.human.mb_chars.downcase.to_s, title: @event.title) - end -end diff --git a/app/views/event_mailer/acceptance_notification.bg.text.erb b/app/views/event_mailer/acceptance_notification.bg.text.erb deleted file mode 100644 index 6d5fa4e..0000000 --- a/app/views/event_mailer/acceptance_notification.bg.text.erb +++ /dev/null @@ -1,18 +0,0 @@ -Здравейте, - -Радваме се да Ви съобщим, че предложението ви за участие в <%= @event.conference.title %> с <%= @event.class.model_name.human.mb_chars.downcase.to_s %> на тема „<%= @event.title %>“ беше одобрено. - -Първоначален вариант на програмата можете да видите тук: -http://wwwt.openfest.org/bg/programa/ - -Моля, потвърдете участието си възможно най-скоро като кликнете на следния линк: -<% if @event.is_a? Lecture %> -<%= confirm_lecture_url(@event) %> -<% elsif @event.is_a? Workshop %> -<%= confirm_workshop_url(@event) %> -<% end %> - -Отговорете на този email, ако възникнат някакви въпроси. - -Поздрави, -Екипът на <%= @event.conference.title %> diff --git a/app/views/event_mailer/acceptance_notification.en.text.erb b/app/views/event_mailer/acceptance_notification.en.text.erb deleted file mode 100644 index 23f35c2..0000000 --- a/app/views/event_mailer/acceptance_notification.en.text.erb +++ /dev/null @@ -1,18 +0,0 @@ -Hello, - -We are happy to notify you that your request for participation in <%= @event.conference.title %> with the <%= @event.class.model_name.human.mb_chars.downcase.to_s %> titled "<%= @event.title %>" was approved. - -The initial conference schedule can be found here: -http://wwwt.openfest.org/en/schedule/ - -Please confirm your participation as soon as you can by following the following link: -<% if @event.is_a? Lecture %> -<%= confirm_lecture_url(@event, locale: 'en') %> -<% elsif @event.is_a? Workshop %> -<%= confirm_workshop_url(@event, locale: 'en') %> -<% end %> - -Please respond to this email in case you have any questions. - -Regards, -The <%= @event.conference.title %> Team diff --git a/app/views/event_mailer/new_event_notification.text.erb b/app/views/event_mailer/new_event_notification.text.erb deleted file mode 100644 index d498fc8..0000000 --- a/app/views/event_mailer/new_event_notification.text.erb +++ /dev/null @@ -1,24 +0,0 @@ -Здравейте, - -Беше получено следното предложение за <%= @event.class.model_name.human.mb_chars.downcase.to_s %>: - -Потребител: <%= @event.user.email %> - -Заглавие: <%= @event.title %> - -Подзаглавие: <%= @event.subtitle %> - -Поток: <%= @event.track.name %> - -Продължителност: <%= @event.length %> мин. - -Език: <%= @event.language %> - -Резюме: -<%= @event.abstract %> - -Описание: -<%= @event.description %> - -Забележки: -<%= @event.notes %> diff --git a/app/views/home/_track.html.slim b/app/views/home/_track.html.slim deleted file mode 100644 index b522a30..0000000 --- a/app/views/home/_track.html.slim +++ /dev/null @@ -1,6 +0,0 @@ -li - strong - = track.name - span.separator<> – - span - = track.description diff --git a/app/views/home/index.html.slim b/app/views/home/index.html.slim deleted file mode 100644 index 37b7518..0000000 --- a/app/views/home/index.html.slim +++ /dev/null @@ -1,14 +0,0 @@ -h1.entry-title = t :home_title, conference: @current_conference.title - -= simple_format @current_conference.description - -p = t :what_we_ask - -ul - = render partial: 'track', collection: @current_conference.tracks - -p = t :license_notice - -.centered.large - => link_to t(:submit_lecture), new_lecture_path, class: 'btn-link btn-link-large' - = link_to t(:submit_workshop), new_workshop_path, class: 'btn-link btn-link-large' diff --git a/app/views/layouts/application.html.slim b/app/views/layouts/application.html.slim deleted file mode 100644 index d9a78b6..0000000 --- a/app/views/layouts/application.html.slim +++ /dev/null @@ -1,26 +0,0 @@ -doctype html - -html - head - meta charset="utf-8" - title - = Conference.current.try :title - =< yield :title if content_for? :title - = stylesheet_link_tag 'application' - = csrf_meta_tags - body - #wrapper.hfeed - header#header - #branding - #blog-title - span - = link_to 'http://openfest.org/', title: 'OpenFest', rel: 'home' do - = image_tag 'logo-header.png', alt: 'OpenFest' - h1#blog-description - = t(:of_motto) - #access - == render partial: '/shared/nav' - #main - == render(partial: '/shared/flash_messages') unless flash.empty? - == yield - = javascript_include_tag 'application' diff --git a/app/views/lectures/_form.html.slim b/app/views/lectures/_form.html.slim deleted file mode 100644 index dbb2e0a..0000000 --- a/app/views/lectures/_form.html.slim +++ /dev/null @@ -1,15 +0,0 @@ -== simple_form_for @lecture do |form| - p - = form.error_notification - - .form-inputs - = form.input :title, autofocus: true - = form.input :subtitle - = form.input :track_id, collection: Conference.current.tracks.map { |track| [track.name, track.id, {title: track.description}] }, required: true - = form.input :length - = form.input :language, collection: I18n.available_locales, include_blank: false, default: I18n.locale - = form.input :abstract - = form.input :description - = form.input :notes - = form.input :agreement, as: :boolean - = form.button :submit diff --git a/app/views/lectures/_lecture.html.slim b/app/views/lectures/_lecture.html.slim deleted file mode 100644 index 9e580ad..0000000 --- a/app/views/lectures/_lecture.html.slim +++ /dev/null @@ -1 +0,0 @@ -li = link_to lecture.title, lecture diff --git a/app/views/lectures/edit.html.slim b/app/views/lectures/edit.html.slim deleted file mode 100644 index fb8eeb3..0000000 --- a/app/views/lectures/edit.html.slim +++ /dev/null @@ -1,3 +0,0 @@ -- content_for(:title) { ":: #{t :edit_talk} #{@lecture.title}" } -h1.entry-title = t :edit_talk -= render 'form' diff --git a/app/views/lectures/index.html.slim b/app/views/lectures/index.html.slim deleted file mode 100644 index 5e95fd0..0000000 --- a/app/views/lectures/index.html.slim +++ /dev/null @@ -1,10 +0,0 @@ -- content_for(:title) { ":: #{t :my_talks}" } -h1.entry-title = t :my_talks - -- unless @lectures.empty? - ul - = render @lectures -- else - p = t :no_talks_submitted - -= link_to t(:submit_lecture), new_lecture_path, class: 'btn-link' diff --git a/app/views/lectures/new.html.slim b/app/views/lectures/new.html.slim deleted file mode 100644 index c636206..0000000 --- a/app/views/lectures/new.html.slim +++ /dev/null @@ -1,3 +0,0 @@ -- content_for(:title) { ":: #{t :submit_talk_header}" } -h1.entry-title = t :submit_talk_header -= render 'form' diff --git a/app/views/lectures/show.html.slim b/app/views/lectures/show.html.slim deleted file mode 100644 index 62bba69..0000000 --- a/app/views/lectures/show.html.slim +++ /dev/null @@ -1,18 +0,0 @@ -- content_for(:title) { ":: #{@lecture.title}" } - -h2.lecture-title - => @lecture.title - span.subtitle = @lecture.subtitle -.entry-meta - = t :edit_title, track: @lecture.track.name, len: @lecture.length - -section.abstract - h3 = t :abstract - = simple_format @lecture.abstract - -section.description - h3 = t :description - = simple_format @lecture.description - -- if current_user == @lecture.user - = link_to t(:edit), edit_lecture_path(@lecture), class: 'btn-link' diff --git a/app/views/shared/_flash_messages.html.slim b/app/views/shared/_flash_messages.html.slim deleted file mode 100644 index c94abd1..0000000 --- a/app/views/shared/_flash_messages.html.slim +++ /dev/null @@ -1,3 +0,0 @@ -div#flash_messages - - flash.each do |key, value| - = content_tag :div, value, class: "flash #{key}" diff --git a/app/views/shared/_nav.html.slim b/app/views/shared/_nav.html.slim deleted file mode 100644 index e01e826..0000000 --- a/app/views/shared/_nav.html.slim +++ /dev/null @@ -1,26 +0,0 @@ -nav.menu - ul.sf-menu.sf-js-enabled - == content_tag :li, class: [('current_page_item' if controller_name == 'home')] do - = link_to t(:home), root_path - - - unless user_signed_in? - == content_tag :li, class: [('current_page_item' if controller_name == 'sessions')] do - = link_to t(:login), new_user_session_path - - else - == content_tag :li, class: [('current_page_item' if controller_name == 'lectures')] do - = link_to t(:talks), lectures_path - - == content_tag :li, class: [('current_page_item' if controller_name == 'workshops')] do - = link_to t(:workshops), workshops_path - - == content_tag :li, class: [('current_page_item' if controller_name == 'registrations')] do - = link_to t(:edit_speaker_profile), edit_user_registration_path - - li - = link_to t(:logout), destroy_user_session_path, method: :delete - - li - - if I18n.locale != :en - = link_to 'English', root_url(locale: 'en') - - elsif I18n.locale != :bg - = link_to 'Български', root_url(locale: 'bg') diff --git a/app/views/workshops/_form.html.slim b/app/views/workshops/_form.html.slim deleted file mode 100644 index 2077413..0000000 --- a/app/views/workshops/_form.html.slim +++ /dev/null @@ -1,15 +0,0 @@ -== simple_form_for @workshop do |form| - p - = form.error_notification - - .form-inputs - = form.input :title, autofocus: true - = form.input :subtitle - = form.input :track_id, collection: Conference.current.tracks.map { |track| [track.name, track.id, {title: track.description}] }, required: true - = form.input :length, input_html: {value: 60} - = form.input :language, collection: I18n.available_locales, include_blank: false, default: I18n.locale - = form.input :abstract - = form.input :description - = form.input :notes - = form.input :agreement, as: :boolean - = form.button :submit diff --git a/app/views/workshops/_workshop.html.slim b/app/views/workshops/_workshop.html.slim deleted file mode 100644 index f4fa390..0000000 --- a/app/views/workshops/_workshop.html.slim +++ /dev/null @@ -1 +0,0 @@ -li = link_to workshop.title, workshop diff --git a/app/views/workshops/edit.html.slim b/app/views/workshops/edit.html.slim deleted file mode 100644 index b6d9fde..0000000 --- a/app/views/workshops/edit.html.slim +++ /dev/null @@ -1,4 +0,0 @@ -- content_for(:title) { ":: #{t :edit_workshop} #{@workshop.title}" } - -h1.entry-title = t :edit_workshop -= render 'form' diff --git a/app/views/workshops/index.html.slim b/app/views/workshops/index.html.slim deleted file mode 100644 index 6f2eb6c..0000000 --- a/app/views/workshops/index.html.slim +++ /dev/null @@ -1,11 +0,0 @@ -- content_for(:title) { ":: #{t :my_workshops}" } - -h1.entry-title = t :my_workshops - -- unless @workshops.empty? - ul - = render @workshops -- else - p = t :no_workshops_submitted - -= link_to t(:submit_workshop), new_workshop_path, class: 'btn-link' diff --git a/app/views/workshops/new.html.slim b/app/views/workshops/new.html.slim deleted file mode 100644 index 72919d4..0000000 --- a/app/views/workshops/new.html.slim +++ /dev/null @@ -1,4 +0,0 @@ -- content_for(:title) { ":: #{t :new_workshop_title}" } - -h1.entry-title = t :new_workshop_title -= render 'form' diff --git a/app/views/workshops/show.html.slim b/app/views/workshops/show.html.slim deleted file mode 100644 index 8ddc530..0000000 --- a/app/views/workshops/show.html.slim +++ /dev/null @@ -1,19 +0,0 @@ -- content_for(:title) { ":: #{@workshop.title}" } - -h2.workshop-title - = @workshop.title - span.subtitle = @workshop.subtitle - -.entry-meta - = t :edit_title, track: @workshop.track.name, len: @workshop.length - -section.abstract - h3 = t :abstract - = simple_format @workshop.abstract - -section.description - h3 = t :description - = simple_format @workshop.description - -- if current_user == @workshop.user - = link_to t(:edit), edit_workshop_path(@workshop), class: 'btn-link' diff --git a/config/routes.rb b/config/routes.rb index db046bb..3b2b647 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -32,5 +32,5 @@ Rails.application.routes.draw do end end - root 'home#index' + root 'management/events#index' end diff --git a/spec/controllers/home_controller_spec.rb b/spec/controllers/home_controller_spec.rb deleted file mode 100644 index 375f768..0000000 --- a/spec/controllers/home_controller_spec.rb +++ /dev/null @@ -1,12 +0,0 @@ -require 'rails_helper' - -RSpec.describe HomeController, :type => :controller do - - describe "GET index" do - it "returns http success" do - get :index - expect(response).to be_success - end - end - -end