mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
added dummy search box for documents
This commit is contained in:
@@ -18,6 +18,15 @@ public class DocumentsPanel extends Composite {
|
||||
|
||||
VerticalPanel documentsPanel = new VerticalPanel();
|
||||
documentsPanel.setStylePrimaryName("my-DocumentsFrame");
|
||||
|
||||
HorizontalPanel searchPanel = new HorizontalPanel();
|
||||
searchPanel.setStylePrimaryName("my-DocumentsSearchFrame");
|
||||
TextBox searchBox = new TextBox();
|
||||
searchBox.setWidth("20em");
|
||||
Button searchBtn = new Button("Search");
|
||||
searchPanel.add(searchBox);
|
||||
searchPanel.add(searchBtn);
|
||||
documentsPanel.add(searchPanel);
|
||||
|
||||
Label header = new Label("Documents");
|
||||
header.setStylePrimaryName("my-DocumentsHeader");
|
||||
|
||||
@@ -7,6 +7,14 @@
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.my-DocumentsSearchFrame {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.my-DocumentsSearchFrame * {
|
||||
margin: 0 0.4em;
|
||||
}
|
||||
|
||||
.my-DocumentsHeader {
|
||||
width: 100%;
|
||||
background-attachement: scroll;
|
||||
|
||||
Reference in New Issue
Block a user