new conference

remotes/origin/stage6
ya_dim4ik 9 years ago
parent 40fb2e1952
commit 4cdd21bc31
  1. 347
      static/client/css/main.css
  2. 2
      static/client/css_min/main.min.css
  3. BIN
      static/client/img/_del-temp/place.jpg
  4. BIN
      static/client/img/conf_price.png
  5. 44
      templates/client/article/article.html
  6. 485
      templates/client/includes/conference/conference_partner.html

@ -2604,7 +2604,7 @@ a.icon-big-ical {
display: table;
}
#expo_b_popup_2 .pw-form .pwf-line{
margin: 0px auto 15px;
margin: 0 auto 15px;
}
.pw-form .pwf-line.subj-checks {
margin-bottom: 25px
@ -3208,7 +3208,7 @@ form.s-message {
text-align: right;
padding-right: 10px;
text-decoration: none;
font-family: Verdana, san-serif
font-family: Verdana, sans-serif
}
.cl-item header,
.cli-info .cli-bot,
@ -5326,7 +5326,6 @@ dl.add-info dd ul li {
}
.i-steps .is-title {
font-family: dindisplay_pro, sans-serif;
font-weight: 100;
font-size: 28px;
line-height: 28px;
text-align: center;
@ -5800,7 +5799,7 @@ dl.add-info dd ul li {
line-height: 24px;
color: #40bbea;
width: 581px;
margin: 19px 0px;
margin: 19px 0;
}
.h-booking .sect-title a {
color: #40bbea;
@ -7213,12 +7212,12 @@ a.order-button:hover .ob-text {
white-space: normal;
}
.for_participation .pr-list .prl-value{
border-bottom: 0px;
border-radius: 4px 4px 0px 0px;
border-bottom: 0;
border-radius: 4px 4px 0 0;
}
.for_participation .pr-list .prl-descr{
border-top: 0px;
border-radius: 0px 0px 4px 4px;
border-top: 0;
border-radius: 0 0 4px 4px;
}
.pr-list .prl-value {
display: inline-block;
@ -8596,7 +8595,7 @@ hr+.rq-note {
.contacts_top_block_left,
.contacts_top_block_right,
.signature_block {
font-family: dindisplay_pro
font-family: dindisplay_pro, sans-serif;
}
.rq-form {
padding-top: 1px
@ -10512,7 +10511,7 @@ hr+.rq-note {
padding: 1px 0 9px
}
.profile_top_table tr td ul li {
font-family: Arial;
font-family: Arial, sans-serif;
font-size: 13px
}
.profile_top_table tr td ul li:before {
@ -10545,7 +10544,7 @@ hr+.rq-note {
left: 18px;
bottom: 15px;
height: 16px;
font-family: Arial;
font-family: Arial, sans-serif;
cursor: pointer
}
.profile_bottom_table,
@ -10738,7 +10737,7 @@ hr+.rq-note {
-webkit-transition: background .3s, color .3s;
-o-transition: background .3s, color .3s;
transition: background .3s, color .3s;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
cursor: pointer;
padding: 20px 0 0
}
@ -10746,8 +10745,7 @@ hr+.rq-note {
display: block;
width: 36px;
font-size: 40px;
background-position: center center;
background-repeat: no-repeat;
background: no-repeat center center;
-webkit-transition: all .3s;
-o-transition: all .3s;
transition: all .3s;
@ -10776,7 +10774,7 @@ hr+.rq-note {
.add_link_text a.e-btn,
.add_link_text_text {
font-size: 17px;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-weight: 500
}
.add_pic_block b:before {
@ -10954,7 +10952,7 @@ hr+.rq-note {
.i-staff-list>ul>li a.add_pic_link {
text-decoration: none;
line-height: 1;
font-family: dindisplay_pro
font-family: dindisplay_pro, sans-serif;
}
.add_link_text a:hover,
.i-info header .i-place.add_link_text a:hover {
@ -11003,7 +11001,7 @@ hr+.rq-note {
top: 10px;
font-size: 15px;
color: #a2a2a2;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-weight: 500
}
.add_link_teg b:before {
@ -11017,7 +11015,7 @@ hr+.rq-note {
font-size: 13px;
color: #a2a2a2;
font-weight: 500;
font-family: dindisplay_pro
font-family: dindisplay_pro, sans-serif;
}
.add_indent {
margin-bottom: 4px
@ -11047,7 +11045,7 @@ hr+.rq-note {
}
.add_indo_table {
width: 100%;
font-family: dindisplay_pro
font-family: dindisplay_pro, sans-serif;
}
.add_indo_table tr th {
text-align: left;
@ -11060,7 +11058,7 @@ hr+.rq-note {
.add_indo_table tr th b {
font-size: 20px;
color: #a2a2a2;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-weight: 500
}
.add_indo_table tr th b:before {
@ -11158,11 +11156,8 @@ hr+.rq-note {
margin: 30px auto 0;
width: 46px;
height: 46px;
background-color: #d0d0d0;
border-radius: 50%;
background-image: url(../img/add_pic_block_bg2.png);
background-position: center center;
background-repeat: no-repeat;
background: #d0d0d0 url(../img/add_pic_block_bg2.png) no-repeat center center;
-webkit-transition: background .3s, color .3s;
-o-transition: background .3s, color .3s;
transition: background .3s, color .3s;
@ -11232,11 +11227,8 @@ hr+.rq-note {
margin: 0 auto;
width: 27px;
height: 27px;
background-color: #d0d0d0;
border-radius: 50%;
background-image: url(../img/add_pic_block_bg1.png);
background-position: center center;
background-repeat: no-repeat;
background: #d0d0d0 url(../img/add_pic_block_bg1.png) no-repeat center center;
-webkit-transition: background .3s, color .3s;
-o-transition: background .3s, color .3s;
transition: background .3s, color .3s;
@ -11338,7 +11330,7 @@ hr+.rq-note {
margin: 0 10px 10px 0;
font-weight: 400;
color: #424242;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-size: 17px
}
.doings_block .button:hover {
@ -11715,10 +11707,7 @@ button.gray:hover {
background: linear-gradient(to bottom, #fff 67%, #f5f5f5 100%);
color: #f60;
margin-top: 0;
-moz-border-radius-topleft: 4px;
-moz-border-radius-topright: 4px;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
-moz-border-radius: 4px 4px 0 0;
border-bottom: 0;
display: none;
border-radius: 4px 4px 0 0
@ -11786,8 +11775,7 @@ button.gray:hover {
background-position: -385px -89px
}
.mp-search .pw-period .pwf-field.err input {
border-width: 2px;
border-color: #D80000
border: 2px #D80000;
}
.search-modal-wrap .ui-menu .ui-menu-item .subj-category {
display: inline-block;
@ -11841,8 +11829,7 @@ button.gray:hover {
position: relative
}
.required.err input {
border-width: 2px;
border-color: #d80000
border: 2px #d80000;
}
.required.err:before {
display: block;
@ -12079,7 +12066,7 @@ button.gray:hover {
height: 0;
width: 0;
position: absolute;
border-color: #696969 transparent transparent
border-color: #696969 transparent transparent;
}
.error-blob:after {
border-width: 3px;
@ -12166,7 +12153,7 @@ button.gray:hover {
color: #464646;
overflow: hidden;
position: relative;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
text-shadow: 0 1px 0 rgba(255, 255, 255, .8)
}
.no-events .c-event .ce-wrap .message {
@ -12270,8 +12257,7 @@ button.gray:hover {
}
.after-register-modal .required.err .select2-choice,
.create-company-modal .select-input.err .select2-choices {
border-width: 2px;
border-color: #d80000
border: 2px #d80000;
}
.my-companies-block .company .logo img.portrait {
height: 141px;
@ -12448,7 +12434,7 @@ button.gray:hover {
.edit-profile .theme-wrap .label {
font-size: 15px;
color: #a2a2a2;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-weight: 500;
display: inline-block;
position: relative;
@ -12741,13 +12727,11 @@ button.gray:hover {
.after-register-modal .pwf-line .hint-box:after {
top: 100%;
left: 50%;
border: solid transparent;
height: 0;
width: 0;
position: absolute;
border-color: rgba(170, 170, 170, 0);
border: 4px solid rgba(170, 170, 170, 0);
border-top-color: #aaa;
border-width: 4px;
margin-left: -4px
}
.message-register-success .fa {
@ -12827,7 +12811,7 @@ button.gray:hover {
}
.advertise-window header .pw-title {
font-weight: 400;
margin: 19px 0px;
margin: 19px 0;
}
.advertise-window header {
padding-bottom: 0
@ -13019,8 +13003,7 @@ button.gray:hover {
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
list-style-type: none;
list-style-position: inside;
list-style: none inside;
margin: 0;
display: block
}
@ -13068,22 +13051,22 @@ button.gray:hover {
}
.sharing_block .social-likes{
margin: 0px;
margin: 0;
background: #fff;
min-height: auto;
min-height: unset;
padding: 5px;
}
.sharing_block .social-likes.fixed{
position: fixed;
top: 0px;
top: 0;
z-index: 1000;
box-shadow: 0px 0px 2px #aaa;
border-radius: 0px 0px 3px 3px;
box-shadow: 0 0 2px #aaa;
border-radius: 0 0 3px 3px;
}
.sharing_block .social-likes__widget{
margin: 0px;
margin: 0;
border-radius: 2px;
float: left;
}
@ -13127,7 +13110,7 @@ button.gray:hover {
background-color: #f60;
text-align: center;
color: #fff;
border-radius: 3px 3px 0px 0px;
border-radius: 3px 3px 0 0;
line-height: 40px;
font-size: 13px;
font-weight: 700;
@ -13157,13 +13140,13 @@ button.gray:hover {
.filter_form ul{
list-style: none;
padding-left: 0px;
padding-left: 0;
}
.filter_form .filters{
border: 1px solid #eee;
border-top: 0px;
border-radius: 0px 0px 3px 3px;
border-top: 0;
border-radius: 0 0 3px 3px;
}
.filter_form li label{
@ -13188,7 +13171,7 @@ button.gray:hover {
.filter_block_label + ul{
/* display: none; */
margin-top: 0px;
margin-top: 0;
}
.filter_block_label i{
@ -13244,7 +13227,7 @@ button.gray:hover {
display: block;
color: #a3a3a3;
line-height: 1.2;
padding: 0px 10px;
padding: 0 10px;
}
.filters .links_block {
@ -13298,10 +13281,10 @@ label[for="id_date_to"],
.filters_overlay{
position: absolute;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255,255,255,.7);
display: none;
}
@ -13352,7 +13335,7 @@ ol.numeric li:before {
content:counter(myCounter)'.';
color: #a8a8a8;
margin-right: 10px;
font-family: dindisplay_pro;
font-family: dindisplay_pro, sans-serif;
font-weight: bold;
font-size: 18px;
line-height: 18px;
@ -13452,17 +13435,17 @@ blockquote{
margin-bottom: 30px;
}
.article_comments .comment{
.comment{
padding: 20px;
}
.article_comments .comment_author{
.comment_author{
font-size: 18px;
color: #FF6600;
margin-bottom: 8px;
}
.article_comments .comment_author time{
.comment_author time{
margin-left: 20px;
border-left: 1px solid #ccc;
padding-left: 20px;
@ -13471,31 +13454,32 @@ blockquote{
color: #666666;
}
.article_comments .comment_author time i{
.comment_author time i{
color: #FF6600;
}
.article_comments .comment_text{
.comment_text{
font-size: 14px;
color: #333333;
line-height: 1.3;
margin-bottom: 10px;
}
.article_comments a{
.comment a{
text-decoration: none;
}
.article_comments a span{
.comment a span{
color: #333333;
margin-left: 5px;
}
.article_comments a:hover span{
.comment a:hover span{
color: #FF6600;
text-decoration: underline;
}
.article_comments .comment > .comment{
.comment > .comment{
margin: 45px 0 0 100px;
border: 1px solid #f4f4f3;
background-color: #f8faf9;
@ -13503,7 +13487,7 @@ blockquote{
position: relative;
}
.article_comments .comment > .comment:before{
.comment > .comment:before{
content: '';
display: block;
width: 20px;
@ -13590,7 +13574,7 @@ blockquote{
.speakers_slider .slick-prev:before{
content: '‹';
font-family: Arial, san-serif;
font-family: Arial, sans-serif;
color: #b7b7b6;
font-size: 38px;
font-weight: 100;
@ -13607,6 +13591,12 @@ blockquote{
.last_photos_slider{
margin-bottom: 22px;
border-radius: 5px;
}
.last_photos_slider > img:not(:first-child),
.last_photos_thumbs > img:not(:first-child) {
display: none;
}
.last_photos_slider .slick-prev{
@ -13688,3 +13678,208 @@ blockquote{
.last_photos_thumbs img{
margin: 0 10px;
}
.conference_interested{
background-color: #fff;
border: 1px solid #f8f8f6;
border-radius: 3px;
padding: 22px;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
}
.conference_for{
-webkit-box-flex: 5;
-webkit-flex: 5;
-moz-box-flex: 5;
-ms-flex: 5;
flex: 5;
}
.confererence_price{
-webkit-box-flex: 2;
-webkit-flex: 2;
-moz-box-flex: 2;
-ms-flex: 2;
flex: 2;
}
.conference_interested h3{
font: 400 22px dindisplay_pro, sans-serif;
color: #000;
margin: 0 0 20px;
}
.conference_interested h3 i{
color: #cecece;
}
.conference_interested h3 .fa-tag{
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
-o-transform: scale(-1, 1);
transform: scale(-1, 1);
}
.conference_for ul{
list-style: none;
padding-left: 0;
}
.conference_for li{
-moz-box-sizing: border-box;
box-sizing: border-box;
display: inline-block;
width: -webkit-calc(100%/3);
width: calc(100%/3);
border-bottom: 1px dotted #e8e8e8;
font: italic 300 14px dindisplay_pro, sans-serif;
color: #999999;
padding-left: 20px;
line-height: 30px;
}
.conference_price{
-moz-box-sizing: border-box;
box-sizing: border-box;
float: right;
background-color: #fff5eb;
border: 1px solid #f4b576;
border-left: 0;
padding: 0 15px;
border-radius: 0 3px 3px 0;
font: 400 22px dindisplay_pro, sans-serif;
line-height: 39px;
color: #ff6600;
position: relative;
}
.conference_price:before{
content: "";
display: inline-block;
vertical-align: middle;
width: 14px;
height: 40px;
/*margin-left: -40px;*/
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAnCAYAAAA/63kvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA4BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo0RDgyMDE2NEMzRENFMzExOTc2OEQwODY2QzY0MTY1QSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpBOUQwQUJFQUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpBOUQwQUJFOUFBNDExMUU2OThBREVBQTJBRjU0MzcxNCIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNCAoV2luZG93cykiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDphYjE0NjJhNy1lN2FkLTIzNDktOGRhYy05M2UyOTljYjIxYzUiIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo3YWRjMTQ1YS04YTJkLTExZTYtODkxZS1hOGNhNWExYjdhZWYiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7XRKkHAAACeklEQVR42pyWz2sTQRTH3+zsz9T8Am1qW9LaBko3EIqKQitqEVREgxfRg+KlKvgDPEj9G0TbS1GE4sVrperBHvRi/XUSbMUIotRQUYk9xNrG/Nrd8e1Qa02z290+eMwsO59833sz+yaEMQZerTBxdT8ON9ETxCuIUD+RtCeKnqY0GgcRvNuokjxKaaSVP4gelLpxGBG0SOdfyDbHUBEgOFwgonpd2tKnSs09uFpwBxGScbgjhJpPqvoRIGpo1ZpV4BI0Rjcm0qqeBhBo3Yjq5TgqbupKK/rh/0JzVUS1c0Kw6bbWcwKASq5FWwYRaiOinNG2nW4gWmTNvVkZy5DU1usJWlZEtRRRglOBnWeIUzGcFC9Krds9QxxENQ2rd1yM6eDHbMU+Gm4JETngG+ynkTj4NfsApIRgzHmFZUJl5ikYufcAuHNikw5yx14OJogWdeQqM5NglQug7b7Cn8tvx6CSfclDbXTLz8hlQEkdA9wu7vbc+D7NwQ2Eyr5ztEHTzsOxCLEkhncPWHkBWGmez8XNKQ7OsepvR1Du2AOCEoDi5A0oPhvmc7l9Fy9O1iotxKkadoiJgpzYx7021ClrMbeuHF+Y+ey6wMdmfrbCzIo/sOHQtXmwjHHTPhk+FW0bqX55jUfK8gei6iurmJ+ofpv2rWjb5ern50VW+uUPRNWPzCgPljIP8YswvPWcmoZ8V2zsOqV0u/fVem8GjB8fxkvv7rsqO90ddte6hc35rJpM490R9gau+IHzRFSGpPZeVWrZuvZtVed+HBYC0YPajoF/L2zQiy8+GvxkfH3DWGGOu+DjlF0qZx6Y5s9Zb6HWhH1g6V9H5x8BBgA34gsmw854LQAAAABJRU5ErkJggg==');
position: absolute;
top: 0;
left: -13px;
}
.conf_extra{
list-style: none;
}
.conf_extra li{
display: inline-block;
margin-right: 50px;
}
.conf_extra a{
text-decoration: none;
}
.conf_extra span{
display: inline-block;
/*vertical-align: middle;*/
text-decoration: underline;
margin-left: 5px;
}
.conf_extra a:hover span{
text-decoration: none;
}
.conf_visitors h3{
font: 500 28px dindisplay_pro, sans-serif;
margin-bottom: 15px;
}
.conf_visitors .visitors-list{
list-style: none;
padding-left: 0;
}
.conf_visitors .visitors-list li{
display: inline-block;
width: 25%;
}
.conf_visitors .visitors-list a{
display: block;
font: 400 14px dindisplay_pro, sans-serif;
color: #464646;
padding-left: 15px;
line-height: 1.5;
border-left: 2px solid #FF6600;
}
.conf_visitors .visitors-list a:hover{
color: #FF6600;
}
.conf_place {
border: 1px solid #f8f8f6;
background-color: #fff;
border-radius: 5px;
padding: 0 20px 20px;
-moz-box-sizing: border-box;
box-sizing: border-box;
margin-top: 40px;
}
.place_detail, .place_image{
display: inline-block;
vertical-align: top;
}
.place_detail {
-moz-box-sizing: border-box;
box-sizing: border-box;
width: -webkit-calc(100% - 350px);
width: calc(100% - 350px);
padding-right: 35px;
padding-top: 35px;
font-family: dindisplay_pro, sans-serif;
}
.place_detail h3{
font-size: 28px;
margin-top: 0;
}
.place_detail h4{
color: #FF6600;
font-size: 22px;
font-weight: 400;
text-transform: uppercase;
margin-top: 0;
}
.place_detail h4 i{
margin-left: 5px;
}
.place_image{
width: 350px;
}
.place_detail .grey{
font-size: 15px;
color: #999999;
}
.place_detail p{
font-size: 16px;
color: #333333;
line-height: 28px;
}
.сomment_form textarea.error{
border: 2px solid #d80000;
padding: 4px;
}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -158,7 +158,7 @@
{{ comment.user.get_full_name }} <time><i class="fa fa-calendar"></i> {{ comment.created }}</time>
</div>
<div class="comment_text">{{ comment.text }}</div>
<a href="#" data-parent="{{ comment.pk }}"><i class="fa fa-comment"></i> <span>{% trans "Ответить на комментарий" %}</span></a>
<a href="#" data-parent="{{ comment.pk }}" class="reply_comment"><i class="fa fa-comment"></i> <span>{% trans "Ответить на комментарий" %}</span></a>
{% for answer in comment.childs %}
<div class="comment">
@ -170,49 +170,13 @@
{% endfor %}
</div>
{% endfor %}
{##}
{# <div class="comment">#}
{# <div class="comment_author">#}
{# John Smith <time><i class="fa fa-calendar"></i> 13 апреля 2016</time>#}
{# </div>#}
{##}
{# <div class="comment_text">Сайт рыбатекст поможет дизайнеру, верстальщику, вебмастеру сгенерировать несколько абзацев более менее осмысленного текста рыбы на русском языке, а начинающему оратору отточить навык публичных выступлений в домашних условиях. При создании генератора мы использовали небезызвестный универсальный код речей. Текст генерируется абзацами случайным образом от двух до десяти предложений в абзаце, что позволяет сделать текст более привлекательным и живым для визуально-слухового восприятия.</div>#}
{##}
{# <a href="#"><i class="fa fa-comment"></i> <span>Ответить на комментарий</span></a>#}
{# </div>#}
{##}
{# <div class="comment">#}
{# <div class="comment_author">#}
{# John Smith <time><i class="fa fa-calendar"></i> 13 апреля 2016</time>#}
{# </div>#}
{##}
{# <div class="comment_text">Сайт рыбатекст поможет дизайнеру, верстальщику, вебмастеру сгенерировать несколько абзацев более менее осмысленного текста рыбы на русском языке, а начинающему оратору отточить навык публичных выступлений в домашних условиях. При создании генератора мы использовали небезызвестный универсальный код речей. Текст генерируется абзацами случайным образом от двух до десяти предложений в абзаце, что позволяет сделать текст более привлекательным и живым для визуально-слухового восприятия.</div>#}
{##}
{# <a href="#"><i class="fa fa-comment"></i> <span>Ответить на комментарий</span></a>#}
{# </div>#}
{##}
{# <div class="comment">#}
{# <div class="comment_author">#}
{# John Smith <time><i class="fa fa-calendar"></i> 13 апреля 2016</time>#}
{# </div>#}
{# <div class="comment_text">Сайт рыбатекст поможет дизайнеру, верстальщику, вебмастеру сгенерировать несколько абзацев более менее осмысленного текста рыбы на русском языке, а начинающему оратору отточить навык публичных выступлений в домашних условиях. При создании генератора мы использовали небезызвестный универсальный код речей. Текст генерируется абзацами случайным образом от двух до десяти предложений в абзаце, что позволяет сделать текст более привлекательным и живым для визуально-слухового восприятия.</div>#}
{# <a href="#"><i class="fa fa-comment"></i> <span>Ответить на комментарий</span></a>#}
{##}
{# <div class="comment">#}
{# <div class="comment_author">#}
{# John Smith <time><i class="fa fa-calendar"></i> 13 апреля 2016</time>#}
{# </div>#}
{##}
{# <div class="comment_text">Сайт рыбатекст поможет дизайнеру, верстальщику, вебмастеру сгенерировать несколько абзацев более менее осмысленного текста рыбы на русском языке, а начинающему оратору отточить навык публичных выступлений в домашних условиях. При создании генератора мы использовали небезызвестный универсальный код речей. Текст генерируется абзацами случайным образом от двух до десяти предложений в абзаце, что позволяет сделать текст более привлекательным и живым для визуально-слухового восприятия.</div>#}
{# <a href="#"><i class="fa fa-comment"></i> <span>Ответить на комментарий</span></a>#}
{# </div>#}
{# </div>#}
{% if user.is_authenticated %}
<div class="сomment_form">
<form action="." method="post">
<form action="." method="post" id="comment_form">
{% csrf_token %}
{{ commentform.as_p }}
{# {{ commentform.as_p }}#}
<p><label for="id_text">Сообщение:</label><textarea cols="40" id="id_text" name="text" rows="10"></textarea></p>
<button type="submit">Отправить</button>
</form>
</div>

@ -131,6 +131,27 @@
</div>
</div>
<div class="conference_interested">
<div class="conference_for">
<h3><i class="fa fa-user"></i> {% trans 'Кому будет интересно' %}</h3>
<ul>
<li>Маркетолог</li>
<li>Контент-менеджер</li>
<li>Маркетолог</li>
<li>Контент-менеджер</li>
<li>Маркетолог</li>
<li>Контент-менеджер</li>
</ul>
</div>
<div class="confererence_price">
<h3><i class="fa fa-tag"></i> {% trans 'Стоимость участия' %}</h3>
<div class="conference_price">10 000 - 20 000 руб.</div>
</div>
</div>
<hr>
{% include 'client/includes/conference/conference_services.html' with event=event %}
{% include 'includes/event_steps.html' with event=event %}
@ -146,6 +167,69 @@
</div>
{# {% include "client/includes/conference/default_description.html" with conf=event %} #}
{% endif %}
<hr>
<ul class="conf_extra">
{% if event.business_program.exists %}
<li><a href="{{ event.get_permanent_url }}program/"><i class="fa fa-file-text-o"></i> <span>{% trans 'Деловая программа' %}</span></a></li>
{% endif %}
{% if event.web_page %}
<li><a target="_blank" href="{{ event.web_page }}" data-url="{{ event.web_page|base64_encode }}"><i class="fa fa-globe"></i> <span>{% trans 'На сайт события' %}</span></a></li>
{% endif %}
</ul>
{% comment %}
<dl class="add-info">
{% if event.organiser.all|length > 0 %}
<dt>{% trans 'Организатор' %}:</dt>
<dd>
{% with organisers=event.organiser.all %}
{% for organiser in organisers %}
{{ organiser.name }}<br />
{% endfor %}
{% endwith %}
</dd>
{% else %}
{% if event.org %}
{% for item in event.org_split %}
<dt>{% if forloop.counter == 1 %}{% trans 'Организатор' %}:{% endif %}</dt>
<dd>
{{ item }}
</dd>
{% endfor %}
{% endif %}
{% endif %}
{% if event.web_page %}
<dt>{% trans 'Веб-сайт' %}:</dt>
<dd>
<a target="_blank" href="#" data-type="href" data-hash="1qwer" data-url="{{ event.web_page|base64_encode }}" class="link-encode">{{ event.web_page }}</a>
</dd>
{% endif %}
{% if event.get_audience %}
<dt>{% trans 'Аудитория' %}:</dt>
<dd>
{{ event.get_audience }}
</dd>
{% endif %}
{% if event.get_periodic %}
<dt>{% trans 'Периодичность' %}:</dt>
<dd>{{ event.get_periodic }}</dd>
{% endif %}
{% if event.time %}
<dt>{% trans 'Время работы' %}:</dt>
<dd>{{ event.time|safe }}</dd>
{% endif %}
</dl>
{% endcomment %}
<hr>
</div>
{% with speakers=event.speakers.all %}
@ -201,215 +285,216 @@
</div>
</div>
{% endwith %}
<hr />
{% endif %}
<hr />
<div class="clearfix">
{% include 'client/includes/banners/detail_inner.html' %}
</div>
<div class="i-event-additional clearfix">
<div class="sect-title">{% trans 'Дополнительная информация' %}</div>
<ul class="e-docs">
{% if event.business_program.exists %}
<li><a href="{{ event.get_permanent_url }}program/">{% trans 'Деловая программа' %}</a></li>
{% endif %}
{% include "client/includes/article/articles_in_event.html" with event=event news_list=news %}
</ul>
<dl class="add-info">
{% if event.organiser.all|length > 0 %}
<dt>{% trans 'Организатор' %}:</dt>
<dd>
{% with organisers=event.organiser.all %}
{% for organiser in organisers %}
{{ organiser.name }}<br />
{% endfor %}
{% endwith %}
</dd>
<div class="conf_members clearfix">
{% comment %}
<div class="im-participants">
{% with companies=event.company.all|slice:":6" %}
{% if companies %}
{# есть участники #}
<header>
<div class="im-title">{% trans 'Спикеры' %}</div>
<a class="more" href="{{ event.get_permanent_url }}members/">{% trans 'Все спикеры' %}</a>
</header>
<ul>
{% for company in companies %}
<li>
<a href="{{ company.get_permanent_url }}">
<span class="imp-pict">
{% with obj=company %}
{% include 'includes/show_logo.html' %}
{% endwith %}
</span>
{{ company.name }}
</a>
</li>
{% endfor %}
</ul>
{% else %}
{% if event.org %}
{% for item in event.org_split %}
<dt>{% if forloop.counter == 1 %}{% trans 'Организатор' %}:{% endif %}</dt>
{# нет участников #}
<header>
<div class="im-title">{% trans 'Спикеры' %}</div>
<p>{% trans 'Разместите информацию о ключевых спикерах' %}</p>
<p><a href="#pw-advertise" class="button icon-up pw-open" >{% trans 'Рекламировать спикера' %}</a></p>
<p><a href="#pw-event-news-subscribe" class="button icon-up pw-open" >{% trans 'Подписаться на новости' %}</a></p>
</header>
{% endif %}
{% endwith %}
</div>
{% endcomment %}
<dd>
{{ item }}
</dd>
{% endfor %}
<div class="conf_visitors">
{% with visitors=event.users.all|slice:":17" %}
<h3>{% trans 'Планируют быть на' %} {{ event.name }}</h3>
{% if visitors %}
{# есть посетители #}
<ul class="visitors-list">
{% for user in visitors %}
<li><a href="{{ user.get_permanent_url }}">{{ user.get_full_name }}&nbsp;{% if user.company %}({{ user.company.name }}){% endif %}</a></li>
{% endfor %}
</ul>
{% else %}
<p id="nobody" class=" mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}">{% trans 'Пока никто не отметился на событии.' %}</p>
{% endif %}
{% endif %}
{% if event.web_page %}
<dt>{% trans 'Веб-сайт' %}:</dt>
<dd>
<a target="_blank" href="#" data-type="href" data-hash="1qwer" data-url="{{ event.web_page|base64_encode }}" class="link-encode">{{ event.web_page }}</a>
</dd>
{% endif %}
{% if event.get_audience %}
<dt>{% trans 'Аудитория' %}:</dt>
<dd>
{{ event.get_audience }}
</dd>
{% endif %}
{% if event.get_periodic %}
<dt>{% trans 'Периодичность' %}:</dt>
<dd>{{ event.get_periodic }}</dd>
{% endif %}
{% if event.time %}
<dt>{% trans 'Время работы' %}:</dt>
<dd>{{ event.time|safe }}</dd>
{% endif %}
</dl>
{# <a id="somebody" class=" more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href="{{ event.get_permanent_url }}visitors/">{% trans 'Все посетители' %}</a>#}
{% endwith %}
{% with event=event user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
</div>
</div>
<div class="clearfix">
<hr />
{% include 'client/includes/banners/detail_inner.html' %}
<div class="conf_place">
<div class="place_detail">
<h3>{% trans 'Место проведения' %}</h3>
<h4><i class="fa fa-map-marker"></i> ЦВК «Экспоцентр», павильон 8</h4>
<div class="grey">Россия, Москва, отель Radysson Slavyanskaya Moscow <br> Экспозиционная площадь павильона №8 – 14 842 кв.м</div>
<p>Главное событие отрасли высоких технологий — 9-й Russian Interactive Week (RIW) — это место встреч, коммуникаций, обмена опытом и демонстрации достижений российской отрасли высоких технологий и инноваций. RIW — ежегодное осеннее выставочно- конференционное событие сразу четырех отраслей: Интернет, Телеком, Медиа, Софт. А с 2016 года в RIW активно</p>
<a class="button" href="#">{% trans 'подробнее' %}</a>
</div>
<div class="place_image">
<img src="{% static 'client/img/_del-temp/place.jpg' %}" alt="">
</div>
</div>
{% include "client/includes/article/articles_in_event.html" with event=event news_list=news %}
<hr />
{% comment %}
{% if event.members or event.visitors or event.foundation_year %}
<div class="e-num-info">
<div class="eni-stats">
{% if event.members %}
<div class="enis-item"><b>{{ event.members }}</b> {% trans 'участников' %}</div>
{% endif %}
{% if event.visitors %}
<div class="enis-item"><b>{{ event.visitors }}</b> {% trans 'посетителей' %}</div>
{% endif %}
{% if event.foundation_year %}
<div class="eni-founded">{% trans 'Основано в' %} <b>{{ event.foundation_year }}</b> {% trans 'году' %}</div>
{% endif %}
</div>
</div>
{% endif %}
{% endcomment %}
<div class="i-members clearfix">
<div class="im-participants">
{% with companies=event.company.all|slice:":6" %}
{% if companies %}
{# есть участники #}
<header>
<div class="im-title">{% trans 'Спикеры' %}</div>
<a class="more" href="{{ event.get_permanent_url }}members/">{% trans 'Все спикеры' %}</a>
</header>
<ul>
{% for company in companies %}
<li>
<a href="{{ company.get_permanent_url }}">
<span class="imp-pict">
{% with obj=company %}
{% include 'includes/show_logo.html' %}
{% endwith %}
</span>
{{ company.name }}
</a>
</li>
<div class="conf_comments">
<h2>{% trans 'Комментарии' %}</h2>
{% for comment in comments %}
<div class="comment">
<div class="comment_author">
{{ comment.user.get_full_name }} <time><i class="fa fa-calendar"></i> {{ comment.created }}</time>
</div>
<div class="comment_text">{{ comment.text }}</div>
<a href="#" data-parent="{{ comment.pk }}" class="reply_comment"><i class="fa fa-comment"></i> <span>{% trans "Ответить на комментарий" %}</span></a>
{% for answer in comment.childs %}
<div class="comment">
<div class="comment_author">
{{ answer.user.get_full_name }} <time><i class="fa fa-calendar"></i> {{ answer.created }}</time>
</div>
<div class="comment_text">{{ answer.text }}</div>
</div>
{% endfor %}
</ul>
</div>
{% endfor %}
{% if user.is_authenticated %}
<div class="сomment_form">
<form action="." method="post" id="comment_form">
{% csrf_token %}
{# {{ commentform.as_p }}#}
<p>
<label for="id_text">Сообщение:</label>
<textarea cols="40" id="id_text" name="text" rows="10"></textarea>
</p>
<button type="submit">Отправить</button>
</form>
</div>
{% else %}
{# нет участников #}
<header>
<div class="im-title">{% trans 'Спикеры' %}</div>
<p>{% trans 'Разместите информацию о ключевых спикерах' %}</p>
<p><a href="#pw-advertise" class="button icon-up pw-open" >{% trans 'Рекламировать спикера' %}</a></p>
<p><a href="#pw-event-news-subscribe" class="button icon-up pw-open" >{% trans 'Подписаться на новости' %}</a></p>
</header>
<p>{% trans 'Для отправки комментариев авторизуйтесь.' %}</p>
{% endif %}
{% endwith %}
</div>
<div class="im-visitors">
{% with visitors=event.users.all|slice:":17" %}
<header>
<div class="im-title">{% trans 'Посетители' %}</div>
</header>
<ul id="visitors-list">
{% if visitors %}
{# есть посетители #}
{% for user in visitors %}
{% if user == request.user %}
<li class="current"><a href="{{ user.get_permanent_url }}">{{ user.get_full_name }}&nbsp;{% if user.company %}({{ user.company.name }}){% endif %}</a></li>
{% else %}
<li><a href="{{ user.get_permanent_url }}">{{ user.get_full_name }}&nbsp;{% if user.company %}({{ user.company.name }}){% endif %}</a></li>
{% endif %}
{% endfor %}
{% endif %}
</ul>
<a id="somebody" class=" more mb-1em {% if visitors|length > 0 %}{%else%}hidden{% endif %}" href="{{ event.get_permanent_url }}visitors/">{% trans 'Все посетители' %}</a>
{% endwith %}
<p id="nobody" class=" mb-1em {% if event.users.all|length > 0 %}hidden{% else %}{% endif %}">{% trans 'Пока никто не отметился на событии.' %}</p>
{% with event=event user=user %}
{% include 'client/includes/visit_button.html' %}
{% endwith %}
</div>
</div>
<hr/>
{% if event.members or event.visitors or event.foundation_year %}
<div class="e-num-info">
<div class="eni-stats">
{% if event.members %}
<div class="enis-item"><b>{{ event.members }}</b> {% trans 'участников' %}</div>
{% endif %}
{% if event.visitors %}
<div class="enis-item"><b>{{ event.visitors }}</b> {% trans 'посетителей' %}</div>
{% endif %}
{% if event.foundation_year %}
<div class="eni-founded">{% trans 'Основано в' %} <b>{{ event.foundation_year }}</b> {% trans 'году' %}</div>
{% endif %}
</div>
</div>
{% endif %}
</div>
{% include 'client/includes/booking_block.html' with city=event.city place=event.place event=event %}
<hr />
{% if event.get_nearest_events %}
<div class="e-cat">
<div class="sect-title">{% trans 'Другие конференции, которые могут быть вам интересны' %}</div>
<ul class="cat-list cl-exhibitions">
{% for exp in event.get_nearest_events %}
<li class="cl-item">
<div class="cl-item-wrap clearfix">
<a href="{{ exp.get_permanent_url }}">
<div class="cli-pict">
{% with obj=exp %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
</div>
</a>
<div class="cli-info">
<div class="cli-top clearfix">
{% if exp.quality_label.rsva.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/rsva.jpg' %}" alt="" title="Approved Event" />
</div>
{% endif %}
{% if exp.quality_label.exporating.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/exporating_logo.png' %}" alt="" title="Approved Event" />
</div>
{% endif %}
{% if exp.quality_label.ufi.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/approved-logo.png' %}" alt="" title="Approved Event" />
</div>
{% endif %}
<header>
<div class="cli-title"><a href="{{ exp.get_permanent_url }}">{{ exp.name|safe }}</a></div>
</header>
<div class="cli-descr">
{{ exp.main_title|safe|linebreaks }}
{% if event.get_nearest_events %}
<div class="e-cat">
<div class="sect-title">{% trans 'Другие конференции, которые могут быть вам интересны' %}</div>
<ul class="cat-list cl-exhibitions">
{% for exp in event.get_nearest_events %}
<li class="cl-item">
<div class="cl-item-wrap clearfix">
<a href="{{ exp.get_permanent_url }}">
<div class="cli-pict">
{% with obj=exp %}
{% include 'client/includes/show_logo.html' %}
{% endwith %}
</div>
</a>
<div class="cli-info">
<div class="cli-top clearfix">
{% if exp.quality_label.rsva.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/rsva.jpg' %}" alt="" title="Approved Event" />
</div>
{% endif %}
{% if exp.quality_label.exporating.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/exporating_logo.png' %}" alt="" title="Approved Event" />
</div>
{% endif %}
{% if exp.quality_label.ufi.is_set %}
<div class="cli-approved">
<img width="52" height="42" src="{% static 'client/img/approved-logo.png' %}" alt="" title="Approved Event" />
</div>
{% endif %}
<header>
<div class="cli-title"><a href="{{ exp.get_permanent_url }}">{{ exp.name|safe }}</a></div>
</header>
<div class="cli-bot clearfix">
<div class="cli-date">
{% with obj=exp %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
<div class="cli-descr">
{{ exp.main_title|safe|linebreaks }}
</div>
<div class="cli-place">
<a href="{{ exp.country.get_permanent_url }}">{{ exp.country }}</a>, <a href="{{ exp.city.get_permanent_url }}">{{ exp.city }}</a>
{% if exp.place %}
, <a href="{{ exp.place.get_permanent_url }}">{{ exp.place }}</a>
{% endif %}
<div class="cli-bot clearfix">
<div class="cli-date">
{% with obj=exp %}
{% include 'client/includes/show_date_block.html' %}
{% endwith %}
</div>
<div class="cli-place">
<a href="{{ exp.country.get_permanent_url }}">{{ exp.country }}</a>, <a href="{{ exp.city.get_permanent_url }}">{{ exp.city }}</a>
{% if exp.place %}
, <a href="{{ exp.place.get_permanent_url }}">{{ exp.place }}</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</li>
{% endfor %}
<li><a class="button more" href="{{ event.get_nearest_events_url|safe }}">{% trans 'Смотреть все' %}</a></li>
</li>
{% endfor %}
<li><a class="button more" href="{{ event.get_nearest_events_url|safe }}">{% trans 'Смотреть все' %}</a></li>
</ul>
</div>
</ul>
</div>
{% endif %}
{% include 'client/includes/banners/detail_inner_3.html' %}
<div class="e-cat look-also">
@ -421,9 +506,9 @@
<a href="{{ event.catalog }}theme/{{ event.theme.all.0.url }}/city/{{ event.city.url }}/">{% trans "Конференции по тематике " %}&laquo;{{ event.theme.all.0.name|capfirst }}&raquo; {% if request.LANGUAGE_CODE == 'ru' and event.city.inflect %}{{ event.city.inflect }}{% else %}{% trans 'in' %} {{ event.city.name }}{% endif %}</a>
{% endif %}
</div>
{% endblock %}
{% block content_text %}
{% endblock %}
@ -466,7 +551,6 @@
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js"></script>
<script>
$(window).load(function(){
$('.speakers_slider').slick({
@ -492,7 +576,48 @@
// centerMode: true
focusOnSelect: true
});
});
var $comment_form = $('#comment_form');
$('.reply_comment').on('click', function (e) {
e.preventDefault();
console.log($(this).data('parent'));
var $parent = $('<input type="hidden" name="parent" value="' + $(this).data('parent') + '">');
$comment_form.append($parent);
});
$comment_form.on('submit', function (e) {
e.preventDefault();
$comment_form.find('.error').removeClass('error');
$.ajax({
url: $comment_form.attr('action'),
type: $comment_form.attr('method'),
data: $comment_form.serializeArray(),
beforeSend: function () {
$comment_form.find('button').attr('disabled', true);
},
success: function (response) {
console.log(response);
if (response.success){
$comment_form.find('[name="parent"]').remove();
$comment_form[0].reset();
}
if (response.errors){
$.each(response.errors, function (i, err) {
$comment_form.find('#id_' + i).addClass('error');
});
}
},
complete: function () {
$comment_form.find('button').attr('disabled', false);
}
});
});
</script>
{% endblock %}

Loading…
Cancel
Save