BigW Consortium Gitlab

Commit 9fa65125 by Mike Greiling

update design of wiki git access page

parent 48f4f76c
......@@ -8,10 +8,6 @@
.top-area {
position: relative;
&.sub-header-block {
padding-right: 40px;
}
button.sidebar-toggle {
position: absolute;
right: 0;
......@@ -24,10 +20,7 @@
}
@media (min-width: $screen-md-min) {
&,
&.sub-header-block {
padding-right: 0;
}
button.sidebar-toggle {
display: none;
......@@ -35,6 +28,37 @@
}
}
.wiki-page-header {
@extend .top-area;
.git-access-header {
padding: 16px 0 11px;
line-height: 28px;
font-size: 18px;
}
.git-clone-holder {
width: 480px;
padding-bottom: 40px;
}
@media (max-width: $screen-xs-max) {
.git-clone-holder {
width: 100%;
}
}
}
.wiki-git-access {
margin: $gl-padding 0;
h3 {
font-size: 22px;
font-weight: normal;
margin-top: 1.4em;
}
}
.right-sidebar.wiki-sidebar {
padding: $gl-padding 0;
......
......@@ -2,31 +2,29 @@
- page_title "Git Access", "Wiki"
%div{ class: container_class }
.top-area.sub-header-block
.wiki-page-header
%button.btn.btn-default.visible-xs.visible-sm.pull-right.sidebar-toggle.js-sidebar-wiki-toggle{ role: "button", type: "button" }
= icon('angle-double-left')
%span.oneline
Git access for
.git-access-header
Clone repository
%strong= @project_wiki.path_with_namespace
.pull-right
= render "shared/clone_panel", project: @project_wiki
.prepend-top-default
%fieldset
%legend Install Gollum:
.wiki-git-access
%h3 Install Gollum
%pre.dark
:preserve
gem install gollum
%legend Clone Your Wiki:
%h3 Clone your wiki
%pre.dark
:preserve
git clone #{ content_tag(:span, default_url_to_repo(@project_wiki), class: 'clone')}
cd #{h @project_wiki.path}
%legend Start Gollum And Edit Locally:
%h3 Start Gollum and edit locally
%pre.dark
:preserve
gollum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment