Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun committed Oct 30, 2020
1 parent 23a76ec commit 647f544
Show file tree
Hide file tree
Showing 16 changed files with 428 additions and 68 deletions.
2 changes: 1 addition & 1 deletion log_viewer/locale/en/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-01 13:55+0700\n"
"POT-Creation-Date: 2020-10-30 17:54+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
2 changes: 1 addition & 1 deletion log_viewer/locale/id/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-09-01 13:55+0700\n"
"POT-Creation-Date: 2020-10-30 17:54+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down
41 changes: 23 additions & 18 deletions log_viewer_demo/static/admin/css/changelists.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
/* CHANGELISTS */

#changelist {
position: relative;
width: 100%;
display: flex;
align-items: flex-start;
justify-content: space-between;
}

#changelist .changelist-form-container {
flex: 1 1 auto;
min-width: 0;
}

#changelist table {
Expand All @@ -21,7 +27,6 @@

.change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered div.xfull {
margin-right: 280px;
width: auto;
}

Expand All @@ -30,7 +35,8 @@
}

#changelist-form .results {
overflow-x: auto;
overflow-x: auto;
width: 100%;
}

#changelist .toplinks {
Expand Down Expand Up @@ -67,7 +73,7 @@

/* TOOLBAR */

#changelist #toolbar {
#toolbar {
padding: 8px 10px;
margin-bottom: 15px;
border-top: 1px solid #eee;
Expand All @@ -76,27 +82,28 @@
color: #666;
}

#changelist #toolbar form input {
#toolbar form input {
border-radius: 4px;
font-size: 14px;
padding: 5px;
color: #333;
}

#changelist #toolbar form #searchbar {
#searchbar {
height: 19px;
border: 1px solid #ccc;
padding: 2px 5px;
margin: 0;
vertical-align: top;
font-size: 13px;
max-width: 100%;
}

#changelist #toolbar form #searchbar:focus {
#searchbar:focus {
border-color: #999;
}

#changelist #toolbar form input[type="submit"] {
#toolbar form input[type="submit"] {
border: 1px solid #ccc;
font-size: 13px;
padding: 4px 8px;
Expand All @@ -108,27 +115,24 @@
color: #333;
}

#changelist #toolbar form input[type="submit"]:focus,
#changelist #toolbar form input[type="submit"]:hover {
#toolbar form input[type="submit"]:focus,
#toolbar form input[type="submit"]:hover {
border-color: #999;
}

#changelist #changelist-search img {
#changelist-search img {
vertical-align: middle;
margin-right: 4px;
}

/* FILTER COLUMN */

#changelist-filter {
position: absolute;
top: 0;
right: 0;
z-index: 1000;
order: 1;
width: 240px;
background: #f8f8f8;
border-left: none;
margin: 0;
margin: 0 0 0 30px;
}

#changelist-filter h2 {
Expand Down Expand Up @@ -227,6 +231,7 @@
line-height: 22px;
margin: 0;
border-top: 1px solid #ddd;
width: 100%;
}

.paginator a:link, .paginator a:visited {
Expand Down Expand Up @@ -266,7 +271,6 @@
/* ACTIONS */

.filtered .actions {
margin-right: 280px;
border-right: none;
}

Expand All @@ -286,6 +290,7 @@
border-bottom: none;
line-height: 24px;
color: #999;
width: 100%;
}

#changelist .actions.selected {
Expand Down
1 change: 1 addition & 0 deletions log_viewer_demo/static/admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ body.popup .submit-row {

.inline-related.tabular fieldset.module table {
width: 100%;
overflow-x: scroll;
}

.last-related fieldset {
Expand Down
18 changes: 18 additions & 0 deletions log_viewer_demo/static/admin/css/nav_sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,18 @@

#nav-sidebar .module th {
width: 100%;
overflow-wrap: anywhere;
}

#nav-sidebar .module th,
#nav-sidebar .module caption {
padding-left: 16px;
}

#nav-sidebar .module td {
white-space: nowrap;
}

[dir="rtl"] #nav-sidebar .module th,
[dir="rtl"] #nav-sidebar .module caption {
padding-left: 8px;
Expand All @@ -94,8 +99,21 @@
background: #ffc;
}

.main > #nav-sidebar + .content {
max-width: calc(100% - 23px);
}

.main.shifted > #nav-sidebar + .content {
max-width: calc(100% - 299px);
}

@media (max-width: 767px) {
#nav-sidebar, #toggle-nav-sidebar {
display: none;
}

.main > #nav-sidebar + .content,
.main.shifted > #nav-sidebar + .content {
max-width: 100%;
}
}
34 changes: 10 additions & 24 deletions log_viewer_demo/static/admin/css/responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,28 +93,32 @@ input[type="submit"], button {

/* Changelist */

#changelist #toolbar {
#toolbar {
border: none;
padding: 15px;
}

#changelist-search > div {
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
max-width: 480px;
}

#changelist-search label {
line-height: 22px;
}

#changelist #toolbar form #searchbar {
#toolbar form #searchbar {
flex: 1 0 auto;
width: 0;
height: 22px;
margin: 0 10px 0 6px;
}

#toolbar form input[type=submit] {
flex: 0 1 auto;
}

#changelist-search .quiet {
width: 100%;
margin: 5px 0 0 25px;
Expand Down Expand Up @@ -159,9 +163,6 @@ input[type="submit"], button {
.change-list .filtered .paginator,
.filtered #toolbar,
.filtered .actions,
.filtered div.xfull {
margin-right: 230px;
}

#changelist .paginator {
border-top-color: #eee;
Expand Down Expand Up @@ -500,25 +501,16 @@ input[type="submit"], button {
/* Changelist */

#changelist {
display: flex;
align-items: stretch;
flex-direction: column;
}

#changelist #toolbar {
order: 1;
#toolbar {
padding: 10px;
}

#changelist .xfull {
order: 2;
}

#changelist-form {
order: 3;
}

#changelist-filter {
order: 4;
margin-left: 0;
}

#changelist .actions label {
Expand All @@ -534,11 +526,6 @@ input[type="submit"], button {
flex: 1 0 100%;
}

.change-list .filtered .results, .change-list .filtered .paginator,
.filtered #toolbar, .filtered .actions, .filtered div.xfull {
margin-right: 0;
}

#changelist-filter {
position: static;
width: auto;
Expand Down Expand Up @@ -570,7 +557,6 @@ input[type="submit"], button {
.aligned .form-row,
.aligned .form-row > div {
display: flex;
flex-wrap: wrap;
max-width: 100vw;
}

Expand Down
19 changes: 8 additions & 11 deletions log_viewer_demo/static/admin/css/responsive_rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
[dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions {
margin-right: 0;
margin-left: 230px;
[dir="rtl"] .filtered .actions,
[dir="rtl"] #changelist-filter {
margin-left: 0;
}

[dir="rtl"] .inline-group ul.tools a.add,
Expand Down Expand Up @@ -63,14 +63,6 @@
/* MOBILE */

@media (max-width: 767px) {
[dir="rtl"] .change-list .filtered .results,
[dir="rtl"] .change-list .filtered .paginator,
[dir="rtl"] .filtered #toolbar,
[dir="rtl"] .filtered div.xfull,
[dir="rtl"] .filtered .actions {
margin-left: 0;
}

[dir="rtl"] .aligned .related-lookup,
[dir="rtl"] .aligned .datetimeshortcuts {
margin-left: 0;
Expand All @@ -80,4 +72,9 @@
[dir="rtl"] .aligned ul {
margin-right: 0;
}

[dir="rtl"] #changelist-filter {
margin-left: 0;
margin-right: 0;
}
}
14 changes: 2 additions & 12 deletions log_viewer_demo/static/admin/css/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,10 @@ thead th.sorted .text {
}

#changelist-filter {
right: auto;
left: 0;
border-left: none;
border-right: none;
}

.change-list .filtered .results, .change-list .filtered .paginator, .filtered #toolbar, .filtered div.xfull {
margin-right: 0;
margin-left: 280px;
margin-left: 0;
margin-right: 30px;
}

#changelist-filter li.selected {
Expand All @@ -129,11 +124,6 @@ thead th.sorted .text {
margin-right: -15px;
}

.filtered .actions {
margin-left: 280px;
margin-right: 0;
}

#changelist table tbody td:first-child, #changelist table tbody th:first-child {
border-right: none;
border-left: none;
Expand Down
Loading

0 comments on commit 647f544

Please sign in to comment.