diff --git a/src/Squidex/app/features/settings/pages/clients/client.component.html b/src/Squidex/app/features/settings/pages/clients/client.component.html index 44e31cad2..1aa25b07a 100644 --- a/src/Squidex/app/features/settings/pages/clients/client.component.html +++ b/src/Squidex/app/features/settings/pages/clients/client.component.html @@ -1,7 +1,7 @@ -
-
-
-
+
+
+
+
@@ -24,59 +24,64 @@
-
-
- -
-
- -
-
-
-
- Client Id: -
-
- -
-
- -
-
-
-
- Client Secret: -
-
- -
-
- +
+ +
+
+ +
-
-
- Role: -
-
- -
-
+
+
+
+ +
+ +
+
+ +
+
+
+ +
+ +
+
+ +
+
+
+ +
+ +
+
+
+ + Connect diff --git a/src/Squidex/app/features/settings/pages/clients/client.component.scss b/src/Squidex/app/features/settings/pages/clients/client.component.scss index c5ee82cc1..1438298e4 100644 --- a/src/Squidex/app/features/settings/pages/clients/client.component.scss +++ b/src/Squidex/app/features/settings/pages/clients/client.component.scss @@ -3,6 +3,26 @@ $color-editor: #eceeef; +.card { + & { + @include border-radius(0); + border-bottom-width: 2px; + border-top-width: 1px; + } + + &-header { + & { + margin-bottom: .5rem; + } + + &:hover { + .client-edit { + display: inline-block; + } + } + } +} + .client { &-info { margin: 0; @@ -34,30 +54,15 @@ $color-editor: #eceeef; display: inline-block; margin: 0; } - - &-header { - & { - margin-bottom: .5rem; - } - - &:hover { - .client-edit { - display: inline-block; - } - } - } } -.col-form-label { - text-align: left; -} - -.form-check { - padding: .5rem 0 0; +.cell-actions { + width: 3.2rem; + padding: 0; } -.form-check-label { - padding: 0; +.cell-input { + padding-right: 0; } .access-token { diff --git a/tools/Migrate_01/Migrations/ConvertRuleEventsJson.cs b/tools/Migrate_01/Migrations/ConvertRuleEventsJson.cs index b543acddf..4a287e975 100644 --- a/tools/Migrate_01/Migrations/ConvertRuleEventsJson.cs +++ b/tools/Migrate_01/Migrations/ConvertRuleEventsJson.cs @@ -25,11 +25,18 @@ namespace Migrate_01.Migrations { foreach (var document in collection.Find(new BsonDocument()).ToEnumerable()) { - document["Job"]["actionData"] = document["Job"]["actionData"].ToBsonDocument().ToJson(); + try + { + document["Job"]["actionData"] = document["Job"]["actionData"].ToBsonDocument().ToJson(); - var filter = Builders.Filter.Eq("_id", document["_id"].ToString()); + var filter = Builders.Filter.Eq("_id", document["_id"].ToString()); - await collection.ReplaceOneAsync(filter, document); + await collection.ReplaceOneAsync(filter, document); + } + catch + { + continue; + } } } }