Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions src/main/java/io/jenkins/plugins/designlibrary/Integration.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
package io.jenkins.plugins.designlibrary;

import hudson.Extension;

@Extension
public class Integration extends UISample {

@Override
public String getIconFileName() {
return "symbol-extension-puzzle-outline plugin-ionicons-api";
}

@Override
public String getDescription() {
return "Guidance for integrating your plugin further into Jenkins.";
}

@Override
public Category getCategory() {
return Category.PATTERN;
}

@Override
public String getSince() {
return "2.515";
}

@Extension
public static final class DescriptorImpl extends UISampleDescriptor {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:s="/lib/samples" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<s:layout>
<s:section title="${%topAppBar}" description="${%topAppBar.description}">
<s:group>
<s:preview fullWidth="true">
<div class="jdl-app-bars-page__example jdl-app-bars-page__example--top">
<l:pageHeader title="${null}"
logoAlt="${null}"
searchPlaceholder="${null}"
searchHelpUrl="$null}"
logout="${null}"/>
</div>
</s:preview>
<s:code file="topAppBar.jelly" />
</s:group>

<div>
is your plugin tied to a single page/context? if so it should live on that page inside of the app bar.
</div>

<div>
is your plugin a management item? it should live in manage jenkins then
</div>

<s:dos-donts>
<tr>
<td>${%topAppBar.do.1}</td>
<td>${%topAppBar.dont.1}</td>
</tr>
<tr>
<td>${%topAppBar.do.2}</td>
<td>${%topAppBar.dont.2}</td>
</tr>
</s:dos-donts>
</s:section>
</s:layout>
</j:jelly>