Commit Graph
39 Commits
Author SHA1 Message Date
Phil HughesandJacob Schatz dca50ac1d4 Project dropdown in header uses new dropdown 2016-04-12 13:10:43 -04:00
Phil Hughes b4f97b93a9 Fixes issue with signin button overflowing on mobile
Closes #14477
2016-03-22 13:56:07 +00:00
Douwe Maan 2eb19ea3ea Merge branch 'master' into issue_12658 2016-03-20 14:57:25 +01:00
Robert Speicher 6048910aee Prevent a 500 when a repository's root_ref is nil
Closes #14259
2016-03-17 13:46:17 -04:00
Felipe Artur c3e70280df Prevent projects to have higher visibility than groups
Prevent Groups to have smaller visibility than projects
Add default_group_visibility_level to configuration
Code improvements
2016-03-10 10:38:36 -03:00
Dmitriy Zaporozhets 4c8721b25a Refactor UI header for logged out users
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-01 19:31:52 +01:00
Dmitriy Zaporozhets c9a8f2a03e Enable search for logged-out users
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-03-01 15:57:28 +01:00
Douglas Barbosa Alexandre 3d52e139b1 Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
Douglas Barbosa Alexandre a57bf9bd39 Rename menu item and page 'Task queue' to 'Tasks' 2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre 38026e5f77 Add pending tasks badge on top right next to the new and logout button 2016-02-20 12:10:26 -02:00
Jacob Schatz 7377abf84a Simplifies the HAML if statement for project branch URL 2016-01-20 10:50:26 -05:00
Jacob Schatz f1b4f20c75 Fix HTML so code passes
Code was failing because branch was named `'test'` with quotes
which was escaping the javascript I was using.
2016-01-20 02:09:19 -05:00
Jacob Schatz 70e59035c0 Fix project find url so branch ref is not nil
Also adds autocomplete="off" to find input.
2016-01-19 21:39:48 -05:00
Jacob Schatz 4784695860 Proper spacing in HAML file if statement. 2016-01-19 15:04:12 -05:00
Jacob Schatz 60dbc4f687 Removes defined? in favor to just if 2016-01-19 14:38:45 -05:00
Jacob Schatz ecbb8d73eb Add reference to the correct branch.
sometimes `@ref` will be `nil`.
this makes sure that the correct branch is passed in.
2016-01-19 14:37:00 -05:00
Jacob Schatz 34564296d0 Adds t as a shortcut for find file anywhere 2016-01-19 14:25:27 -05:00
Douwe Maan 4f7380f94e Fix header tooltip alignment 2015-12-02 14:05:58 +01:00
Dmitriy Zaporozhets aec9f211e5 Merge branch 'impersonate' into 'master'
refactor login as to be impersonation with better login/logout

Modifies the existing "login as" feature to be called impersonation.

This also adds:

* Application keep track of who is impersonating the user so they can revert back to the original user without having to log out.
* Stores the user profile via `HTTP_REFERER` so you get redirected back to the person you have impersonated once you stop.

## Screenshots:

![](http://sindacio.us/i/2015-10-28_17-52-41.png)
![](http://sindacio.us/i/2015-10-28_17-53-08.png)

See merge request !1702
2015-11-14 09:04:10 +00:00
Yorick Peterse cdaa97443e Added navigation link to Sherlock 2015-11-09 14:29:10 +01:00
James Newton 3bb626f91c refactor login as to be impersonation with better login/logout
Modifies the existing "login as" feature to be called impersonation, as
well as keeping track of who is impersonating to revert back to that
user without having to log out.
2015-10-29 11:00:17 +01:00
Dmitriy Zaporozhets 3e97de838c Hide search panel for group page if you dont have access 2015-09-14 15:01:04 +02:00
Dmitriy Zaporozhets b7427faa49 Improve starred and trending pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-03 19:07:23 +02:00
Dmitriy Zaporozhets 6fb7311e6e Fix home page for mobile devices
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-02 22:28:40 +02:00
Dmitriy Zaporozhets c5786649c9 Keep header fluid for big res
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-09-02 21:57:33 +02:00
Dmitriy Zaporozhets 468d29251d Fix header for anonymous users too
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-26 16:00:37 +02:00
Dmitriy Zaporozhets 2fa560d658 Align header with content container
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-26 13:16:43 +02:00
Dmitriy Zaporozhets 0276e9032a Limit content width for big screens except certain pages
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-26 11:51:28 +02:00
Dmitriy Zaporozhets b1c1a3d3cc Refactor sidebar navigation for dashboard
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-20 10:59:05 +02:00
Dmitriy Zaporozhets 615257b91c Merge branch 'animation-sidebar' into 'master'
Animation of Sidebar (video in here)

Edited the CSS of header and sidebar; added a new div of gitlab-logo-container to the html to make things easier.

The transition-duration is set to 0.3s and when the nav bar expands, it opens up over the text, essentially revealing hidden text.

[animation-sidebar-2.mov](https://gitlab.com/gitlab-org/gitlab-ce/uploads/b15996a256d6bed03a19c68549d116e4/animation-sidebar-2.mov)

/cc @JobV @nicolas2

See merge request !849
2015-06-23 08:53:31 +00:00
Darby 9209f43b32 Edited the CSS of header and sidebar; added a new class of logo-container to the html to make things easier 2015-06-19 09:54:26 -07:00
Dmitriy Zaporozhets f5e0e5c0a3 Replace old logo with new one
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-19 16:59:16 +02:00
Robert Speicher 09b4e11d26 Bootlint: Add missing type attribute for buttons 2015-06-16 13:33:48 -04:00
Nicolas d8209aebdc Fix layout issue in header title truncation. 2015-06-16 04:16:26 +02:00
Dmitriy Zaporozhets ebaa1e5a89 Fix header for mobiles
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-08 16:34:07 +02:00
Dmitriy Zaporozhets 61a3cd6351 Move logout buttom to top right corner
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-08 15:50:26 +02:00
Dmitriy Zaporozhets 8d2996fe0e Fix empty header
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-05 12:08:43 +02:00
Dmitriy Zaporozhets 01f6ae2351 improve navbar collapse for mobile views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-01 17:55:20 +02:00
Dmitriy Zaporozhets e7e07fab5d Refactor header views
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-01 17:09:30 +02:00