File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -3169,7 +3169,7 @@ $DASHBOARD_CARD_MIN_WIDTH: 25;
3169
3169
=============================================================
3170
3170
*/
3171
3171
3172
- #nh_show_license, #nh_portal_license {
3172
+ #nh_show_license {
3173
3173
.status {
3174
3174
@include text("xs");
3175
3175
svg {
@@ -3267,12 +3267,39 @@ $DASHBOARD_CARD_MIN_WIDTH: 25;
3267
3267
}
3268
3268
3269
3269
#nh_portal_license {
3270
+ .status {
3271
+ @include text("xs");
3272
+ svg {
3273
+ @include mr(1);
3274
+ width: 1rem;
3275
+ }
3276
+ &.success {
3277
+ color: $SUCCESS_ALT;
3278
+ svg {
3279
+ fill: $SUCCESS_ALT;
3280
+ stroke: $SUCCESS_ALT;
3281
+ }
3282
+ }
3283
+ &.error {
3284
+ color: $ERROR_BG;
3285
+ svg {
3286
+ fill: $ERROR_BG;
3287
+ stroke: $ERROR_BG;
3288
+ }
3289
+ }
3290
+ }
3291
+
3292
+
3270
3293
* , *:before, *:after {
3271
3294
box-sizing: border-box;
3272
3295
}
3273
3296
.license-text {
3274
3297
overflow: auto;
3275
3298
}
3299
+ .btn-section {
3300
+ align-self: flex-start;
3301
+ flex: unset;
3302
+ }
3276
3303
}
3277
3304
3278
3305
/*
Original file line number Diff line number Diff line change 29
29
< p class ="card-label "> A license agreement (already signed by you)</ p >
30
30
<% end %>
31
31
32
+ < br >
33
+
32
34
< div class ="card-text license-text ">
33
35
<% content = File . read ( Rails . root + "public/licenses/#{ @license } .html" ) rescue "(Error fetching license text)" %>
34
36
<% content . gsub! ( /<input\s /i , "<INPUT DISABLED CHECKED " ) if is_signed %>
You can’t perform that action at this time.
0 commit comments