Update 2022_09_22_123137_link-type.php
This commit is contained in:
parent
cfe44190c6
commit
9fc837c09b
|
@ -56,11 +56,18 @@ class LinkType extends Migration
|
||||||
|
|
||||||
public function SeedLinkTypes() {
|
public function SeedLinkTypes() {
|
||||||
|
|
||||||
|
DB::table($this->TableName)->updateOrInsert([
|
||||||
|
'typename' => 'predefined',
|
||||||
|
'title' => 'Predefined Site',
|
||||||
|
'icon' => 'bi bi-boxes',
|
||||||
|
'description' => 'Select from a list of predefined websites and have your link automatically styled using that sites brand colors and icon.'
|
||||||
|
]);
|
||||||
|
|
||||||
DB::table($this->TableName)->updateOrInsert([
|
DB::table($this->TableName)->updateOrInsert([
|
||||||
'typename' => 'link',
|
'typename' => 'link',
|
||||||
'title' => 'Custom Link',
|
'title' => 'Custom Link',
|
||||||
'icon' => 'bi bi-link',
|
'icon' => 'bi bi-link',
|
||||||
'description' => 'Create a Custom Button that goes to any website. ',
|
'description' => 'Create a Custom Link that goes to any website. Customize the button styling and icon, or use the favicon from the website as the button icon.',
|
||||||
'params' => '[{
|
'params' => '[{
|
||||||
"tag": "input",
|
"tag": "input",
|
||||||
"id": "link_title",
|
"id": "link_title",
|
||||||
|
@ -86,13 +93,6 @@ class LinkType extends Migration
|
||||||
]'
|
]'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
DB::table($this->TableName)->updateOrInsert([
|
|
||||||
'typename' => 'predefined',
|
|
||||||
'title' => 'Predefined Site',
|
|
||||||
'icon' => 'bi bi-boxes',
|
|
||||||
'description' => 'Select from a list of predefined websites and have your link automatically styled using that sites brand colors and icon.'
|
|
||||||
]);
|
|
||||||
|
|
||||||
DB::table($this->TableName)->updateOrInsert([
|
DB::table($this->TableName)->updateOrInsert([
|
||||||
'typename' => 'heading',
|
'typename' => 'heading',
|
||||||
'title' => 'Heading',
|
'title' => 'Heading',
|
||||||
|
|
Loading…
Reference in New Issue