taiga-front/app/partials/views/modules/admin/admin-third-parties-webhook...

95 lines
4.9 KiB
Plaintext

block head
title Taiga Your agile, free, and open source project management tool
block content
div.wrapper.roles(tg-github-webhooks, ng-controller="GithubController as ctrl",
ng-init="section='admin'")
sidebar.menu-secondary.sidebar(tg-admin-navigation="Webhooks")
include ../admin-menu
sidebar.menu-tertiary.sidebar(tg-admin-navigation="third-parties-webhooks")
include ../admin-submenu-third-parties
section.main.admin-common.admin-webhooks
include ../../components/mainTitle
p.admin-subtitle Webhooks notify external services about events in Taiga, like comments, user stories....
div.webhooks-options
a.button.button-green.add-webhook(href="",title="Add a New Webhook") Add Webhook
section.webhooks-table.basic-table
div.table-header
div.row
div.webhook-service Name
div.webhook-url URL
div.webhook-options
div.table-body
form.row
div.webhook-service
input(type="text", name="service-name", placeholder="Type the service name")
div.webhook-url
div.webhook-url-inputs
input(type="text", name="service-sexret-key", placeholder="Type the service secret key")
input(type="text", name="service-payload-url", placeholder="Type the service payload url")
div.webhook-options
a.icon.icon-floppy(href="", title="Save Webhook")
a.icon.icon-delete(href="", title="Cancel Webhook")
div.single-webhook-wrapper
div.row
div.webhook-service
span Github
div.webhook-url
span http://github.kjrw3543m/nwdlkw4m535/ffm
a(href="", title="Test history") (See test history)
div.webhook-options
div.webhook-options-wrapper
a.icon.icon-floppy(href="", title="Save Webhook")
a.icon.icon-edit(href="", title="Edit Webhook")
a.icon.icon-delete(href="", title="Delete Webhook")
div.single-webhook-wrapper
div.row
div.webhook-service
span Slack
div.webhook-url
span http://slack.kjrw3543m/nwdlkw4m535/ffm
a(href="", title="Test history") (See test history)
div.webhook-options
div.webhook-options-wrapper
a.icon.icon-floppy(href="", title="Save Webhook")
a.icon.icon-edit(href="", title="Edit Webhook")
a.icon.icon-delete(href="", title="Delete Webhook")
div.webhooks-history
div.history-single
div
span.history-response.history-success
span.history-date Just now
span.icon.icon-arrow-bottom
div.history-single
div
span.history-response.history-error
span.history-date Just now
span.icon.icon-arrow-bottom
//
form
fieldset
label(for="secret-key") Secret key
input(type="text", name="secret-key", ng-model="github.secret", placeholder="Secret key", id="secret-key")
fieldset
.select-input-text(tg-select-input-text)
div
label(for="payload-url") Payload URL
.field-with-option
input(type="text", ng-model="github.webhooks_url", name="payload-url", readonly="readonly", placeholder="Payload URL", id="payload-url")
.option-wrapper.select-input-content
.icon.icon-copy
.help-copy Copy to clipboard: Ctrl+C
button(type="submit", class="hidden")
a.button.button-green.submit-button(href="", title="Save") Save
a.help-button(href="https://taiga.io/support/github-integration/", target="_blank")
span.icon.icon-help
span Do you need help? Check out our support page!