Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
S
sidekick
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Privat - Marco Schmiedel
sidekick
Commits
6c6e129c
Commit
6c6e129c
authored
Jun 27, 2022
by
Kevin Yumang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SERV-2286 - alert element WIP
parent
674529d4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
81 additions
and
1 deletion
+81
-1
Config.php
src/Views/Limitless/Alert/Config.php
+23
-0
Index.blade.php
src/Views/Limitless/Alert/Documentation/Index.blade.php
+54
-0
Config.php
src/Views/Limitless/Help/Config.php
+3
-0
Master.blade.php
src/Views/Limitless/Help/Layout/Master.blade.php
+1
-1
No files found.
src/Views/Limitless/Alert/Config.php
0 → 100644
View file @
6c6e129c
<?php
namespace
Ceetrox\Sidekick\Views\Limitless\Alert
;
use
View
;
class
Config
{
public
$methodAllocation
=
[
'Limitless::Alert'
=>
'alerts'
,
];
public
function
alerts
(
$parameters
)
{
return
View
(
'Limitless::Alert.Alert'
);
}
}
src/Views/Limitless/Alert/Documentation/Index.blade.php
0 → 100644
View file @
6c6e129c
{{
--
Layout
Reference
--
}}
@
extends
(
'Limitless::Help.Layout.Master'
)
@
section
(
'Limitless::Content'
)
{{
--
Description
--
}}
@
Limitless
::
ElementCardStart
([
'title'
=>
"Alert"
,
'icon'
=>
'icon-comments'
])
<
p
>
Popup
message
notifications
.</
p
>
@
Limitless
::
ElementCardStop
{{
--
Elements
--
}}
@
Limitless
::
ElementCardStart
([
'title'
=>
"Fragments"
,
'icon'
=>
'icon-grid5'
])
<
div
class
="
bg
-
dark
rounded
py
-
2
px
-
3
mb
-
3
">
<h6 class="
mb
-
0
font
-
weight
-
semibold
">fragment name here</h6>
<p class="
mb
-
3
text
-
muted
">description here</p>
<p class="
font
-
italic
font
-
size
-
lg
">Parameters</p>
<div class="
row
mt
-
2
">
@Limitless::TableStart([ 'extra' => ['class' => 'table table-xs table-striped'] ])
@Limitless::TableAutofillHeader([
['name' => 'Key'],
['name' => 'Type'],
['name' => 'Description']
])
@Limitless::TableAutofillBody([
[
['value' => 'param here'],
['value' => '<i>Array</i> [Default = <code>[]</code>]', 'secure' => false],
['value' => 'Description here']
]
])
@Limitless::TableStop
</div>
</div>
@Limitless::ElementCardStop
{{-- Sample Output --}}
@Limitless::ElementCardStart(['title' => "
Sample
Output
", 'icon' => 'icon-display4' ] )
sample output here
@Limitless::ElementCardStop
@php
$example
= base64_decode("");
@endphp
{{-- Sample Code --}}
@Limitless::ElementCardStart(['title' => "
Sample
Code
", 'icon' => 'icon-circle-code' ] )
@Limitless::Codemirror([ 'language' => 'javascript', 'theme' => 'zenburn', 'value' =>
$example
])
@Limitless::ElementCardStop
@stop
src/Views/Limitless/Help/Config.php
View file @
6c6e129c
...
...
@@ -51,6 +51,9 @@
case
"example"
:
$path
=
'Limitless::Element.Example.Documentation.Index'
;
break
;
case
"alerts"
:
$path
=
'Limitless::Alert.Documentation.Index'
;
break
;
case
"card"
:
$path
=
'Limitless::Element.Card.Documentation.Index'
;
break
;
...
...
src/Views/Limitless/Help/Layout/Master.blade.php
View file @
6c6e129c
...
...
@@ -27,6 +27,7 @@
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'/'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-home2'
,
'title'
=>
'Home'
])
@
Limitless
::
NavigationMenuSectionTitle
([
'title'
=>
'Elements'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=example'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-exclamation'
,
'title'
=>
'Example'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=alerts'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-comments'
,
'title'
=>
'Alerts'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=card'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-newspaper'
,
'title'
=>
'Card'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=codemirror'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-circle-code'
,
'title'
=>
'Code Mirror'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=divider'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-minus2'
,
'title'
=>
'Divider'
])
...
...
@@ -34,7 +35,6 @@
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=navigation'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-menu8'
,
'title'
=>
'Navigation'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=randomselect'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-shuffle'
,
'title'
=>
'Random Select'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=table'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-table2'
,
'title'
=>
'Table'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'?page=toastr'
,
'target'
=>
'_self'
,
'icon'
=>
'icon-comments'
,
'title'
=>
'Toastr'
])
@
Limitless
::
NavigationMenuSectionTitle
([
'title'
=>
'Icons'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'/ceetrox/sidekick/resource/public/Webdesigns/design-limitless/Template/layout_1/LTR/dark/full/icons_icomoon.html'
,
'target'
=>
'_blank'
,
'icon'
=>
'icon-file-picture'
,
'title'
=>
'Icomoon'
])
@
Limitless
::
NavigationMenuItem
([
'url'
=>
'/ceetrox/sidekick/resource/public/Webdesigns/design-limitless/Template/layout_1/LTR/dark/full/icons_material.html'
,
'target'
=>
'_blank'
,
'icon'
=>
'mi-photo'
,
'title'
=>
'Material'
])
...
...
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