Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
apkbrowser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
apkbrowser
Commits
402d279d
Unverified
Commit
402d279d
authored
4 years ago
by
Martijn Braam
Browse files
Options
Downloads
Patches
Plain Diff
Added better errors/documentation
parent
d71f1d72
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/contents.html
+24
-1
24 additions, 1 deletion
templates/contents.html
templates/index.html
+19
-1
19 additions, 1 deletion
templates/index.html
with
43 additions
and
2 deletions
templates/contents.html
+
24
−
1
View file @
402d279d
...
...
@@ -120,7 +120,30 @@
</tr>
{% else %}
<tr>
<td
colspan=
"5"
>
No item found...
</td>
<td
colspan=
"5"
>
{% if form.name == "" and form.file == "" and form.path == "" %}
<p>
Please enter a package name, or file/path to search
</p>
{% else %}
<p>
No matching files found...
</p>
<p>
Please note that the search works by exact matches by default.
It's possible to use a * as wildcard in your search query to do partial matches.
Possible wildcards:
</p>
<ul>
<li><code>
*
</code>
to match any number of characters
</li>
<li><code>
?
</code>
to match exactly one character
</li>
<li><code>
[xyz]
</code>
to match a single x, y or z
</li>
<li><code>
[a-z]
</code>
to match any lowercase letter
</li>
<li><code>
[^a-z]
</code>
to match anything that's not a lowercase letter
</li>
</ul>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
...
...
This diff is collapsed.
Click to expand it.
templates/index.html
+
19
−
1
View file @
402d279d
...
...
@@ -156,7 +156,25 @@
</tr>
{% else %}
<tr>
<td
colspan=
"5"
>
No item found...
</td>
<td
colspan=
"9"
>
<p>
No matching packages found...
</p>
<p>
Please note that the search works by exact matches by default.
It's possible to use a * as wildcard in your search query to do partial matches.
Possible wildcards:
</p>
<ul>
<li><code>
*
</code>
to match any number of characters
</li>
<li><code>
?
</code>
to match exactly one character
</li>
<li><code>
[xyz]
</code>
to match a single x, y or z
</li>
<li><code>
[a-z]
</code>
to match any lowercase letter
</li>
<li><code>
[^a-z]
</code>
to match anything that's not a lowercase letter
</li>
</ul>
</td>
</tr>
{% endfor %}
</tbody>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment