diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss
index 41ff821..cf4267b 100644
--- a/app/assets/stylesheets/layout.scss
+++ b/app/assets/stylesheets/layout.scss
@@ -22,20 +22,15 @@
span.project-name {
display: none;
- // font-size: .5em;
- // text-transform: none;
- // vertical-align: super;
}
- span.beta {
- font-size: .5em;
- font-style: italic;
- text-transform: none;
- vertical-align: super;
- }
+ span.icon {
+ svg {
+ height: 1.8rem;
+ width: auto;
+ }
- span.bolt {
- color: #ffd000;
+ margin-right: 0.5rem;
}
}
@@ -123,19 +118,35 @@ main {
}
}
- th, td {
- line-height: 1.5rem;
- padding-right: 1rem;
- }
-
section {
- border-bottom: 1px dotted #ccc;
padding-bottom: 3rem;
margin-bottom: 3rem;
- @include media-max(small) {
- padding-bottom: 3rem;
- margin-bottom: 3rem;
+ &:not(:last-of-type) {
+ border-bottom: 1px dotted #ccc;
+ }
+ }
+
+ table {
+ width: 100%;
+
+ th, td {
+ line-height: 1.5rem;
+ padding-right: 1rem;
+
+ &.hide-small {
+ @include media-max(small) {
+ display: none;
+ }
+ }
+ }
+
+ th {
+ color: $text-color-discreet;
+ font-weight: normal;
+ text-transform: uppercase;
+ font-size: 0.85rem;
+ padding-bottom: 0.5rem;
}
}
diff --git a/app/assets/stylesheets/main_nav.scss b/app/assets/stylesheets/main_nav.scss
index eaa1756..b3615b0 100644
--- a/app/assets/stylesheets/main_nav.scss
+++ b/app/assets/stylesheets/main_nav.scss
@@ -16,7 +16,7 @@
@include media-max(large) {
display: grid;
grid-template-columns: repeat(1fr);
- grid-template-columns: 1fr 1fr 1fr;
+ grid-template-columns: 1fr 1fr 1fr 1fr;
}
li {
@@ -41,6 +41,10 @@
padding-right: 0;
}
+ @include media-max(small) {
+ font-size: 0.85rem;
+ }
+
&.active {
color: $text-color-body;
border-bottom: 2px solid #ffd000;
diff --git a/app/controllers/security_controller.rb b/app/controllers/security_controller.rb
new file mode 100644
index 0000000..358cd0d
--- /dev/null
+++ b/app/controllers/security_controller.rb
@@ -0,0 +1,7 @@
+class SecurityController < ApplicationController
+ before_action :require_user_signed_in
+
+ def index
+ @current_section = :security
+ end
+end
diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb
index 528ff15..d0261fa 100644
--- a/app/views/dashboard/index.html.erb
+++ b/app/views/dashboard/index.html.erb
@@ -37,12 +37,3 @@
-
-
- <%= form_with(url: settings_reset_password_path, method: :post) do %>
- <%= submit_tag("Send me a password reset link") %>
- <% end %>
- Password change
-
URL | +Accepted | Invited user |
---|---|---|
<%= invitation_url(invitation.token) %> | +<%= invitation.used_at.strftime("%Y-%m-%d") %> | <%= User.find(invitation.invited_user_id).address %> |