1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-12 08:23:48 +02:00
woodpecker/template/amber/repo_badge.amber

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2015-09-30 03:21:17 +02:00
extends base
block append head
title #{Repo.Name}
block header
ol
li #{Repo.Owner} / #{Repo.Name}
ul.nav.nav-tabs
li.nav-item
a.nav-link[href="/"+Repo.FullName] Builds
li.nav-item
a.nav-link.active[href="/"+Repo.FullName+"/settings/badges"] Badges
li.nav-item
a.nav-link[href="/"+Repo.FullName+"/settings/encrypt"] Secrets
li.nav-item
a.nav-link[href="/"+Repo.FullName+"/settings"] Settings
block content
div.container.repo_config
div.row
div.col-md-3 Markdown
div.col-md-9
pre
| [![Build Status](#{Link}/api/badges/#{Repo.FullName}/status.svg)](#{Link}/#{Repo.FullName})
div.row
div.col-md-3 Markup
div.col-md-9
pre
| <a href="#{Link}/api/badges/#{Repo.FullName}/status.svg"><img src="#{Link}/#{Repo.FullName}" /></a>
div.row
div.col-md-3 CC Menu
div.col-md-9
pre
| http://beta.drone.io/api/badges/#{Repo.FullName}/cc.xml