Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence AUI Layout with standard decorator Edited

Hello everybody, i would like layout my page with the hybrid layout in the  and the atl.general page decorator to have the standar Confluence(6.14.0) navbar but nothing hapens. Someone have a reason???

Layout

<html>
<head>
<title>MyServlett Admin</title>
<meta name="decorator" content="atl.general">
$webResourceManager.requireResource("de.tet.t.ter:resources")
</head>
<body class='aui-page-hybrid' >
<form id="admin" class="aui">
<div class="field-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" class="text">
</div>
<div class="field-group">
<label for="age">Age:</label>
<input type="text" id="age" name="age" class="text">
</div>
<div class="field-group">
<input type="submit" value="Save" class="button">
</div>
</form>

<div class="aui-group">
<div class="aui-item">
<table class="aui">
<thead>
<tr>
<th id="basic-number">#</th>
<th id="basic-fname">First name</th>
<th id="basic-lname">Last name</th>
<th id="basic-username">Username</th>
</tr>
</thead>
<tbody>
<tr>
<td headers="basic-number">1</td>
<td headers="basic-fname">Matt</td>
<td headers="basic-lname">Bond</td>
<td headers="basic-username">mbond</td>
</tr>
<tr>
<td headers="basic-number">2</td>
<td headers="basic-fname">Ross</td>
<td headers="basic-lname">Chaldecott</td>
<td headers="basic-username">rchaldecott</td>
</tr>
<tr>
<td headers="basic-number">3</td>
<td headers="basic-fname">Henry</td>
<td headers="basic-lname">Tapia</td>
<td headers="basic-username">htapia</td>
</tr>
</tbody>
</table>

</div>
<div class="aui-item">
<table class="aui">
<thead>
<tr>
<th id="basic-number">#</th>
<th id="basic-fname">First name</th>
<th id="basic-lname">Last name</th>
<th id="basic-username">Username</th>
</tr>
</thead>
<tbody>
<tr>
<td headers="basic-number">1</td>
<td headers="basic-fname">Matt</td>
<td headers="basic-lname">Bond</td>
<td headers="basic-username">mbond</td>
</tr>
<tr>
<td headers="basic-number">2</td>
<td headers="basic-fname">Ross</td>
<td headers="basic-lname">Chaldecott</td>
<td headers="basic-username">rchaldecott</td>
</tr>
<tr>
<td headers="basic-number">3</td>
<td headers="basic-fname">Henry</td>
<td headers="basic-lname">Tapia</td>
<td headers="basic-username">htapia</td>
</tr>
</tbody>
</table>

</div>
</div>

</body>
</html>

 

Plugin.xml:

<?xml version="1.0" encoding="UTF-8"?>

<atlassian-plugin key="${atlassian.plugin.key}" name="${project.name}" plugins-version="2">
<plugin-info>
<description>${project.description}</description>
<version>${project.version}</version>
<vendor name="${project.organization.name}" url="${project.organization.url}"/>
<param name="plugin-icon">images/pluginIcon.png</param>
<param name="plugin-logo">images/pluginLogo.png</param>
</plugin-info>
<!-- add our i18n resource -->
<resource type="i18n" name="i18n" location="ter"/>
<!-- add our web resources -->
<web-resource key="ter-resources" name="ter Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<dependency>com.atlassian.auiplugin:aui-page-layout</dependency>
<resource type="download" name="ter.css" location="/css/ter.css"/>
<resource type="download" name="images/" location="/images"/>
<resource type="download" name="ter.js" location="/js/ter.js"/>
<context>main</context>
</web-resource>

<web-item name="test0" i18n-name-key="test-0.name" key="test-0" section="system.header/left" weight="1000">
<description key="test-0.description">The test0 Plugin</description>
<label key="test-0.label"/>

<link linkId="google_home">#</link>
<condition class="de.test.tet.terr">
<param name="group">test</param>
</condition>
</web-item>

<servlet name="My Groups" i18n-name-key="my-groups.name" key="my-groups" class="de.tet.t.servlet.MyGroups">
<description key="my-groups.description">The My Groups Plugin</description>
<url-pattern>/mygroups</url-pattern>
</servlet>

</atlassian-plugin>

1 answer

0 votes

Hello Heiko,

Thank you for contacting us about this.

Could you help us to understand exactly what you're trying to do? Are you developing an add-on for Confluence or trying to create a theme

If so, I would recommend that you head over to our Atlassian Developer Community instead. There, you'll find many people who work regularly with developing for our products, and they'll be able to help you out with this. 

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

429 views 23 9
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you