From fd9e53e1c02457046a7b09013733ec70c3f9cd04 Mon Sep 17 00:00:00 2001 From: Petko Bordjukov Date: Wed, 5 Nov 2014 11:25:09 +0200 Subject: [PATCH] Completely remove user interface Remove the user interface and leave only the admin interface. --- app/assets/images/logo-header.png | Bin 16490 -> 0 bytes app/assets/javascripts/application.js | 15 - app/assets/stylesheets/application.css | 31 - app/assets/stylesheets/events.css.scss | 36 - .../stylesheets/flash_messages.css.scss | 18 - app/assets/stylesheets/forms.css.scss | 140 --- .../library/layouts/2c-r-fixed.css | 68 -- .../stylesheets/library/styles/default.css | 1062 ----------------- .../stylesheets/library/styles/images.css | 64 - .../stylesheets/library/styles/openfest.css | 34 - .../stylesheets/library/styles/plugins.css | 27 - .../stylesheets/library/styles/reset.css | 64 - .../stylesheets/library/styles/typography.css | 141 --- app/controllers/application_controller.rb | 5 +- app/controllers/home_controller.rb | 5 - app/mailers/event_mailer.rb | 13 - .../acceptance_notification.bg.text.erb | 18 - .../acceptance_notification.en.text.erb | 18 - .../new_event_notification.text.erb | 24 - app/views/home/_track.html.slim | 6 - app/views/home/index.html.slim | 14 - app/views/layouts/application.html.slim | 26 - app/views/lectures/_form.html.slim | 15 - app/views/lectures/_lecture.html.slim | 1 - app/views/lectures/edit.html.slim | 3 - app/views/lectures/index.html.slim | 10 - app/views/lectures/new.html.slim | 3 - app/views/lectures/show.html.slim | 18 - app/views/shared/_flash_messages.html.slim | 3 - app/views/shared/_nav.html.slim | 26 - app/views/workshops/_form.html.slim | 15 - app/views/workshops/_workshop.html.slim | 1 - app/views/workshops/edit.html.slim | 4 - app/views/workshops/index.html.slim | 11 - app/views/workshops/new.html.slim | 4 - app/views/workshops/show.html.slim | 19 - config/routes.rb | 2 +- spec/controllers/home_controller_spec.rb | 12 - 38 files changed, 5 insertions(+), 1971 deletions(-) delete mode 100644 app/assets/images/logo-header.png delete mode 100644 app/assets/javascripts/application.js delete mode 100644 app/assets/stylesheets/application.css delete mode 100644 app/assets/stylesheets/events.css.scss delete mode 100644 app/assets/stylesheets/flash_messages.css.scss delete mode 100644 app/assets/stylesheets/forms.css.scss delete mode 100644 app/assets/stylesheets/library/layouts/2c-r-fixed.css delete mode 100644 app/assets/stylesheets/library/styles/default.css delete mode 100644 app/assets/stylesheets/library/styles/images.css delete mode 100644 app/assets/stylesheets/library/styles/openfest.css delete mode 100644 app/assets/stylesheets/library/styles/plugins.css delete mode 100644 app/assets/stylesheets/library/styles/reset.css delete mode 100644 app/assets/stylesheets/library/styles/typography.css delete mode 100644 app/controllers/home_controller.rb delete mode 100644 app/mailers/event_mailer.rb delete mode 100644 app/views/event_mailer/acceptance_notification.bg.text.erb delete mode 100644 app/views/event_mailer/acceptance_notification.en.text.erb delete mode 100644 app/views/event_mailer/new_event_notification.text.erb delete mode 100644 app/views/home/_track.html.slim delete mode 100644 app/views/home/index.html.slim delete mode 100644 app/views/layouts/application.html.slim delete mode 100644 app/views/lectures/_form.html.slim delete mode 100644 app/views/lectures/_lecture.html.slim delete mode 100644 app/views/lectures/edit.html.slim delete mode 100644 app/views/lectures/index.html.slim delete mode 100644 app/views/lectures/new.html.slim delete mode 100644 app/views/lectures/show.html.slim delete mode 100644 app/views/shared/_flash_messages.html.slim delete mode 100644 app/views/shared/_nav.html.slim delete mode 100644 app/views/workshops/_form.html.slim delete mode 100644 app/views/workshops/_workshop.html.slim delete mode 100644 app/views/workshops/edit.html.slim delete mode 100644 app/views/workshops/index.html.slim delete mode 100644 app/views/workshops/new.html.slim delete mode 100644 app/views/workshops/show.html.slim delete mode 100644 spec/controllers/home_controller_spec.rb diff --git a/app/assets/images/logo-header.png b/app/assets/images/logo-header.png deleted file mode 100644 index f33b6fb79e611ec8871ad6d3110f54ab448d9f72..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 16490 zcmXwhWmsEX({*r%7AfxT?(Pl&iaQi{cemm$#ih8rLvV*uDDLj=`sIG!>-&+DT*=wV zK4L>a9t&}T-6-RT|JDQ z%>bf598AneWbKSC%v8;ce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eVxgWwVVQs>0K?jGK=R#TEvwD0*d zxME%Wd+Kb4DGcvqh21h(@JBnXsPjk2^o}BFg^v8CYz1V6l(0MO~|knDCjm-u{1YZ`FWj3ckE? wO9&6Qn+mYn8T>Uh{~f`~dXi7WKnTG6eoOThP;MRk=K%m&NhOIIF{9xB2PBZMI{*Lx 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