Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
4d1b16d0
Commit
4d1b16d0
authored
Apr 25, 2016
by
Shakarim Sapa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Изменены стили для формы подписки
parent
c05f0df6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
common/modules/blog/views/post/_subscribe.php
common/modules/blog/views/post/_subscribe.php
+2
-2
frontend/web/css/custom.css
frontend/web/css/custom.css
+6
-9
No files found.
common/modules/blog/views/post/_subscribe.php
View file @
4d1b16d0
...
...
@@ -21,7 +21,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
'action'
=>
'/blog/blog-bid/add'
,
'enableClientValidation'
=>
false
,
'options'
=>
[
'class'
=>
'
blog-bid
-form'
,
'class'
=>
'
subsc_blog_form blog-bids
-form'
,
'data-title'
=>
$title
,
'data-form'
=>
'Подпись на обновления в блоге'
],
...
...
@@ -53,7 +53,7 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
</div>
<script
type=
'text/javascript'
>
$
(
'
form.blog-bid-form
'
).
on
(
'
beforeSubmit
'
,
function
(
e
)
{
$
(
'
form.blog-bid
s
-form
'
).
on
(
'
beforeSubmit
'
,
function
(
e
)
{
var
form
=
$
(
this
),
xhr
=
new
XMLHttpRequest
,
filebool
=
false
,
file
,
data
=
new
FormData
();
form
.
find
(
'
input, textarea
'
).
each
(
function
(){
...
...
frontend/web/css/custom.css
View file @
4d1b16d0
...
...
@@ -653,9 +653,7 @@ color: #fff;
.bids-form
input
,
.bids-form
textarea
,
.blog-bid-form
input
,
.blog-bid-form
textarea
{
.bids-form
textarea
{
margin-bottom
:
9px
;
}
.field-bid-file
{
...
...
@@ -720,8 +718,7 @@ a.login_form_link, a.login_form_popup_link, a.reg_popup_link, a.reg_form_link{
margin-top
:
10px
;
}
.subsc_form
input
,
.subsc_blog_form
input
,
.blog-bid-form
input
{
.subsc_blog_form
input
{
display
:
block
;
width
:
273px
;
height
:
49px
;
...
...
@@ -860,7 +857,7 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
.article_short_tags
{
margin-bottom
:
14px
;
}
.bids-form
.message-box
,
.blog-bid-form
.message-box
{
.bids-form
.message-box
{
position
:
absolute
;
z-index
:
110
;
text-align
:
center
;
...
...
@@ -871,12 +868,12 @@ a.toggle_bottom:hover .icon-arrowDown2:after, a.toggle_bottom:active .icon-arrow
display
:
none
;
line-height
:
30px
;
}
.bids-form
.message-box.callback
,
.blog-bid-form
.message-box.callback
{
.bids-form
.message-box.callback
{
width
:
300px
;
margin-left
:
-150px
;
margin-top
:
20px
;
}
.subsc_blog_form
,
.blog-bid-form
{
.subsc_blog_form
{
position
:
relative
;
}
.testing_img_block
img
{
...
...
@@ -1766,7 +1763,7 @@ a.keys_test_btn {
.sidebar_btn
:last-child
{
margin-bottom
:
18px
;
}
.subsc_form
input
,
.subsc_blog_form
input
,
.blog-bid-form
input
{
.subsc_form
input
,
.subsc_blog_form
input
{
width
:
100%
;
}
pre
code
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment