This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: Open files & add App section & grid improv.
I also made some clean-ups, so this commit is a bit messy for that reason. Grid size should now grow and shrink depending on display density. Finally, apps can now be shared using Web Share (split apk will be zipped similarly to folders).
- Loading branch information
1 parent
e119d73
commit 1d50f4e
Showing
69 changed files
with
936 additions
and
2,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!-- | ||
~ Copyright (C) 2021 Veli Tasalı | ||
~ | ||
~ This program is free software; you can redistribute it and/or | ||
~ modify it under the terms of the GNU General Public License | ||
~ as published by the Free Software Foundation; either version 2 | ||
~ of the License, or (at your option) any later version. | ||
~ | ||
~ This program is distributed in the hope that it will be useful, | ||
~ but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
~ GNU General Public License for more details. | ||
~ | ||
~ You should have received a copy of the GNU General Public License | ||
~ along with this program; if not, write to the Free Software | ||
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
--> | ||
|
||
<div class="col-6 col-md-4 col-lg-3 mb-4"> | ||
<div class="card h-100"> | ||
<div class="card-img-top p-4" style="background-color: #88888822"> | ||
<img src="/thumbnail/${id}" class="w-100" alt="${title}"> | ||
</div> | ||
<div class="card-body"> | ||
<h5 class="card-title">${title}</h5> | ||
<p class="card-text">${size}${sizeSuffix}</p> | ||
<a href="/${downloadType}/${id}/${name}${nameSuffix}" class="btn btn-primary">Download</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
app/src/main/java/org/monora/uprotocol/client/android/activity/WebShareActivity.kt
This file was deleted.
Oops, something went wrong.
91 changes: 0 additions & 91 deletions
91
app/src/main/java/org/monora/uprotocol/client/android/adapter/ApplicationListAdapter.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,6 +69,7 @@ class FileAdapter( | |
|
||
companion object { | ||
const val VIEW_TYPE_SECTION = 0 | ||
|
||
const val VIEW_TYPE_FILE = 1 | ||
} | ||
} |
Oops, something went wrong.