Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/passman.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/views/partials')
-rw-r--r--templates/views/partials/forms/edit_credential/basics.html47
-rw-r--r--templates/views/partials/forms/edit_credential/files.html4
-rw-r--r--templates/views/partials/forms/edit_credential/password.html73
-rw-r--r--templates/views/partials/forms/settings/export.html2
-rw-r--r--templates/views/partials/forms/settings/general_settings.html89
-rw-r--r--templates/views/partials/forms/settings/import.html2
-rw-r--r--templates/views/partials/forms/settings/password_settings.html87
-rw-r--r--templates/views/partials/forms/settings/sharing.html2
-rw-r--r--templates/views/partials/forms/share_credential/link_sharing.html8
9 files changed, 165 insertions, 149 deletions
diff --git a/templates/views/partials/forms/edit_credential/basics.html b/templates/views/partials/forms/edit_credential/basics.html
index 61314dcb..4a89e6a7 100644
--- a/templates/views/partials/forms/edit_credential/basics.html
+++ b/templates/views/partials/forms/edit_credential/basics.html
@@ -1,36 +1,46 @@
<div class="row">
<div class="col-xs-12 col-md-6">
- <label >{{ 'label' | translate}}</label>
- <div class="icon-label">
- <div class="icon-picker" icon-picker="storedCredential"></div>
- <input type="text" class="form-control" ng-model="storedCredential.label">
+ <div class="setting-group">
+ <label >{{ 'label' | translate}}</label>
+ <div class="icon-label">
+ <div class="icon-picker" icon-picker="storedCredential"></div>
+ <input type="text" class="form-control" ng-model="storedCredential.label">
+ </div>
</div>
- <label>{{ 'username' | translate}}</label>
- <div>
+
+ <div class="setting-group">
+ <label>{{ 'username' | translate}}</label>
<input type="text" ng-model="storedCredential.username">
</div>
- <label>{{ 'email' | translate}}</label>
- <div>
+
+ <div class="setting-group">
+ <label>{{ 'email' | translate}}</label>
<input type="text" ng-model="storedCredential.email">
</div>
- <label>{{ 'password' | translate}}</label>
- <div>
- <password-gen ng-model="storedCredential.password" settings="pwSettings" callback="pwGenerated"></password-gen>
- <ng-password-meter password="storedCredential.password"></ng-password-meter>
+
+ <div class="setting-group">
+ <label>{{ 'password' | translate}}</label>
+ <div>
+ <password-gen ng-model="storedCredential.password" settings="pwSettings" callback="pwGenerated"></password-gen>
+ <ng-password-meter password="storedCredential.password"></ng-password-meter>
+ </div>
</div>
- <div>
+
+ <div class="setting-group">
<label>{{ 'password.r' | translate}}</label>
<input type="password" ng-model="storedCredential.password_repeat">
</div>
- <label>{{ 'url' | translate}}</label>
- <div>
+
+ <div class="setting-group">
+ <label>{{ 'url' | translate}}</label>
<input type="text" ng-model="storedCredential.url">
</div>
</div>
+
<div class="col-xs-12 col-md-6">
- <label>{{ 'notes' | translate}}</label>
- <div>
+ <div class="setting-group">
+ <label>{{ 'notes' | translate}}</label>
<textarea class="credential_textarea" ng-model="storedCredential.description"></textarea>
</div>
<label>{{ 'add.tag' | translate}}</label>
@@ -40,8 +50,9 @@
</tags-input>
</div>
</div>
+
<div class="col-xs-12 col-md-6">
- <button class="compromised-button" ng-click="compromise()">{{ 'compromised.label' | translate}}</button>
+ <button class="btn-danger compromised-button" ng-click="compromise()">{{ 'compromised.label' | translate}}</button>
<div class="compromised-details" ng-show="storedCredential.compromised">
<div class="icon-error-color icon"></div>
<div class="text">{{ 'compromised.warning' | translate }}</div>
diff --git a/templates/views/partials/forms/edit_credential/files.html b/templates/views/partials/forms/edit_credential/files.html
index b50c34d9..7f9281e8 100644
--- a/templates/views/partials/forms/edit_credential/files.html
+++ b/templates/views/partials/forms/edit_credential/files.html
@@ -10,7 +10,7 @@
<div class="row files" ng-if="storedCredential.files.length > 0">
<div class="col-xs-12 table">
<table>
- <thead use-theme>
+ <thead>
<tr>
<th class="field_label">{{ 'file.name' | translate }}</th>
<th class="field_value">{{ 'upload.date' | translate}}</th>
@@ -32,4 +32,4 @@
</tr>
</table>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/views/partials/forms/edit_credential/password.html b/templates/views/partials/forms/edit_credential/password.html
index 3e6868de..a4a9b0f4 100644
--- a/templates/views/partials/forms/edit_credential/password.html
+++ b/templates/views/partials/forms/edit_credential/password.html
@@ -1,17 +1,21 @@
<div class="row">
<div class="col-xs-12 col-md-5 col-lg-5">
- <label>{{ 'password' | translate}}</label>
- <div>
- <password-gen ng-model="storedCredential.password"
- settings="pwSettings" callback="pwGenerated"></password-gen>
- <ng-password-meter
- password="storedCredential.password"></ng-password-meter>
+ <div class="setting-group">
+ <label>{{ 'password' | translate}}</label>
+ <div>
+ <password-gen ng-model="storedCredential.password"
+ settings="pwSettings" callback="pwGenerated"></password-gen>
+ <ng-password-meter
+ password="storedCredential.password"></ng-password-meter>
+ </div>
</div>
- <label>{{ 'password.r' | translate}}</label>
- <div>
+
+ <div class="setting-group">
+ <label>{{ 'password.r' | translate}}</label>
<input type="password" ng-model="storedCredential.password_repeat">
</div>
+
<label>{{ 'expire.date' | translate}}</label>
<div>
<span datetime-picker ng-model="storedCredential.expire_time" class="link"
@@ -48,44 +52,37 @@
<input type="number" ng-model="pwSettings.length" min="1">
</label>
+ <br>
<label>
<span class="label">{{'password.generation.min_digits' | translate}}</span><br />
<input type="number" ng-model="pwSettings.minimumDigitCount" min="0">
</label>
</div>
- <div class="col-xs-12 col-sm-6 col-lg-6">
- <label>
- <input type="checkbox"
- ng-model="pwSettings.useUppercase">
- <span class="label sm">{{ 'password.generation.uppercase' | translate}}</span>
- </label>
- <label>
- <input
- ng-model="pwSettings.useLowercase" type="checkbox"
- id="lower">
- <span class="label sm">{{ 'password.generation.lowercase' | translate}}</span>
- </label>
- <label>
- <input ng-model="pwSettings.useDigits" type="checkbox"
- id="digits">
- <span class="label sm">{{ 'password.generation.digits' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" id="special"
+ <div class="col-xs-12 col-sm-6 col-lg-6 display-grid">
+ <input id="pwSettings.useUppercase" class="checkbox" type="checkbox"
+ ng-model="pwSettings.useUppercase">
+ <label for="pwSettings.useUppercase">{{'password.generation.uppercase' | translate}}</label>
+
+ <input id="pwSettings.useLowercase" class="checkbox" type="checkbox"
+ ng-model="pwSettings.useLowercase">
+ <label for="pwSettings.useLowercase">{{'password.generation.lowercase' | translate}}</label>
+
+ <input id="pwSettings.useDigits" class="checkbox" type="checkbox"
+ ng-model="pwSettings.useDigits">
+ <label for="pwSettings.useDigits">{{'password.generation.digits' | translate}}</label>
+
+ <input id="pwSettings.useSpecialChars" class="checkbox" type="checkbox"
ng-model="pwSettings.useSpecialChars">
- <span class="label sm">{{ 'password.generation.special' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" id="ambig"
+ <label for="pwSettings.useSpecialChars">{{'password.generation.special' | translate}}</label>
+
+ <input id="pwSettings.avoidAmbiguousCharacters" class="checkbox" type="checkbox"
ng-model="pwSettings.avoidAmbiguousCharacters">
- <span class="label sm">{{ 'password.generation.ambiguous' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" ng-model="pwSettings.requireEveryCharType"
- id="reqevery">
- <span class="label sm">{{ 'password.generation.require_same' | translate}}</span>
- </label>
+ <label for="pwSettings.avoidAmbiguousCharacters">{{'password.generation.ambiguous' | translate}}</label>
+
+ <input id="pwSettings.requireEveryCharType" class="checkbox" type="checkbox"
+ ng-model="pwSettings.requireEveryCharType">
+ <label for="pwSettings.requireEveryCharType">{{'password.generation.require_same' | translate}}</label>
</div>
</div>
</div>
diff --git a/templates/views/partials/forms/settings/export.html b/templates/views/partials/forms/settings/export.html
index 6930ed34..853893f1 100644
--- a/templates/views/partials/forms/settings/export.html
+++ b/templates/views/partials/forms/settings/export.html
@@ -11,7 +11,7 @@
</select></label>
<div><b>{{selectedExporter.description}}</b></div>
- <div ng-show="selectedExporter" class="nopadding">
+ <div ng-show="selectedExporter" class="nopadding setting-group">
<label>{{ 'export.confirm.text' | translate }}</label>
<input type="password" ng-model="confirm_key">
<br />
diff --git a/templates/views/partials/forms/settings/general_settings.html b/templates/views/partials/forms/settings/general_settings.html
index 9792e5ec..7172f53c 100644
--- a/templates/views/partials/forms/settings/general_settings.html
+++ b/templates/views/partials/forms/settings/general_settings.html
@@ -1,48 +1,59 @@
<div class="row">
<div class="col-xs-12 col-md-6">
- <h3>{{ 'rename.vault' | translate}}</h3>
- <label>{{ 'rename.vault.name' | translate}}</label>
- <input type="text" ng-model="$parent.new_vault_name">
- <button ng-click="saveVaultSettings()">
- {{ 'change' | translate}}
- </button>
-
- <h3>{{ 'change.vault.key' | translate}}</h3>
- <label>{{ 'old.vault.password' | translate}}</label>
- <input type="password" ng-model="oldVaultPass">
- <label>{{ 'new.vault.password' | translate}}</label>
- <input type="password" ng-model="newVaultPass" />
- <ng-password-meter password="newVaultPass" score="vault_key_score"></ng-password-meter>
- <label>{{ 'new.vault.pw.r' | translate}}</label>
- <input type="password" ng-model="newVaultPass2">
- <div ng-show="error || vault_key_score.score < minimal_value_key_strength" class="error">
- <ul>
- <li>{{error}}</li>
- <li ng-show="vault_key_score.score < minimal_value_key_strength">{{'min.vault.key.strength' | translate:required_score}}</li>
- </ul>
+ <div class="setting-group margin-bottom-25">
+ <h3>{{ 'rename.vault' | translate}}</h3>
+ <label>{{ 'rename.vault.name' | translate}}</label>
+ <input type="text" ng-model="$parent.new_vault_name">
+ <button ng-click="saveVaultSettings()">
+ {{ 'change' | translate}}
+ </button>
</div>
- <button ng-click="changeVaultPassword(oldVaultPass,newVaultPass,newVaultPass2)" ng-disabled="vault_key_score.score < minimal_value_key_strength"
- >{{ 'change' | translate}}
- </button>
- <div ng-show="change_pw.total > 0">
- {{'warning.leave' | translate}}<br />
- {{ 'processing' | translate}} {{cur_state.process}}
- <div progress-bar="cur_state.calculated" index="cur_state.current" total="cur_state.total"></div>
- {{ 'total.progress' | translate}}
- <div progress-bar="change_pw.percent" index="change_pw.done" total="change_pw.total"></div>
+
+ <div class="setting-group margin-bottom-25">
+ <h3>{{ 'change.vault.key' | translate}}</h3>
+ <label>{{ 'old.vault.password' | translate}}</label>
+ <input type="password" ng-model="oldVaultPass">
+ <label>{{ 'new.vault.password' | translate}}</label>
+ <input type="password" ng-model="newVaultPass" />
+ <ng-password-meter password="newVaultPass" score="vault_key_score"></ng-password-meter>
+ <label>{{ 'new.vault.pw.r' | translate}}</label>
+ <input type="password" ng-model="newVaultPass2">
+ <div ng-show="error || vault_key_score.score < minimal_value_key_strength" class="error">
+ <ul>
+ <li>{{error}}</li>
+ <li ng-show="vault_key_score.score < minimal_value_key_strength">{{'min.vault.key.strength' | translate:required_score}}</li>
+ </ul>
+ </div>
+ <button ng-click="changeVaultPassword(oldVaultPass,newVaultPass,newVaultPass2)" ng-disabled="vault_key_score.score < minimal_value_key_strength"
+ >{{ 'change' | translate}}
+ </button>
+ <div ng-show="change_pw.total > 0">
+ {{'warning.leave' | translate}}<br />
+ {{ 'processing' | translate}} {{cur_state.process}}
+ <div progress-bar="cur_state.calculated" index="cur_state.current" total="cur_state.total"></div>
+ {{ 'total.progress' | translate}}
+ <div progress-bar="change_pw.percent" index="change_pw.done" total="change_pw.total"></div>
+ </div>
</div>
- <h3>{{'delete.vault' | translate}}</h3>
- <b>{{ 'vault.remove.notice' | translate }}</b>
- <label>{{'vault.password' | translate}}</label>
- <input type="password" ng-model="$parent.delete_vault_password">
- <input type="checkbox" ng-model="$parent.confirm_vault_delete"> {{'delete.vault.checkbox' | translate}}<br />
- <button class="btn btn-danger" ng-click="delete_vault()">{{'delete.vault.confirm' | translate}}</button>
- <div ng-show="remove_pw">
- {{'deleting.pw' | translate:translationData}}
- <div progress-bar="remove_pw.percent" index="remove_pw.done" total="remove_pw.total"></div>
+ <div class="setting-group">
+ <h3>{{'delete.vault' | translate}}</h3>
+ <b>{{ 'vault.remove.notice' | translate }}</b>
+ <label>{{'vault.password' | translate}}</label>
+ <input type="password" ng-model="$parent.delete_vault_password">
+
+ <input id="confirmVaultDelete" class="checkbox" type="checkbox"
+ ng-model="$parent.confirm_vault_delete">
+ <label for="confirmVaultDelete">{{'delete.vault.checkbox' | translate}}</label>
+
+ <button class="btn btn-danger" ng-click="delete_vault()">{{'delete.vault.confirm' | translate}}</button>
+ <div ng-show="remove_pw">
+ {{'deleting.pw' | translate:translationData}}
+ <div progress-bar="remove_pw.percent" index="remove_pw.done" total="remove_pw.total"></div>
+ </div>
</div>
+
</div>
<div class="col-xs-12 col-md-6">
<h3>{{ 'about.passman' | translate}}</h3>
@@ -59,4 +70,4 @@
</div>
<div><p ng-bind-html="bookmarklet" style="margin-top: 5px"></p></div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/views/partials/forms/settings/import.html b/templates/views/partials/forms/settings/import.html
index 74007afa..4b3d8ea3 100644
--- a/templates/views/partials/forms/settings/import.html
+++ b/templates/views/partials/forms/settings/import.html
@@ -47,4 +47,4 @@
</div>
</div>
</div>
-<div ng-include="'views/partials/forms/settings/generic_csv_import.html'" ng-show="showGenericImport"></div> \ No newline at end of file
+<div ng-include="'views/partials/forms/settings/generic_csv_import.html'" ng-show="showGenericImport"></div>
diff --git a/templates/views/partials/forms/settings/password_settings.html b/templates/views/partials/forms/settings/password_settings.html
index 75406495..26698957 100644
--- a/templates/views/partials/forms/settings/password_settings.html
+++ b/templates/views/partials/forms/settings/password_settings.html
@@ -1,57 +1,52 @@
<div class="password_settings">
<div class="col-xs-12 col-sm-5 col-lg-4 password-settings-padding-left-fix">
- <label>
- <span class="label">{{ 'password.generation.length' | translate}}</span><br />
- <input type="number" ng-model="vault_settings.pwSettings.length" min="1">
+ <div class="setting-group margin-bottom-10">
+ <label>
+ <span class="label">{{ 'password.generation.length' | translate}}</span><br />
+ <input type="number" ng-model="vault_settings.pwSettings.length" min="1">
+ </label>
+ </div>
- </label>
- <label>
- <span class="label">{{ 'password.generation.min_digits' | translate}}</span><br />
- <input type="number" ng-model="vault_settings.pwSettings.minimumDigitCount" min="0">
+ <div class="setting-group margin-bottom-10">
+ <label>
+ <span class="label">{{ 'password.generation.min_digits' | translate}}</span><br />
+ <input type="number" ng-model="vault_settings.pwSettings.minimumDigitCount" min="0">
+ </label>
+ </div>
- </label>
- <label>
- <span class="label">Generate password on creation</span><br />
- <input type="checkbox" ng-model="vault_settings.pwSettings.generateOnCreate" min="0">
-
- </label>
+ <input id="pwSettings.generateOnCreate" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.generateOnCreate">
+ <label for="pwSettings.generateOnCreate">{{'password.generation.on_create' | translate}}</label>
+ <br>
</div>
- <div class="col-xs-12 col-sm-6 col-lg-6">
- <label>
- <input type="checkbox"
- ng-model="vault_settings.pwSettings.useUppercase">
- <span class="label sm">{{ 'password.generation.uppercase' | translate}}</span>
- </label>
- <label>
- <input
- ng-model="vault_settings.pwSettings.useLowercase" type="checkbox"
- id="lower">
- <span class="label sm">{{ 'password.generation.lowercase' | translate}}</span>
- </label>
- <label>
- <input ng-model="vault_settings.pwSettings.useDigits" type="checkbox"
- id="digits">
- <span class="label sm">{{ 'password.generation.digits' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" id="special"
- ng-model="vault_settings.pwSettings.useSpecialChars">
- <span class="label sm">{{ 'password.generation.special' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" id="ambig"
- ng-model="vault_settings.pwSettings.avoidAmbiguousCharacters">
- <span class="label sm">{{ 'password.generation.ambiguous' | translate}}</span>
- </label>
- <label>
- <input type="checkbox" ng-model="vault_settings.pwSettings.requireEveryCharType"
- id="reqevery">
- <span class="label sm">{{ 'password.generation.require_same' | translate}}</span>
- </label>
+ <div class="col-xs-12 col-sm-6 col-lg-6 display-grid">
+ <input id="pwSettings.useUppercase" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.useUppercase">
+ <label for="pwSettings.useUppercase">{{'password.generation.uppercase' | translate}}</label>
+
+ <input id="pwSettings.useLowercase" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.useLowercase">
+ <label for="pwSettings.useLowercase">{{'password.generation.lowercase' | translate}}</label>
+
+ <input id="pwSettings.useDigits" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.useDigits">
+ <label for="pwSettings.useDigits">{{'password.generation.digits' | translate}}</label>
+
+ <input id="pwSettings.useSpecialChars" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.useSpecialChars">
+ <label for="pwSettings.useSpecialChars">{{'password.generation.special' | translate}}</label>
+
+ <input id="pwSettings.avoidAmbiguousCharacters" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.avoidAmbiguousCharacters">
+ <label for="pwSettings.avoidAmbiguousCharacters">{{'password.generation.ambiguous' | translate}}</label>
+
+ <input id="pwSettings.requireEveryCharType" class="checkbox" type="checkbox"
+ ng-model="vault_settings.pwSettings.requireEveryCharType">
+ <label for="pwSettings.requireEveryCharType">{{'password.generation.require_same' | translate}}</label>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<button class="button" ng-click="saveVaultSettings()">{{ 'save' | translate}}</button>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/views/partials/forms/settings/sharing.html b/templates/views/partials/forms/settings/sharing.html
index 0dee58d6..a046f68a 100644
--- a/templates/views/partials/forms/settings/sharing.html
+++ b/templates/views/partials/forms/settings/sharing.html
@@ -25,4 +25,4 @@
</label>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/templates/views/partials/forms/share_credential/link_sharing.html b/templates/views/partials/forms/share_credential/link_sharing.html
index 3e39fd0c..049b9592 100644
--- a/templates/views/partials/forms/share_credential/link_sharing.html
+++ b/templates/views/partials/forms/share_credential/link_sharing.html
@@ -1,7 +1,9 @@
<div class="row">
<div class="col-xs-12 col-md-6">
- <label><input type="checkbox" ng-model="share_settings.linkSharing.enabled">
- {{ 'enable.link.sharing' | translate}}.</label><br/>
+ <input id="linkSharing.enabled" class="checkbox" type="checkbox"
+ ng-model="share_settings.linkSharing.enabled">
+ <label for="linkSharing.enabled">{{'enable.link.sharing' | translate}}</label><br>
+
<div class="pull-left col-xs-6 nopadding">
<span credential-field value="share_link" secret="false" use-input="true" input-placeholder="'click.share' | translate" ></span>
</div>
@@ -36,4 +38,4 @@
</table>
</div>
</div>
-</div> \ No newline at end of file
+</div>