mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #7040 from overleaf/jpa-project-url-lookup
[web] add admin-only page for looking up projects by common URL patterns GitOrigin-RevId: 988b64f3b5888f2154be0592abf3e31f5fbedc37
This commit is contained in:
parent
c881829e04
commit
34627b98a2
4 changed files with 21 additions and 0 deletions
|
@ -36,6 +36,8 @@ nav.navbar.navbar-default.navbar-main
|
|||
a(href="/admin") Manage Site
|
||||
li
|
||||
a(href="/admin/user") Manage Users
|
||||
li
|
||||
a(href="/admin/project") Project URL Lookup
|
||||
if canDisplaySplitTestMenu
|
||||
li
|
||||
a(href="/admin/split-test") Manage Split Tests
|
||||
|
|
|
@ -25,6 +25,8 @@ nav.navbar.navbar-default.navbar-main
|
|||
a(href="/admin") Manage Site
|
||||
li
|
||||
a(href="/admin/user") Manage Users
|
||||
li
|
||||
a(href="/admin/project") Project URL Lookup
|
||||
if canDisplaySplitTestMenu
|
||||
li
|
||||
a(href="/admin/split-test") Manage Split Tests
|
||||
|
|
|
@ -100,6 +100,7 @@
|
|||
@import 'app/metrics.less';
|
||||
@import 'app/open-in-overleaf.less';
|
||||
@import 'app/primary-email-check';
|
||||
@import 'app/project-url-lookup';
|
||||
|
||||
// module styles
|
||||
// TODO: find a way for modules to add styles dynamically
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
.project-url-lookup-results {
|
||||
margin-top: @line-height-computed;
|
||||
}
|
||||
|
||||
.project-url-lookup-link-box {
|
||||
background-color: @gray-lightest;
|
||||
border: 1px solid @gray-lighter;
|
||||
padding: 6px 12px 6px 12px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.project-url-lookup-hint {
|
||||
padding: @line-height-computed / 4;
|
||||
}
|
Loading…
Reference in a new issue