mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-04 23:56:30 +00:00
42 lines
1.4 KiB
HTML
42 lines
1.4 KiB
HTML
<header>
|
|
<a class="logo float-left" href="/"></a>
|
|
<a class="menu-item settings float-right" href="/profile"></a>
|
|
<a class="menu-item users float-right" href="/users" ng-if="user.admin"></a>
|
|
<a class="menu-item help float-right" href="http://readme.drone.io" target="_blank"></a>
|
|
<a class="menu-item user-name float-right" href="/profile">{{ "+"+user.login }}</a>
|
|
</header>
|
|
|
|
<div class="toolbar">
|
|
|
|
<div class="breadcrumb" style="position:relative;top:0px;">
|
|
<a href="/{{ repo.full_name }}/edit" class="icon icon-home"></a>
|
|
<a ng-href="/{{ repo.full_name }}">{{ repo.owner }} / {{ repo.name }}</a>
|
|
</div>
|
|
|
|
<div class="menu">
|
|
<a ng-href="/{{ repo.full_name }}/edit" class="nav-item settings float-right"></a>
|
|
<button ng-click="watch(repo)" ng-if="!repo.starred" class="nav-item star float-right"></button>
|
|
<button ng-click="unwatch(repo)" ng-if="repo.starred" class="nav-item unstar float-right"></button>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<article>
|
|
|
|
|
|
<section style="padding:30px; background-color:#EF5350;">
|
|
<button ng-click="delete(repo.full_name)" style="color:rgba(255,255,255,0.9);
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
border: 1px solid rgba(255,255,255,0.9);
|
|
padding: 10px;
|
|
background:transparent;
|
|
display:inline-block;
|
|
cursor:pointer;
|
|
margin-right: 10px;">Delete</button>
|
|
<span style="color:rgba(255,255,255,0.9);font-size:16px;">Warning: this action cannot be undone.</span>
|
|
</section>
|
|
|
|
|
|
</article>
|