mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
add icons to form settings
This commit is contained in:
parent
40d3974c82
commit
013e04ce58
@ -4809,7 +4809,7 @@ define([
|
||||
var $results = $(resultsType);
|
||||
var refreshPublic = function () {
|
||||
$results.empty();
|
||||
var makePublic = h('button.btn.btn-secondary', Messages.form_makePublic);
|
||||
var makePublic = h('button.btn.btn-secondary', [Icons.get('access'), Messages.form_makePublic]);
|
||||
var makePublicDiv = h('div.cp-form-actions', makePublic);
|
||||
if (content.answers.privateKey) { makePublicDiv = undefined; }
|
||||
var publicText = content.answers.privateKey ? Messages.form_isPublic : Messages.form_isPrivate;
|
||||
@ -5042,7 +5042,7 @@ define([
|
||||
|
||||
$endDateStr.text(text);
|
||||
|
||||
var button = h('button.btn.btn-secondary', buttonTxt);
|
||||
var button = h('button.btn.btn-secondary', [Icons.get('expire'), buttonTxt]);
|
||||
|
||||
var $button = $(button).click(function () {
|
||||
$button.attr('disabled', 'disabled');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user