diff --git a/promgen/locale/ja/LC_MESSAGES/django.po b/promgen/locale/ja/LC_MESSAGES/django.po index a13701c8f..c06544ec7 100644 --- a/promgen/locale/ja/LC_MESSAGES/django.po +++ b/promgen/locale/ja/LC_MESSAGES/django.po @@ -172,3 +172,7 @@ msgstr "Serviceを登録" #: templates/promgen/project_detail_hosts.html:49 msgid "Silence selected hosts" msgstr "選択したHostをSilence" + +#: templates/promgen/service_detail.html:23 +msgid "Actions" +msgstr "Actions" diff --git a/promgen/static/css/promgen.css b/promgen/static/css/promgen.css index d106ccbc3..ba90ccfd9 100644 --- a/promgen/static/css/promgen.css +++ b/promgen/static/css/promgen.css @@ -81,6 +81,19 @@ a[rel]:after { cursor: pointer; } + +/* service-detail */ +.promgen-flex-space-between-center { + display: flex; + align-items: center; + justify-content: space-between; +} + +hr { + margin-top: 5px !important; + margin-bottom: 5px !important; +} + /* Margin Top */ .mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 0.25rem !important; } diff --git a/promgen/templates/promgen/service_action_button_group.html b/promgen/templates/promgen/service_action_button_group.html new file mode 100644 index 000000000..77bf524fd --- /dev/null +++ b/promgen/templates/promgen/service_action_button_group.html @@ -0,0 +1,48 @@ +{% load i18n %} +{% load promgen %} + + +
diff --git a/promgen/templates/promgen/service_block.html b/promgen/templates/promgen/service_block.html index 7d768bc6d..d27003cb8 100644 --- a/promgen/templates/promgen/service_block.html +++ b/promgen/templates/promgen/service_block.html @@ -33,50 +33,19 @@Project | -Exporters | -Notifiers | -Actions | -
---|---|---|---|
- - {% trans "No notifications configured for this project. Please configure some" %} - | -|||
No Projects? | -
{% trans 'Contact' %}: {{service.owner.username}}
- {% endif %} +{% translate 'Contact' %}: {{service.owner.username}}
+ {% endif %} +Project | +Exporters | +Notifiers | +Actions | +
---|---|---|---|
+ + {% translate "No notifications configured for this project. Please configure some" %} + | +|||
No Projects? | +