93 Commits

Author SHA1 Message Date
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
James Valleroy
2f13946517
diaspora: Update menu use to match other modules
- Remove extra global line to avoid warning.

- Fix comment and indentation.
2017-05-06 07:44:26 -04:00
Joseph Nuthalpati
5ffcf42278
diaspora: Templates to setup domain name 2017-05-06 07:25:42 -04:00
Sunil Mohan Adapa
ee7cc98fee
apps, system: Remove modules and merge into main
- Remove apps and system modules and merge their views into main views.

- Move main_menu from cfg into menu.py.

- Remove dependencies of other modules on apps and system modules.

- Update tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-05-05 22:31:45 -04:00
Johannes Keyser
76a63d102b
setup: Disable install/upgrade when dpkg/apt is running
Show a warning message that a package manager is running. This prevents users
from getting an installation error just because another installation/upgrade is
running.

Closes: #625.
2017-04-19 16:50:00 +05:30
Sunil Mohan Adapa
fd3df85ace
service: Fix i18n of strings in service template
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-04-05 12:58:37 +05:30
Sunil Mohan Adapa
561f8f2d90
frontpage: Fix issues with hidden property
- Fix incorrect use of compound boolean expression in if statement.
  'a and b or c' is treated as '((a and b) or c)'.

- Allow unhiding a shortcut.

- Raise exception when shortcut requested does not exist.  This is the
  Python way.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-03-30 12:04:48 +05:30
Hemanth Kumar Veeranki
6e2f70063b
shortcuts: Add hidden property for each shortcut
Display shortcuts only if hidden field is False.

Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
2017-03-30 11:10:34 +05:30
Rahul De
3248c2573d
Hide apps and sys icons if user is not an admin 2017-03-29 19:12:11 +05:30
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
ychukka
db4d71e6b0
Add custom template for 403 reponse code 2017-02-15 21:54:24 +05:30
lispyclouds
0f3189c6bd
frontpage: Show config options only to admins 2017-02-15 21:06:20 +05:30
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
5c8cbe6c6f
update base.html 2016-12-20 17:35:49 -05:00
Swapnil Gupta
807255a40c
Added license for libreJS to identify 2016-12-20 17:35:44 -05:00
mridulnagpal
8d5fc5f1c4
icons updated 2016-12-18 12:32:41 -05:00
mridulnagpal
06fb7fab3b
License updated ikiwiki icon added title indented 2016-12-18 12:32:26 -05:00
mridulnagpal
2c721f6f73
icons changed 2016-12-18 12:32:18 -05:00
James Valleroy
66e3febc51
frontpage: Set icon size to 300%
Because the icons don't uniquely identify apps, we don't want to
minimize the shortcut text too much.

Rename center-header to center-info.

Minor adjustments to templates for readability.

Update changelog.
2016-12-04 11:34:02 -05:00
mridulnagpal
c501187af9
frontpage view 2016-12-04 11:33:59 -05:00
mridulnagpal
d8b41f1200
icons arranged 2016-12-04 11:33:56 -05:00
mridulnagpal
9c6cf38155
App View 2016-12-04 11:33:51 -05:00
James Valleroy
0529766b40
frontpage: Adjust template slightly 2016-11-24 11:59:46 -05:00
mridulnagpal
7139b03351
larger icons on frontpage 2016-11-24 11:59:02 -05:00
James Valleroy
69332a903d
Minor changes for frontpage configure button
Remove unneeded gettext around configure URLs.

Remove module-level variables for configure URLs. Just use it directly
in add_shortcut().

Use reverse lookup for configure URLs.

Check that configure_url is set before displaying.

Change appearance of Configure link to a button.
2016-11-21 19:13:23 -05:00
mridulnagpal
8f147e4c7f
frontpage: Show Configure button in service details
Only show when user is logged in.
2016-11-21 12:22:01 -05:00
mridulnagpal
fbe40f17b2
apps requiring login don't show up on frontpage unless logged in 2016-11-15 19:50:58 -05:00
James Valleroy
e761789268
Switch from container-fluid to container
This will narrow the content area for larger displays.
2016-09-11 13:14:52 -04: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
7d2f9549a0
frontpage: Fix regression in showing description
- After the shortcuts were turned into a list instead of dictionary, the
  descriptions stopped showing in the front page due to an 'in' check
  that worked for dict.  Fix this by changing the shortcuts into a
  dictionary.

- Also make the key of the shortcut dict an 'id' instead of 'app' that
  could create confusion how an app maps to a shortcut.

- Minor indentation fixes.
2016-09-02 20:06:41 +05:30
Sunil Mohan Adapa
a319f78a92
frontpage: Don't show apps link when not logged in
Now, that we have link to the front page, that is the ideal page for
anonymous user to go.  Don't show the apps page link when user is not
logged in.
2016-09-02 20:06:19 +05:30
James Valleroy
0d350638d0
frontpage: Mention Debian in sidebar text 2016-09-02 20:05:47 +05:30
James Valleroy
49eadd971a
Add information about enabled services to front page 2016-09-02 20:03:39 +05:30
James Valleroy
fa0bc7471f
frontpage: Add shortcut for each ikiwiki wiki and blog 2016-09-02 20:03:32 +05:30
James Valleroy
3eb7dd914a
Add basic front page with shortcuts to web apps 2016-09-02 20:03:24 +05:30
Sunil Mohan Adapa
037944e5fc
help: Minor updates and fixes to status log
- Refactor reading status log file.

- Fix hardcoded URL path into 500.html.

- Rename 'status logs' to 'status log' for consistency.

- Decorate the personal information warning.  Avoid <b>.

- Add heading to status log page.

- Indentation and grammer fixes.
2016-08-26 21:51:58 -04:00
James Valleroy
561c7c1e6b
Make minor changes to status log page 2016-07-21 18:00:53 -04:00
Hemanth Kumar Veeranki
8d5ef42b73
Created a Status Log page, Linked to 500 Template
Issue #451
2016-07-21 17:58:08 -04:00
Sunil Mohan Adapa
ad61028a3a
menu: Sort menu items for all locales
Currently menu items are shown in alphabetical order in applications and
no clear order in system configuration.  This is done using static
weights for menu items based on English names that does not work for
other locales.

Sorting can't be done at the time of adding menu items as users of
multiple locales may use the interface at the same time.

Implement a sorting mechanism based on existing order as well as labels
of menu item.  This allows the flexiblity of grouping menu items in
future as it may be need for system configuration.  In case of help menu

Remove sort order for all modules except for help menu as here we want
that specific order.
2016-06-06 17:44:59 -04:00
fonfon
b54846b0ce
Services: Template restructuring
- renamed app.html to simple_service.html
- allow hiding the 'status' block instead of using separate
  apache_service.html template
2016-05-11 18:19:35 -04:00
fonfon
f419c28596
Services: Explicitly use ServiceForm and ServiceView
- adapted all modules to not use views.ConfigurationView anymore
- removed templates that are not needed anymore
- no more implicit 'enabled' and 'get_status' functions in __init__.py files
- (more coherent/explicit use of Django functionality)
2016-05-11 18:19:31 -04:00
Sunil Mohan Adapa
1f5fa31e53
package: Remove old package installation methods 2016-02-13 13:52:33 +05:30
Sunil Mohan Adapa
45a1bff51d
templates: Base template for all applications
To show introduction and title of a module which will be available as
properties of a module.  This allows the setup process to show the
introduction to the application instead of a blank page.
2016-02-13 13:50:24 +05:30
Sunil Mohan Adapa
7a4a8fbc99
views: New view to show setup need and progress 2016-02-13 13:50:12 +05:30
Sunil Mohan Adapa
572e68dc36
Make remaining uses of brand name customizable 2016-01-24 00:50:14 +05:30