From 6fb99ae89ee9e1ba0b2934354a7ae06614e115d3 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 6 Nov 2018 15:53:23 +0100 Subject: [PATCH] changed ejs indentation to 2 spaces instead of 4 (or mix) --- .idea/codeStyles/Project.xml | 10 + .idea/codeStyles/codeStyleConfig.xml | 5 + src/public/javascripts/dialogs/attributes.js | 6 +- src/views/dialogs/add_link.ejs | 72 ++-- src/views/dialogs/attributes.ejs | 192 ++++++---- src/views/dialogs/edit_tree_prefix.ejs | 24 +- src/views/dialogs/event_log.ejs | 2 +- src/views/dialogs/jump_to_note.ejs | 42 +- src/views/dialogs/markdown_import.ejs | 6 +- src/views/dialogs/note_revisions.ejs | 28 +- src/views/dialogs/note_source.ejs | 2 +- src/views/dialogs/options.ejs | 362 +++++++++--------- .../dialogs/protected_session_password.ejs | 24 +- src/views/dialogs/sql_console.ejs | 16 +- src/views/login.ejs | 62 +-- src/views/setup.ejs | 186 ++++----- 16 files changed, 537 insertions(+), 502 deletions(-) create mode 100644 .idea/codeStyles/Project.xml create mode 100644 .idea/codeStyles/codeStyleConfig.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 000000000..664f8f1a7 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,10 @@ + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 000000000..79ee123c2 --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/src/public/javascripts/dialogs/attributes.js b/src/public/javascripts/dialogs/attributes.js index aeed6bdfd..b083431a2 100644 --- a/src/public/javascripts/dialogs/attributes.js +++ b/src/public/javascripts/dialogs/attributes.js @@ -227,11 +227,7 @@ async function showDialog() { await attributesModel.loadAttributes(); - $dialog.dialog({ - modal: true, - width: 950, - height: 700 - }); + $dialog.modal(); } ko.applyBindings(attributesModel, $dialog[0]); diff --git a/src/views/dialogs/add_link.ejs b/src/views/dialogs/add_link.ejs index 78e4b7437..1b40ee0f1 100644 --- a/src/views/dialogs/add_link.ejs +++ b/src/views/dialogs/add_link.ejs @@ -1,47 +1,47 @@ \ No newline at end of file diff --git a/src/views/dialogs/attributes.ejs b/src/views/dialogs/attributes.ejs index 802bfe2b6..24ec44780 100644 --- a/src/views/dialogs/attributes.ejs +++ b/src/views/dialogs/attributes.ejs @@ -1,114 +1,138 @@ -
-
-
- +
diff --git a/src/views/dialogs/edit_tree_prefix.ejs b/src/views/dialogs/edit_tree_prefix.ejs index b57dfa313..0cad75eaa 100644 --- a/src/views/dialogs/edit_tree_prefix.ejs +++ b/src/views/dialogs/edit_tree_prefix.ejs @@ -1,16 +1,16 @@
-
-
-   - - -
+ +
+   + - +
-
- +
+ - -
- + +
+
\ No newline at end of file diff --git a/src/views/dialogs/event_log.ejs b/src/views/dialogs/event_log.ejs index 2af2af829..e11e7d530 100644 --- a/src/views/dialogs/event_log.ejs +++ b/src/views/dialogs/event_log.ejs @@ -1,3 +1,3 @@
-
    +
      \ No newline at end of file diff --git a/src/views/dialogs/jump_to_note.ejs b/src/views/dialogs/jump_to_note.ejs index ee400b71e..378ea0125 100644 --- a/src/views/dialogs/jump_to_note.ejs +++ b/src/views/dialogs/jump_to_note.ejs @@ -1,27 +1,27 @@