diff --git a/apps/documenteditor/mobile/src/view/search.jsx b/apps/documenteditor/mobile/src/view/search.jsx
new file mode 100644
index 0000000000..dcbcb6de21
--- /dev/null
+++ b/apps/documenteditor/mobile/src/view/search.jsx
@@ -0,0 +1,116 @@
+import React, { Component } from 'react';
+import { Searchbar, Popover, Popup, View, Page, List, ListItem, Navbar, NavRight, Link } from 'framework7-react';
+import { f7ready, f7 } from 'framework7-react';
+import { Device } from '../../../../common/mobile/utils/device';
+
+const popoverStyle = {
+ height: '300px'
+};
+
+class SearchSettingsView extends Component {
+ constructor(props) {
+ super(props);
+
+ this.state = {
+ useReplace: false,
+ caseSensitive: false,
+ markResults: false
+ };
+ }
+
+ onFindReplaceClick(action) {
+ this.setState({
+ useReplace: action == 'replace'
+ });
+ }
+
+ render() {
+ const show_popover = true;
+ const navbar =
+
+ {!show_popover &&
+
+ Done
+ }
+ ;
+ const content =
+
+
+ {navbar}
+
+ this.onFindReplaceClick('find')}>
+ this.onFindReplaceClick('replace')}>
+
+
+ ;
+ return (
+ show_popover ?
+
{content} :
+
{content}
+ )
+ }
+}
+
+class SearchView extends Component {
+ constructor(props) {
+ super(props);
+
+ $$(document).on('page:init', (e, page) => {
+ if ( page.name == 'home' ) {
+ this.$f7.searchbar.create({
+ el: '.searchbar',
+ customSearch: true,
+ expandable: true,
+ backdrop: false,
+ on: {
+ search: (bar, curval, prevval) => {
+ console.log('on search results ' + curval);
+ }
+ }
+ });
+ }
+ });
+
+ this.onSettingsClick = this.onSettingsClick.bind(this);
+ }
+
+ componentDidMount(){
+ }
+
+ onSettingsClick(e) {
+ if ( Device.phone ) {
+ // f7.popup.open('.settings-popup');
+ } else this.$f7.popover.open('#idx-search-settings', '#idx-btn-search-settings');
+ }
+
+ render() {
+ return (
+
+ )
+ }
+}
+
+export {SearchView as default, SearchSettingsView};