OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/stylesheets/layout/_toolbar.lsg

74 lines
2.2 KiB

# Toolbar
A toolbar that can and should be used for actions on the current view. Initially designed for the Work package list, this can be reused throughout the application.
## Standard Button Bar
```
@full-width
<div class="toolbar-container">
<div id="toolbar">
<div class="title-container">
<h2>Title of the page</h2>
</div>
<ul id="toolbar-items">
<li class="toolbar-item">
<a href="#" class="button -highlight">An important button</a>
</li>
<li class="toolbar-item">
<button class="button">Normal button</button>
</li>
<li class="toolbar-item">
<button class="button">
<i class="button--icon icon-star1"></i>
<span class="button--text">Favourite button</span>
</button>
</li>
</ul>
</div>
</div>
```
## Toolbar with form elements
```
@full-width
<div class="toolbar-container">
<div id="toolbar">
<div class="title-container">
<h2>Dragonball Z characters</h2>
</div>
<ul id="toolbar-items">
<li class="toolbar-item">
<select name="attribue">
<option value="" selected></option>
<option value="super">Super</option>
</select>
</li>
<li class="toolbar-item">
<input type="text" name="race" placeholder="Race">
</li>
<li class="toolbar-item">
<input type="number" id="level" placeholder="Level">
</li>
<li class="toolbar-item">
<select>
<option value="" selected></option>
<option value="vegeta">Vegeta</option>
<option value="kakarotto">Kakarotto</option>
<option value="gohan">Gohan</option>
<option value="piccolo">Piccolo</option>
<option value="oob">Boo</option>
</select>
</li>
<li class="toolbar-item">
<a href="#" class="button -highlight">
<i class="button--icon icon-add"></i>
</a>
</li>
</ul>
</div>
<p class="subtitle">now with extremeley long subtitle: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Iste consequatur doloribus suscipit nemo temporibus deserunt alias incidunt doloremque officia rerum, nobis fuga, recusandae voluptatibus voluptatem tenetur repellendus itaque et. Eum.</p>
</div>
```