diff options
author | korelstar <korelstar@users.noreply.github.com> | 2018-07-24 22:34:05 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-24 22:34:05 +0300 |
commit | fe52c71e727038fdbe76e8d2cefb27c964d0f15c (patch) | |
tree | 69cae6d35cb6ad12cb338c082ef54d4dba0a5c1f /templates | |
parent | e11d328597cad9ced6ec80798f043200e209af5f (diff) |
add setting for default file suffix
Diffstat (limited to 'templates')
-rw-r--r-- | templates/main.php | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/main.php b/templates/main.php index 06c00d80..94311a00 100644 --- a/templates/main.php +++ b/templates/main.php @@ -80,8 +80,14 @@ style('notes', [ <button class="settings-button" data-apps-slide-toggle="#app-settings-content"><?php p($l->t('Settings'));?></button> </div> <div id="app-settings-content"> - <p class="settings-hint"><label for="notesPath"><?php p($l->t('Folder to store your notes:')) ?></label></p> - <input type="text" name="notesPath" ng-model="settings.notesPath" placeholder="<?php p($l->t('path to notes')); ?>" id="notesPath" style="width:100%"/> + <div class="settings-notesPath"> + <p class="settings-hint"><label for="notesPath"><?php p($l->t('Folder to store your notes')) ?></label></p> + <input type="text" name="notesPath" ng-model="settings.notesPath" placeholder="<?php p($l->t('path to notes')); ?>" id="notesPath" style="width:80%"/><input type="submit" class="icon-confirm" value=""> + </div> + <div class="settings-fileSuffix"> + <p class="settings-hint"><label for="fileSuffix"><?php p($l->t('File extension for new notes')) ?></label></p> + <select id="fileSuffix" ng-model="settings.fileSuffix" ng-options="o as o for o in extensions"></select><input type="submit" class="icon-confirm" value=""> + </div> </div> </div> |