Commit Graph

154 Commits

Author SHA1 Message Date
Santiago Lamora b896b1da82 Hidde Saas "Installed on" until API exposes that. 2020-01-21 13:24:49 +01:00
Santiago Lamora d2d0832d6b Show & lay SaaS details out. 2020-01-21 13:20:28 +01:00
Santiago Lamora 7dbf55f495 Add link to billing on profile page. 2020-01-21 13:10:12 +01:00
Santiago Lamora 5595ae6fd6 Fix profile menu background color. 2020-01-21 12:30:37 +01:00
Santiago Lamora 3890fec111 Push to bottom profile menu on sidebar. 2020-01-20 18:34:00 +01:00
Santiago Lamora 36b0033b11 Move version to top & fix services_menu list. 2020-01-20 18:33:33 +01:00
Santiago Lamora d43b849d49 Code template when no saas exists. 2020-01-20 18:19:55 +01:00
Santiago Lamora 5495808d9c Set sidebar paddings. 2020-01-20 18:17:37 +01:00
Santiago Lamora 442c2a3d19 Code template when no database exists. 2020-01-20 17:59:49 +01:00
Santiago Lamora d0b4ef2873 Remove database from dashboard domain.
Databases are not related to domains, you cannot filter by it
so it's weird to provide a link on each existing domain.
2020-01-20 17:40:27 +01:00
Santiago Lamora b277b9a2e4 Show website information related to each domain. 2020-01-20 17:27:11 +01:00
Santiago Lamora 81fa9b57fd Retrieve websites associated to a domain 2020-01-20 10:45:18 +01:00
Santiago Lamora 6980522d81 Make more descriptive variable names. 2020-01-20 10:20:26 +01:00
Santiago Lamora 90ad13e61a Define WebSite orchestra resource. 2020-01-20 10:15:27 +01:00
Santiago Lamora 160e0b059f Bugfix: handle users that has never logged into
Regression introduced by 669600f4da
2020-01-14 13:50:17 +01:00
Santiago Lamora 34faf13dc6 Hide database.domain until is provided by orchestra 2020-01-14 13:10:16 +01:00
Santiago Lamora 10392c0eb5 Merge branch 'issue2_orchestra_api_review'
Closes #2
2020-01-14 12:23:51 +01:00
Santiago Lamora a9f23f6ea4 Hide domain.expiration_date (not provided by orchestra) 2020-01-14 11:45:54 +01:00
Santiago Lamora 669600f4da Show user.last_login on dashboard 2020-01-14 11:40:42 +01:00
Santiago Lamora 4cc3707ad5 Show if a list is active or not. 2020-01-14 11:28:57 +01:00
Santiago Lamora f6d13d6b95 Set title pages. 2020-01-07 13:53:59 +01:00
Santiago Lamora d3d75e7542 Add light gray logo to dashboard background. 2020-01-07 13:27:06 +01:00
Santiago Lamora aba3495f94 Add lilla logo to login background. 2020-01-07 13:18:21 +01:00
Merce 06e75d71db Replace django.po 2019-12-20 10:41:29 +00:00
Merce 5be23eabf6 Replace django.po 2019-12-20 10:09:56 +00:00
Merce 301570587b Replace django.po 2019-12-20 10:09:22 +00:00
Merce 0783e8f005 Replace django.po 2019-12-20 10:05:54 +00:00
Santiago Lamora 6ef94485d6 Mark 'Settings' string to be translated. 2019-12-18 11:38:09 +01:00
Santiago Lamora c738ebf4cb Update translation strings and .po files. 2019-12-18 11:35:28 +01:00
Santiago Lamora ce7de306e3 Translate menu items. 2019-12-18 10:56:48 +01:00
Santiago Lamora 7744ce6d85 Merge branch 'master' into i18n 2019-12-18 10:30:25 +01:00
Santiago Lamora c2d865d664 Add view to retrieve bill document. 2019-12-17 15:15:58 +01:00
Santiago Lamora 186d20ec20 Retrieve user bills. 2019-12-17 14:48:21 +01:00
Santiago Lamora 770c6c9c9b Fix Mail and Mailinglist `__init__` 2019-12-17 14:10:59 +01:00
Santiago Lamora 37c9183c1e Render payment method details. 2019-12-17 13:50:53 +01:00
Santiago Lamora ff481b6317 Code styles of profile view. 2019-12-17 13:04:53 +01:00
Santiago Lamora 7c17d929fa Fix OrchestraModel `__str__` method. 2019-12-17 13:04:09 +01:00
Santiago Lamora 78fcfeefcb Remove unused css id. 2019-12-17 11:58:38 +01:00
Santiago Lamora 92715994c2 Prepare mailing list to be filtered by domain.
Will work when backend supports it.
2019-12-17 11:57:59 +01:00
Santiago Lamora 5520ff63f3 Show active_domain and add 'go to global' button. 2019-12-17 11:32:38 +01:00
Santiago Lamora 9cbeb325bb Filter mail addresses by domain (if any). 2019-12-17 11:16:23 +01:00
Santiago Lamora af21ca027b Create .btn-arrow-left and add go back link. 2019-12-17 10:52:39 +01:00
Santiago Lamora c2b3485485 Handle not found domain. 2019-12-17 10:25:10 +01:00
Santiago Lamora c69668a9eb Define 'view DNS records' href link. 2019-12-13 15:13:10 +01:00
Santiago Lamora 3db5aa8621 Created domain-detail view. 2019-12-13 15:08:01 +01:00
Santiago Lamora 4f9babb7b4 Don't group addresses of type forward. 2019-12-13 13:49:12 +01:00
Santiago Lamora e6dc5cf872 Show resource usage based on plan definition. 2019-12-12 15:01:51 +01:00
Santiago Lamora 6520798493 Add links to services of the domain. 2019-12-12 14:27:01 +01:00
Santiago Lamora fbf12f65f2 Update dashboard to use retrieved domains data. 2019-12-12 14:19:39 +01:00
Santiago Lamora 07b15faf8e Support retrieving domains and its related services. 2019-12-12 14:18:29 +01:00
Santiago Lamora 027dc365be Code domain configuration details modal. 2019-12-12 12:11:07 +01:00
Santiago Lamora 381c6f656e Code style of domain details card. 2019-12-12 10:48:40 +01:00
Santiago Lamora d6a3a8f559 Code resource usage cards of the dashboard. 2019-12-10 14:02:26 +01:00
Santiago Lamora 5abdcd56db Include profile context var for loggued users. 2019-12-10 13:04:04 +01:00
Santiago Lamora eb0e65f132 Configure i18n and create initial locale .po files
- Catalan (ca)
- Spanish (es)
2019-12-10 11:59:01 +01:00
Santiago Lamora bce5a489d0 Add modal with recover password instructions. 2019-12-10 11:57:40 +01:00
Santiago Lamora c464c7bb28 Merge branch 'gui-design' 2019-12-10 10:39:35 +01:00
Santiago Lamora 0bd49c04c4 Create and code styles of saas view. 2019-12-06 10:28:34 +01:00
Santiago Lamora 0da97abd3e Add Saas api model. 2019-12-06 10:27:18 +01:00
Santiago Lamora 4d49c07ee3 Add dropdown links to profile and billing 2019-12-06 10:01:08 +01:00
Santiago Lamora f3adc60424 Create and code styles of billing view. 2019-12-06 10:00:11 +01:00
Santiago Lamora e59761a709 Code styles of databases view. 2019-12-04 14:13:56 +01:00
Santiago Lamora 525f17e8b5 Create component 'usage_progress_bar'. 2019-12-04 14:13:33 +01:00
Santiago Lamora fd6df8c4b0 Code styles of mailing list view. 2019-12-04 12:37:35 +01:00
Santiago Lamora 5f626b9daf Render mailbox usage progress bar. 2019-12-04 11:45:09 +01:00
Santiago Lamora 9a33f3363a Set fixed width of service-list table. 2019-12-04 11:44:14 +01:00
Santiago Lamora 50bcd89fcd Code paginator style. 2019-12-03 14:07:57 +01:00
Santiago Lamora 78ac35cc6f Code styles of services table (mail addresses). 2019-12-03 13:34:39 +01:00
Santiago Lamora 51788b72cc Add Roboto font from Google Fonts. 2019-12-03 13:34:12 +01:00
Santiago Lamora 4996acd325 Set menu font awesome icons. 2019-12-03 12:46:59 +01:00
Santiago Lamora b3a69a6efe Add user profile default picture. 2019-12-03 12:46:33 +01:00
Santiago Lamora f8808ed087 Add Bootstrap theme using Pangea color palette. 2019-12-03 12:45:54 +01:00
Santiago Lamora 330316f0f3 Include font-awesome CSS & Webfonts. 2019-12-03 12:41:34 +01:00
Santiago Lamora 3adf1d5d79 Code style of login view. 2019-12-02 17:45:46 +01:00
Santiago Lamora d3d87d37c3 Code Profile template. 2019-11-20 20:07:35 +01:00
Santiago Lamora 902ef7a949 Fix mailing list component. 2019-11-20 17:41:15 +01:00
Santiago Lamora 8a2d409e32 Code mail component. 2019-11-20 17:25:32 +01:00
Santiago Lamora 5322f62cdf Create paginator component as div and cols. 2019-11-20 17:09:08 +01:00
Santiago Lamora 85f1d433a3 Lay out database component. 2019-11-20 11:04:35 +01:00
Santiago Lamora 98c5482f5b Refactor and rename Service --> OrchestraModel class. 2019-11-20 10:29:39 +01:00
Santiago Lamora 37854207dc Create database list view. 2019-11-13 12:27:25 +01:00
Santiago Lamora c8e8f778d7 Rename Service.name --> Service.api_name
Avoid collision name attributes with service data.
2019-11-13 12:26:35 +01:00
Santiago Lamora 0fa3408035 Create mailing list view. 2019-11-13 11:42:23 +01:00
Santiago Lamora 24bce2ab04 Create generic ServiceListView and implement MailView 2019-11-13 11:08:19 +01:00
Santiago Lamora 054b7e92ac Create `ExtendedPaginationMixin`. 2019-10-31 17:16:51 +01:00
Santiago Lamora b08ecdef17 Implement MailingList view supporting pagination. 2019-10-31 14:09:49 +01:00
Santiago Lamora cb7587c202 Create a generic method to retrieve any service. 2019-10-31 14:08:49 +01:00
Santiago Lamora 6fe6651857 Fix typo. 2019-10-31 14:00:01 +01:00
Santiago Lamora eef75d3795 Fix redirect to 'next' URL on login. 2019-10-31 10:46:54 +01:00
Santiago Lamora 2e283cd39e Complete navbar with link to the services. 2019-10-30 14:36:59 +01:00
Santiago Lamora 8875e160f2 Create base views to all the services. 2019-10-30 14:36:59 +01:00
Santiago Lamora a564f76000 Fix missing import. 2019-10-30 14:23:46 +01:00
Santiago Lamora 0650155e83 Retrieve and show user domains on the dashboard. 2019-10-30 14:08:14 +01:00
Santiago Lamora 3f07ca7f8a Add `UserTokenRequiredMixin`.
Create a subclass of `UserPassesTestMixin` that checks user
has an authorized token.
2019-10-30 14:06:55 +01:00
Santiago Lamora c6698ae761 Add `verify_credentials` method. 2019-10-30 14:00:12 +01:00
Santiago Lamora 5b2294b699 Implement login and logout through cookie sessions 2019-10-30 13:05:46 +01:00
Santiago Lamora 77ee7987a2 Add custom login view to replace of django.auth 2019-10-29 10:58:54 +01:00
Santiago Lamora 750d5cc465 Add basic structure to access django-orchestra API 2019-10-29 10:47:50 +01:00
Santiago Lamora 676e9b94a5 First draft of dashboard view. 2019-10-25 13:33:37 +02:00
Santiago Lamora dc1de203d0 Create base layout with sidebar + content. 2019-10-25 13:32:21 +02:00