Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_badge.html.haml « pipelines_settings « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3de518c8b9aab2395d342b6e470499683087ab15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%div{ class: badge.title.gsub(' ', '-') }
  .col-lg-4.profile-settings-sidebar
    %h4.prepend-top-0
      = badge.title.capitalize
  .col-lg-8
    .prepend-top-10
      .panel.panel-default
        .panel-heading
          %b
            = badge.title.capitalize
            ·
          = badge.to_html
          .pull-right
            = render 'shared/ref_switcher', destination: 'badges', align_right: true
        .panel-body
          .row
            .col-md-2.text-center
              Markdown
            .col-md-10.code.js-syntax-highlight
              = highlight('.md', badge.to_markdown)
          .row
            %hr
          .row
            .col-md-2.text-center
              HTML
            .col-md-10.code.js-syntax-highlight
              = highlight('.html', badge.to_html)
          .row
            %hr
          .row
            .col-md-2.text-center
              AsciiDoc
            .col-md-10.code.js-syntax-highlight
              = highlight('.adoc', badge.to_asciidoc)