Skip to content

Commit b388c58

Browse files
committed
git init
0 parents  commit b388c58

22 files changed

+1664
-0
lines changed

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
/.idea
2+
/vendor
3+
/node_modules
4+
package-lock.json
5+
composer.phar
6+
composer.lock
7+
phpunit.xml
8+
.phpunit.result.cache
9+
.DS_Store
10+
Thumbs.db

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "bambamboole/nova-settings",
3+
"description": "A Laravel Nova tool.",
4+
"keywords": [
5+
"laravel",
6+
"nova"
7+
],
8+
"license": "MIT",
9+
"require": {
10+
"php": ">=7.1.0"
11+
},
12+
"autoload": {
13+
"psr-4": {
14+
"Bambamboole\\NovaSettings\\": "src/"
15+
}
16+
},
17+
"extra": {
18+
"laravel": {
19+
"providers": [
20+
"Bambamboole\\NovaSettings\\ToolServiceProvider"
21+
]
22+
}
23+
},
24+
"config": {
25+
"sort-packages": true
26+
},
27+
"minimum-stability": "dev",
28+
"prefer-stable": true
29+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?php
2+
3+
use Illuminate\Support\Facades\Schema;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Database\Migrations\Migration;
6+
7+
class CreateNovaSettingsTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::create('nova_settings', function (Blueprint $table) {
17+
$table->bigIncrements('id');
18+
$table->string('name');
19+
$table->string('slug')->unique();
20+
$table->string('type');
21+
$table->text('description');
22+
$table->text('value')->nullable();
23+
$table->timestamps();
24+
});
25+
}
26+
27+
/**
28+
* Reverse the migrations.
29+
*
30+
* @return void
31+
*/
32+
public function down()
33+
{
34+
Schema::dropIfExists('nova_settings');
35+
}
36+
}

dist/css/tool.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.vue-tablist {
2+
list-style: none;
3+
display: -webkit-box;
4+
display: -ms-flexbox;
5+
display: flex;
6+
padding-left: 0;
7+
border-bottom: 1px solid #e2e2e2;
8+
}
9+
10+
.vue-tab {
11+
padding: 5px 10px;
12+
cursor: pointer;
13+
-webkit-user-select: none;
14+
-moz-user-select: none;
15+
-ms-user-select: none;
16+
user-select: none;
17+
border: 1px solid transparent;
18+
border-bottom-color: #e2e2e2;
19+
border-radius: 3px 3px 0 0;
20+
background-color: white;
21+
position: relative;
22+
bottom: -1px;
23+
}
24+
25+
.vue-tab[aria-selected="true"] {
26+
border-color: #e2e2e2;
27+
border-bottom-color: transparent;
28+
}
29+
30+
.vue-tab[aria-disabled="true"] {
31+
cursor: not-allowed;
32+
color: #999;
33+
}
34+
35+

0 commit comments

Comments
 (0)