Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
e1ba4844
Commit
e1ba4844
authored
Mar 25, 2016
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Библиотека: поправил описание Алертов, добавил разметку в папку компонента
parent
e59d343c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
4 deletions
+42
-4
alert.html
src/blocks/alert/alert.html
+41
-3
blocks_library.html
src/blocks_library.html
+1
-1
No files found.
src/blocks/alert/alert.html
View file @
e1ba4844
<!--DEV
<!--DEV
Нужно убрать пробел между @-ами:
<div class="alert">
<h1 class="alert__header">Нейтральное сообщение</h1>
<p>...</p>
</div>
@ @include('blocks/alert/alert.html')
<div class="alert alert--danger">
<h1 class="alert__header">Внимание, опасность, отказ</h1>
<p>...</p>
</div>
<div class="alert alert--success">
<h1 class="alert__header">Успешное действие</h1>
<p>...</p>
</div>
<div class="alert alert--danger-invert">
<h1 class="alert__header">Внимание, опасность, отказ</h1>
<p>...</p>
</div>
<div class="alert alert--success-invert">
<h1 class="alert__header">Успешное действие</h1>
<p>...</p>
</div>
<div class="alert alert--icon">
<div class="alert__icon">
<svg width="3em" height="3em" fill="currentColor"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#block-library-camera"></use></svg>
</div>
<div class="alert__content">
...
</div>
</div>
<div class="alert alert--icon">
<div class="alert__content">
...
</div>
<div class="alert__icon">
<svg width="3em" height="3em" fill="currentColor"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#block-library-camera"></use></svg>
</div>
</div>
-->
-->
<div
class=
"alert"
>
content
</div>
src/blocks_library.html
View file @
e1ba4844
...
@@ -4714,7 +4714,7 @@
...
@@ -4714,7 +4714,7 @@
<code
class=
"html"
>
<
h1 class=
"
alert__header
">
Внимание, опасность, отказ
<
/h1
>
<
!--
Необязательный
заголовок
--
>
</code>
<code
class=
"html"
>
<
h1 class=
"
alert__header
">
Внимание, опасность, отказ
<
/h1
>
<
!--
Необязательный
заголовок
--
>
</code>
<code
class=
"html"
>
<
p
>
...
<
/p
>
</code>
<code
class=
"html"
>
<
p
>
...
<
/p
>
</code>
<code
class=
"html"
>
<
/div
>
</code>
<code
class=
"html"
>
<
/div
>
</code>
<code
class=
"html"
></code>
<code
class=
"html"
>
</code>
<code
class=
"html"
>
<
div class=
"
alert alert--success
">
</code>
<code
class=
"html"
>
<
div class=
"
alert alert--success
">
</code>
<code
class=
"html"
>
<
h1 class=
"
alert__header
">
Успешное действие
<
/h1
>
<
!--
Необязательный
заголовок
--
>
</code>
<code
class=
"html"
>
<
h1 class=
"
alert__header
">
Успешное действие
<
/h1
>
<
!--
Необязательный
заголовок
--
>
</code>
<code
class=
"html"
>
<
p
>
...
<
/p
>
</code>
<code
class=
"html"
>
<
p
>
...
<
/p
>
</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