diff --git a/arches/app/media/css/arches.css b/arches/app/media/css/arches.css index 911d481ab66..9e12e5cf162 100644 --- a/arches/app/media/css/arches.css +++ b/arches/app/media/css/arches.css @@ -9155,6 +9155,24 @@ a.clear-geojson-button:hover { top: 6px } +.msm-list-filter { + display: flex; + padding: 10px; +} + +.msm-list-filter-input { + padding-left: 15px; + width: 250px; + height: 35px; + position: relative; +} + +.msm-list-filter-input .clear-node-search { + top: 9px; + right: 10px; +} + + /* End Function Manager Page */ .category-header { @@ -10583,10 +10601,6 @@ a.search-facet-item.disabled { background: #fafafa; } -.mobile-project-manager-editor .clear-node-search { - top: 50px; -} - .mobile-project-manager-editor .card-nav-container { margin-bottom: 0; } diff --git a/arches/app/media/js/views/mobile-survey-manager.js b/arches/app/media/js/views/mobile-survey-manager.js index fb3d55e685c..c680aba3b4e 100644 --- a/arches/app/media/js/views/mobile-survey-manager.js +++ b/arches/app/media/js/views/mobile-survey-manager.js @@ -11,9 +11,8 @@ define([ ], function(_, ko, BaseManagerView, MobileSurveyManagerViewModel, AlertViewModel, MobileSurveyModel, data, arches) { var viewModel = new MobileSurveyManagerViewModel(data); - + viewModel.arches = arches; viewModel.saveMobileSurvey = function() { - var self = this; this.loading(true); var addMobileSurvey = !this.selectedMobileSurvey().get('id'); this.selectedMobileSurvey().save(function(data) { diff --git a/arches/app/templates/javascript.htm b/arches/app/templates/javascript.htm index fb72da96e06..0d96be79cad 100644 --- a/arches/app/templates/javascript.htm +++ b/arches/app/templates/javascript.htm @@ -218,7 +218,8 @@ export_mapping_file: function(graphid){return "{% url 'export_mapping_file' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', graphid)}, add_resource: function(graphid){return "{% url 'add_resource' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', graphid)}, function_manager: function(graphid){return "{% url 'function_manager' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', graphid)}, - mobile_survey_resources: function(surveyid){return "{% url 'mobile_survey_resources' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', surveyid)}, + mobile_survey_resources: function(surveyid){return "{% url 'mobile_survey_resources' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', surveyid)}, + mobile_survey_editor: function(surveyid){return "{% url 'mobile_survey_editor' 'aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa' %}".replace('aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa', surveyid)}, mobile_survey: "{% url 'mobile_survey_manager' %}", help_template: "{% url 'help_templates' %}" }, diff --git a/arches/app/templates/views/mobile-survey-editor.htm b/arches/app/templates/views/mobile-survey-editor.htm new file mode 100644 index 00000000000..b3c6cad002f --- /dev/null +++ b/arches/app/templates/views/mobile-survey-editor.htm @@ -0,0 +1,860 @@ + +{% extends "base-manager.htm" %} +{% load staticfiles %} +{% load i18n %} + + +{% block title %} +{{ block.super }} +{% trans "Mobile Survey Manager" %} +{% endblock title %} + + +{% block main_content %} +
+ {% trans 'Pick a concise name that makes it easy for people to find your survey' %} +
++ {% trans 'The survey start and end dates are used to limit when people can add or edit Arches data.' %} +
++ Drag & drop the forms you want in your project from the list on the left to the "Selected forms" column. Note that the order of the forms in the "Selected forms" column determines the order of display in the mobile app. +
+ + + ++ {% trans 'Fields:' %} +
+ ++ {% trans 'Fields:' %} + +
+ ++ {% trans 'Allow users to download data' %} +
+ ++ {% trans 'Downloading data allows users to access and edit existing Arches information in the field' %} +
++ {% trans 'Allow users to download the' %} {% trans 'first' %} {{ resource_download_limit }} {% trans 'records in the project extent' %} {% trans "for the resource models you've associated with this project." %} +
+ ++ {% trans 'To define records for download' %} {% trans 'copy and paste the URL from Arches search page' %} +
+ +{% trans 'Activate Survey' %}
+ ++ By activating the survey you will send users an email with the information needed to begin data editing activitites. +
++ {% trans 'Summary' %} +
++ {% trans 'Groups/Users' %} +
++ {% trans 'Models and Data Entry Cards' %} +
+ + + +{% trans 'Add this user to survey' %}
+{% trans 'Activity: 0 edits' %}
+ +- {% trans 'Pick a concise name that makes it easy for people to find your survey' %} -
-- {% trans 'The survey start and end dates are used to limit when people can add or edit Arches data.' %} -
-- Drag & drop the forms you want in your project from the list on the left to the "Selected forms" column. Note that the order of the forms in the "Selected forms" column determines the order of display in the mobile app. -
- - - -- {% trans 'Fields:' %} -
- -- {% trans 'Fields:' %} - -
- -- {% trans 'Allow users to download data' %} -
- -- {% trans 'Downloading data allows users to access and edit existing Arches information in the field' %} -
-- {% trans 'Allow users to download the' %} {% trans 'first' %} {{ resource_download_limit }} {% trans 'records in the project extent' %} {% trans "for the resource models you've associated with this project." %} -
- -- {% trans 'To define records for download' %} {% trans 'copy and paste the URL from Arches search page' %} -
- -{% trans 'Activate Survey' %}
- -- By activating the survey you will send users an email with the information needed to begin data editing activitites. -
-- {% trans 'Summary' %} -
-- {% trans 'Groups/Users' %} -
-- {% trans 'Models and Data Entry Cards' %} -
- - - -{% trans 'Add this user to survey' %}
-{% trans 'Activity: 0 edits' %}
- -