Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
APK Vitrine
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Max Rees
APK Vitrine
Commits
36769491
Commit
36769491
authored
Dec 25, 2020
by
Max Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
frontend: put tables in containers for better mobile display
basically does overflow:scroll
parent
4896d7d0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
apkvitrine/templates/branch.tmpl
apkvitrine/templates/branch.tmpl
+2
-0
apkvitrine/templates/package.tmpl
apkvitrine/templates/package.tmpl
+4
-0
apkvitrine/templates/search.tmpl
apkvitrine/templates/search.tmpl
+2
-0
style.css
style.css
+1
-4
No files found.
apkvitrine/templates/branch.tmpl
View file @
36769491
...
...
@@ -19,6 +19,7 @@
# block content
<h3
class=
"title is-3"
>
Recently updated packages
</h3>
{{
quicksearch
(
branch
)
}}
<div
class=
"table-container"
>
<table
class=
"table is-bordered is-striped is-hoverable"
>
<tr>
<th>
Name
</th>
...
...
@@ -39,6 +40,7 @@
</tr>
# endfor
</table>
</div>
# set last_page = query["total"] // query["limit"] + 1
# set page = query["page"]
...
...
apkvitrine/templates/package.tmpl
View file @
36769491
...
...
@@ -29,6 +29,7 @@
</a>
</p>
# endif
<div
class=
"table-container"
>
<table
class=
"table is-bordered pkgver"
>
<tr>
# for arch in arches
...
...
@@ -49,8 +50,10 @@
# endfor
</tr>
</table>
</div>
<h3
class=
"title is-3"
>
Details for version
{{
newest
}}
</h3>
<div
class=
"table-container"
>
<table
class=
"table is-bordered"
id=
"pkgdetails"
>
<tr><th>
Description
</th>
<td>
{{
pkg.description
}}
</td></tr>
# if pkg.url
...
...
@@ -85,6 +88,7 @@
# set url = conf["gl_url"].format(startdir=startdir)
<tr><th>
Source files
</th><td><a
href=
"
{{
url
}}
"
>
View git repository
</a></td></tr>
</table>
</div>
<div
id=
"related"
class=
"columns is-desktop"
>
<div
class=
"column"
>
...
...
apkvitrine/templates/search.tmpl
View file @
36769491
...
...
@@ -113,6 +113,7 @@ Displaying the first {{ query["limit"] }}.
# endif
</div>
# endif
<div
class=
"table-container"
>
<table
class=
"table is-bordered is-striped is-hoverable"
>
<tr>
<th>
Name
</th>
...
...
@@ -129,6 +130,7 @@ Displaying the first {{ query["limit"] }}.
</tr>
# endfor
</table>
</div>
# set last_page = query["total"] // query["limit"] + 1
# set page = query["page"]
...
...
style.css
View file @
36769491
...
...
@@ -11,10 +11,7 @@ nav.breadcrumb .is-active a { color: white }
background
:
#EAECF0
;
border
:
1px
solid
#A2A9B1
;
}
.pkgver
th
{
text-align
:
center
!important
;
word-break
:
break-all
;
}
.pkgver
th
{
text-align
:
center
!important
}
#pkgdetails
th
{
width
:
10em
}
#related
.column
summary
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment