Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !5754

Closed
Created 11 years ago by Administrator@rootOwner
  • Report abuse
Report abuse

Rework clone panel.

  • Overview 14
  • Commits 1
  • Changes 6

Created by: ghost

Restyle the clone-panel to make buttons look more button-like. Don’t “SSH” button when there is not a user logged in.

This is an extension of PR #5725. This meets the suggestion from http://feedback.gitlab.com/forums/176466-general/suggestions/4968567-correct-url-to-pull-puplic-repos-anonymously-on-pr to only show the "HTTP" option when a user is not logged in.

I have also changed the styling a bit to make the button look more like buttons. I also removed the bold from the selected as it caused resizing of the buttons when the selection changed (due to font width bold vs normal).

This also changes the cursor over the clone URL field to the regular pointer rather than the bootstrap restricted which is applied for readonly fields. I couldn't capture that, as the OS doesn't have the functionality, but it does work.

Here are some captures of the new look.

HTTP selected

http-selected

SSH selected

ssh-selected

Public project with no user logged in

no-ssh

Old HTTP selected

old-http-selected

Old SSH selected

old-ssh-selected

If you look at the old captures, you can see the size of the clone panel has changed slightly.

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
Assign to
0 Reviewers
Request review from
Milestone
No milestone
None
None
Time tracking
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
participants
Reference:
Source branch: fix/hide-ssh-for-public

    0 pending comments