Commit Graph
221 Commits
Author SHA1 Message Date
Joseph Nuthalapati ff9d061e98 Add file-sharing application Coquelicot to FreedomBox
- Add settings in Service View
- Fixes for maximum file setting
- Don't allow negative values for max. file size in UI
- Minor text changes to django messages
- Minor correction to maximum file size calculation
- Rename apache conf file to coquelicot-freedombox.conf
- Remove all hacks to adjust file size.
- Fix permissions issues for settings file
- Show status block in UI
- try-restart on settings change instead of restart

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-14 07:11:25 -05:00
Vikas Singh 5132f8fff6 theme: Update CSS to use Lato font
Closes #316. Also increase the font size to 15px as this seems roughly
equivalent to 14px size of the earlier font.

Signed-off-by: Vikas Singh <vikas.singh093@gmail.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2018-02-12 11:44:47 +05:30
Vikas Singh f66b552aac Font: Change Helvetica to Lato
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-11 19:16:05 -05:00
Joseph Nuthalapati 740b356b41 transmission: Add .png logo
The existing logo is a jpeg file renamed to png. Replacing that with a
real png file.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-10 16:01:14 -05:00
Joseph Nuthalpati 37138ee83b mediawiki: Add wiki application
Installs and configures MediaWiki. SSO integration is not included yet.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 13:20:37 -05:00
Sunil Mohan Adapa acd248e506 clients: Cleanup framework
- Move all utilities to a separate clients.py module. Tests too.

- Use fewer custom template tags. Actually only one tag is really required.
  Keeping custom tags minimal is a goal.

- Merge the methods to generate app store URLs.

- Implement a validator for validating client information and use that instead
  of enums.

- Internationalize the text on template page.

- Add missing RPM package case.

- Cleanup CSS. Remove unused styles, minimize the styles set.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:30 -05:00
Sunil Mohan Adapa ed25449711 clients: Update icons to be 32x32 consistently
- Avoid serving large PNG files to improve performance.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:14 -05:00
Joseph Nuthalapati d59de1d098 Change icon background from white to transparent
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:16:41 -05:00
Joseph Nuthalapati 7e2b96577c Uniform and consistent buttons and icons for clients apps
- New icons for the mobile app stores
- Both desktop and mobile icons now have the same style
- Launch button has a new glyphicon
- Client app buttons flow into multiple lines in mobile view

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:16:32 -05:00
Joseph Nuthalapati 423c94fa6d noscript fallback for the table dropdown
- Used .no-js based on Modernizr
- Beautified clients.html with 2-space indentation

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:16:23 -05:00
hritesh 9ac7ff10ce Reduce OS icons size for clients
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:16:00 -05:00
Joseph Nuthalapati aaf5d6dbe1 Convert collapsible list to collapsible table
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:15:26 -05:00
Joseph Nuthalapati 5165f5a414 consistent naming convention for icons
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:15:20 -05:00
Joseph Nuthalapati efa575b204 Add clients to ServiceView
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:15:12 -05:00
Joseph Nuthalapati d3cddfa68c Add icons for desktop applications and Apple App store.
- Add yapf style file for consistency of formatting
- Some minor changes and renaming
- Add template tag filters for checking conditions
- Move icons from img directory to icons directory

Currently the client listing is in both the SetupView and ServceView for ease of
development. Have to remove from ServiceView.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:15:03 -05:00
Joseph Nuthalapati d403782b77 Add client information for Matrix Synapse and Syncthing
- Add logos for desktop operating systems

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-04 12:14:42 -05:00
James Valleroy 6bf4eb1483 shadowsocks: Add shadowsocks client with socks5 proxy
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-29 17:47:05 +05:30
vignanl 44cf56c222 cockpit: New module for server administration
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-11-06 13:22:10 +05:30
Prachi Srivastava 83430f4031 Add mobile, web and desktop client for modules
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:13:13 +05:30
Prachi Srivastava bc5cd164f2 Add template to show client info
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:12:38 +05:30
Prachi Srivastava b8725a0d9f Add google play image and fdroid image
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-10-24 17:12:05 +05:30
Prachi Srivastava b353a292fe Fix vertical alignment of shortcut icons
- Add min-height to shortcut label

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-10-03 20:53:10 -04:00
Joseph Nuthalpati 5ad180fcc9 Add Tahoe-LAFS module
- Created basic plinth app which starts an introducer and a storage
  node on the FreedomBox.
- Prompt user to set a domain name before creating Tahoe-LAFS nodes.
- Support adding and removing of introducers to the storage node.
- Serve Tahoe-LAFS from a different port.
- Start all nodes and introducers at system startup.
- Add utility class YAMLFile with test cases.
2017-06-10 09:38:57 -04:00
pycat 0e80bb9b02 Fix footer overlap #848
- Added footer responsive layout for tablets too
- Fixed footer ovelap on Laptop media screen
2017-05-18 21:24:28 -04:00
pycat 88272f766e Plinth footer fixes - UI #840
- Pined footer to the bottom of the viewport
- Introduced a new stylesheet to hold custom responsive css
- Footer bottom fix exluded for smaller viewports
2017-05-11 20:00:37 -04:00
Joseph Nuthalpati 01e97e7369 diaspora: Initial setup
Completed initial setup of diaspora on Plinth. Default configuration pending.
2017-05-06 07:25:27 -04:00
Rahul De 136ae1c715 matrixsynapse: Add logo for frontpage
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:56:03 +05:30
Sunil Mohan Adapa 2c0581ea26 Remove unused symlink to doc directory
This partially fixes https://bugs.debian.org/857957 .  The doc symlink
was not being used for quite some time.  Tested with
/etc/plinth/plinth.config and without it using local config.
2017-03-29 17:23:55 -04:00
Sunil Mohan Adapa 018324a6fc Update to implementation of new footer
- Internationalize all the strings.

- Fix indentation.

- Use bootstrap row/columns better for footer links.

- Minimize CSS.

- Restore some of the FreedomBox statements until futher discussion.
2017-03-29 17:39:09 +05:30
Soumya97 b44efb939a Change footer of home page according to new design 2017-03-29 17:38:58 +05:30
Sunil Mohan Adapa 9c65f69e89 Minor fixes to topbar changes
- Move the apps and configuration items outside of navbar header and
  into left navbar group so that it collapses properly for mobile
  view.

- Change link titles to reflect label text.

- Indent properly, remove blank lines.

- Remove need to tweak font size of items.
2017-03-29 11:55:33 +05:30
Soumya97 384327af71 Implement new topbar according to new card based UI 2017-03-29 11:53:01 +05:30
Joseph Nuthalpati e531e9ac9c syncthing: Added icon for shortcut 2017-03-23 15:06:03 +05:30
lispyclouds b0321d7d29 openvpn: Allow non-admin users to download their own profiles
- This adds OpenVPN icon

- This enables the OpenVPN app on the index page.

- This allows only admins to create the certs for OpenVPN and admins and
  non admins can not download their own profiles via the app icon.
2017-02-15 21:05:48 +05:30
Marko Mackic 8ba763bf5a Folders overwrite, shaarli.png added to static files 2017-01-26 12:33:04 -05:00
Marko Mackic f675206e4d jsxc: Update jslicense.html
Updated links
2017-01-20 15:54:59 +05:30
Sunil Mohan Adapa 8b1d5b6f57 infinoted: Update shortcut code for newer style
- Use special icon.

- Upate parameters.
2017-01-18 10:36:21 +05:30
Swapnil Gupta bb70c43923 jsxc: Add setup
Fix routes.
2017-01-09 11:50:35 -05:00
mridulnagpal aded0f6be0 bind: Remove icon 2017-01-06 18:17:14 -05:00
mridulnagpal 4439831922 bind: Add icon 2017-01-06 18:17:02 -05:00
James Valleroy 9b2c7f2d48 Fix link to jsxc-plinth.js in JS license information
Minor updates to html formatting
2016-12-20 17:36:05 -05:00
Swapnil Gupta d1f5544ae0 Fixed license and its position in base.html 2016-12-20 17:35:52 -05:00
Swapnil Gupta 807255a40c Added license for libreJS to identify 2016-12-20 17:35:44 -05:00
mridulnagpal d5360fdb8b Privoxy License updated 2016-12-18 12:32:34 -05:00
mridulnagpal cc91dcf4bd icons-resized 2016-12-18 12:32:28 -05:00
mridulnagpal 722451305c icons-changed 2016-12-18 12:32:23 -05:00
Sunil Mohan Adapa 699b595fb0 Fix streched favicon
The current favicon is vertically streched and violates branding
guidelines.  Reuse an existing, correct 32x32 PNG with transparency
instead of .ICO file.  This means that only IE version >= 11 are
supported.  Also use the modern format for specifying the favicon in
HTML.
2016-09-06 19:55:27 -04:00
Sunil Mohan Adapa 164948c75e tor: Refactor showing loader icon
- So that it can be used for other applications also.

- Also remove second status icon in green and use the status loading in
  it's place.  This is more consistent placement of status icon.

- Also reduce the size of the icon as it is not indication for page
  loading (page loading icons are large because they substitute page
  content until it is loaded).  This makes it consistent with other
  status icon.
2016-08-26 21:51:44 -04:00
Sunil Mohan Adapa 11bf585025 networks: Show network diagram
- As discussed in the first boot redesign proposal.

- Images are taken from Tango icon set, GNOME icons or created.

- Responsive, works for very small widths also.

- First cut, special cases of network connectivity are not handled.
2015-10-28 20:02:56 -04:00
Sunil Mohan Adapa 991f848c23 diagnostics: Template/styling helpers for modules 2015-08-29 06:22:01 -04:00