[% END %]
[% INCLUDE navbar %]
<div class="list">
- <table id="matrix" width="100%" >
+ <table id="matrix">
<tr>
[% FOR col = classmetadata.list_columns.list;
NEXT IF col == "id";
SET additional = additional _ "&page=" _ pager.current_page
IF pager;
SET additional = additional _ "&o2=desc"
- IF col == request.query.order and request.query.o2 != "desc";
+ IF col == request.params.order and request.params.o2 != "desc";
SET action = "list";
FOR name = classmetadata.columns.list;
IF request.query.$name;
SET additional =
additional _ "&" _ name _ "=" _
- request.query.$name;
+ request.params.$name;
SET action = "search";
END;
END;
link(classmetadata.table, action, additional,
classmetadata.colnames.$col);
- IF col == request.query.order;
- IF request.query.o2 != "desc";
+ IF col == request.params.order;
+ IF request.params.o2 != "desc";
"↓";
ELSE;
"↑";
ELSE;
SET label = num;
SET args = "?page=" _ num;
- SET args = args _ "&order=" _ request.query.order
- IF request.query.order;
+ SET args = args _ "&order=" _ request.params.order
+ IF request.params.order;
SET args = args _ "&o2=desc"
- IF request.query.o2 == "desc";
+ IF request.params.o2 == "desc";
SET action = "list";
FOR col = classmetadata.columns.list;
- IF request.query.$col;
- SET args = args _ "&" _ col _ "=" _ request.query.$col;
+ IF request.params.$col;
+ SET args = args _ "&" _ col _ "=" _ request.params.$col;
SET action = "search";
END;
END;
background-color: #ffffff;
}
+#matrix { width: 100%; }
+
#matrix th {
background-color: #b5cadc;
border: 1px solid #778;
.error { color: #d00; }
-.actions {
- white-space: nowrap;
- background-color: #fff;
-}
-
.action {
border: 1px outset #7d95b5;
style:block;
background-color: #7d95b5;
}
-.field {
+.actionform {
display: inline;
}
+.actionbutton {
+ height: 16px;
+ width: 40px;
+ font-family: sans-serif;
+ font-size: 10px;
+ border: 1px outset;
+ background-color: #fff;
+ margin-bottom: 0px;
+}
+
+.actionbutton:hover {
+ color: #fff;
+ background-color: #7d95b5;
+}
+
+.actions {
+ white-space: nowrap;
+}
+
+.field {
+ display:inline;
+}
+
.pager {
font: 11px Arial, Helvetica, sans-serif;
text-align: center;
border-color: #036;
text-decoration: none;
}
+