diff --git a/compass/public/assets/map.css b/compass/public/assets/map.css index 398df61..5b08fbe 100644 --- a/compass/public/assets/map.css +++ b/compass/public/assets/map.css @@ -15,8 +15,8 @@ html, body { right: 10px; border: 3px #888 solid; background: white; - font-size: 14px; - line-height: 20px; + font-size: 12px; + line-height: 18px; } #calendar #controls { position: absolute; @@ -25,7 +25,7 @@ html, body { background: white; } #calendar .scroll { - overflow: scroll; + overflow: scroll; height: 100%; } diff --git a/compass/public/assets/styles.css b/compass/public/assets/styles.css index ca246bd..c010fb6 100644 --- a/compass/public/assets/styles.css +++ b/compass/public/assets/styles.css @@ -43,6 +43,9 @@ margin: 60px auto 0 auto; padding: 0 10px; } +.dashboard .show-api-endpoint { + font-weight: normal; +} .databases { list-style-type: none; @@ -70,7 +73,6 @@ margin-bottom: 4px; } - .users { list-style-type: none; margin: 0; @@ -84,9 +86,12 @@ } .users .remove-user { left: -18px; - margin-top: -6px; text-decoration: none; font-size: 22px; position: absolute; padding-right: 12px; } + +.hidden { + display: none; +} diff --git a/compass/resources/views/layouts/map.blade.php b/compass/resources/views/layouts/map.blade.php index 24624f0..f419f66 100644 --- a/compass/resources/views/layouts/map.blade.php +++ b/compass/resources/views/layouts/map.blade.php @@ -3,7 +3,7 @@ Compass - + @@ -24,4 +24,4 @@ - \ No newline at end of file + diff --git a/compass/resources/views/layouts/master.blade.php b/compass/resources/views/layouts/master.blade.php index 23a8f0a..00f7104 100644 --- a/compass/resources/views/layouts/master.blade.php +++ b/compass/resources/views/layouts/master.blade.php @@ -3,7 +3,7 @@ Compass - + @@ -14,4 +14,4 @@ @yield('content') - \ No newline at end of file + diff --git a/compass/resources/views/settings.blade.php b/compass/resources/views/settings.blade.php index 25e7d06..665c299 100644 --- a/compass/resources/views/settings.blade.php +++ b/compass/resources/views/settings.blade.php @@ -6,21 +6,28 @@
-

Database

- -
-

Read Token

-
{{ $database->read_token }}
-
- - @if ($database->created_by == session('user_id')) -
-

Write Token

-
{{ $database->write_token }}
-
- @endif - -
+

Database: {{ $database->name }}

+ +
+
+ + +
+ + @if ($database->created_by == session('user_id')) +
+ + +
+ + + @endif +
+ +

Users with Access

    @@ -38,9 +45,11 @@
    {{ session('create-error') }}
    @endif -
    - - + +
    + + +
    @@ -50,21 +59,23 @@

    -

    Micropub Export

    +

    Realtime Micropub Export

    Enter a Micropub endpoint and token below and any trips that are written to this database will be sent to the endpoint as well.

    -
    -
    + +
    +
    +
    +
    - -
    +
    @@ -85,6 +96,9 @@ jQuery(function($){ }); return false; }); + $(".show-api-endpoint").click(function(){ + $(".api-endpoint").removeClass("hidden"); + }); }); @endsection