woodpecker/template/amber/repo_badge.amber
2015-10-30 15:15:45 -04:00

37 lines
1.1 KiB
Text

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}/#{Repo.FullName}"><img src="#{Link}/api/badges/#{Repo.FullName}/status.svg" /></a>
div.row
div.col-md-3 CC Menu
div.col-md-9
pre
| #{Link}/api/badges/#{Repo.FullName}/cc.xml