Commit Graph
56 Commits
Author SHA1 Message Date
Joseph Nuthalapati 3b3dafe893 power: Merge power merge into the user dropdown
Closes #1074.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-10-18 17:43:24 +05:30
Joseph Nuthalpati f069f663d0 UI: Make apps and configure pages responsive on small screens
- Hide the listing of apps and configuration options on small screens,
  so that the user doesn't have to navigate to the bottom of the page.
- Closes #921

Reviewed-by: Johannes Keyser <johanneskeyser@posteo.de>
2017-08-09 18:20:44 +02:00
Johannes Keyser 217995a237 navbar: moved logout to user drop-down and added a new power drop-down 2017-06-12 19:29:05 -04:00
Johannes Keyser 8ae6fbbd4c help: only show help pages if user is logged in 2017-06-07 22:22:08 -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
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
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
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
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
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 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 3eb7dd914a Add basic front page with shortcuts to web apps 2016-09-02 20:03:24 +05:30
Sunil Mohan Adapa 572e68dc36 Make remaining uses of brand name customizable 2016-01-24 00:50:14 +05:30
Sunil Mohan Adapa 4602c5bfce Use translated brand name in templates
Using brand name directly from configuration means that it can't be
easily translated.  Instead use the translated brand name sent in my the
context processor.
2016-01-24 00:37:01 +05:30
Sunil Mohan Adapa 75896d4d1f box_name instead of FreedomBox in base template 2015-12-30 01:09:55 +05:30
fonfon 0f742d704b firstboot: Dont show normal mainmenu in help pages
- plus some minor adaptions like titles and using cfg.box_name
2015-12-30 01:08:43 +05:30
Sunil Mohan Adapa 6fddac4471 Remove link from the FreedomBox logo
- Because having FreedomBox logo and the applications icon both
  redirecting to the same page is confusing.
2015-11-28 17:44:43 -05:00
Sunil Mohan Adapa e507fe163f Use icon for applications button intead of text
The concern that people are unable to find a way to get back to
applications is a correct one.  The recent changes does fix the problem.

However, it takes a step back in the design.  The 'Applications' text is
too prominent.  I propose that we replace it with the commonly used
icon.  Featured in mobile interfaces and on Google home page, users
should have no difficulty identifing it as applications icon.

After experimenting with the placement of the icon, it seems more
asthetically pleasing to have it at the place of 'Applications' text and
not at the center etc.
2015-11-28 17:44:43 -05:00
Sunil Mohan Adapa 02cd89b60d Internationalize strings in template files 2015-11-13 22:02:17 +05:30
Sunil Mohan Adapa f3a0c70d23 first_boot: Add separate greeting page 2015-10-28 20:02:56 -04:00
fonfon c2bd038ef2 changed description texts in the main landing pages 2015-10-28 19:52:14 -04:00
fonfon b934668dc5 renamed menu entry 'FreedomBox' to 'Applications' 2015-10-28 19:52:14 -04:00
fonfon 5591047df3 base template: added titles to the main menu 2015-10-28 19:52:14 -04:00
Sunil Mohan Adapa 09fa98f8b1 Make login box thinner and fix identation 2015-09-19 17:36:47 +05:30
ashok 5f9ddae0a9 Login Page 2015-09-17 23:21:42 +05:30
Sunil Mohan Adapa 9752ab8188 Use modernizr & CSS for user menu without JS
Modernizr adds a class called 'js' to the <html> element when javascript
is available.  We, as a part of basic modernizr setup, add a class
called 'no-js' to <html> element by default.  Use this fact to show/hide
elements when javascript is not available.
2015-05-04 00:56:37 +05:30
James Valleroy 22a020e63b User dropdown menu links to user edit page when javascript is disabled.
Fix indentation.
2015-05-02 10:39:19 -04:00
James Valleroy 62c4eb8f1e Add logout button that is only shown when javascript is disabled. 2015-05-02 10:32:06 -04:00
Sunil Mohan Adapa 7e3a7ad53c Implement a simpler navigation bar
- Add a login menu for 'edit' user, 'change password' and 'logout'
  items.

- Move settings to right and remove label.

- Move documention to right, remove label and change icon.

- Remove apps menu.  User is expected to use the brand icon for reaching
  apps.  It is also the home page and the main focus of entire
  interface.
2015-05-01 21:14:04 -04:00
Sunil Mohan Adapa d22b0d4185 Don't use inverted look for navigation bar
This contribute to a flatter and simple appearance.
2015-05-01 21:14:04 -04:00
Sunil Mohan Adapa 53b0f5aca8 Don't use wells for placing all the content 2015-05-01 21:14:04 -04:00
Sunil Mohan Adapa b5bfb388e9 Remove symlinks to javascript libraries 2015-01-13 12:25:17 +05:30
Sunil Mohan Adapa 90203986f2 Remove modules 'expert_mode' and 'lib'.
The login/logout URLs are now in the 'users' module.
2014-12-14 17:26:05 +05:30
fonfon 4b3b3c666a Refactored 'users' module
- allows editing users (currently the groups and username)
- allows any logged-in user to change the passwords of any other users
- improved url highlighting of subsubmenu
2014-12-09 20:49:13 +01:00
Sunil Mohan Adapa e6b5bed1f3 Use margins or <p> instead of <br /> 2014-12-06 17:08:37 +05:30
fonfon 96a14e3d0d moved 'in-app menu' from the sidebar to the top of the content; some template block renaming 2014-12-06 17:08:37 +05:30
fonfon e2a867901d removed js_block: use page_js or app_js instead 2014-12-02 12:54:04 +01:00
Sunil Mohan Adapa 5b969d9d30 Explicitly write license headers for each source file
The package license (AGPL3+) implicitly indicates the license of each
file.  However, it is desirable to have license headers in each file.
This is the case for many prominent projects like GNU project, Mozilla
etc.
2014-11-30 14:49:49 +05:30
Sunil Mohan Adapa dad4eccbde Remove copyright information in footer for cleaner apperance 2014-11-30 14:49:49 +05:30