1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-25 20:57:38 +00:00

Removed unneeded CSS classes

Part of #764
This commit is contained in:
Jermolene
2014-08-28 17:17:50 +01:00
parent df8758e38f
commit d8c3691bd1
22 changed files with 31 additions and 41 deletions

View File

@@ -480,18 +480,15 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
children = [dm("h1",{text: options.serviceName})];
if(!options.noUserName) {
children.push(dm("input",{
attributes: {type: "text", name: "username", placeholder: "Username"},
"class": "input-small"
attributes: {type: "text", name: "username", placeholder: "Username"}
}));
}
children.push(dm("input",{
attributes: {type: "password", name: "password", placeholder: "Password"},
"class": "input-small"
attributes: {type: "password", name: "password", placeholder: "Password"}
}));
if(options.canCancel) {
children.push(dm("button",{
text: "Cancel",
"class": "btn",
eventListeners: [{
name: "click",
handlerFunction: function(event) {
@@ -503,11 +500,9 @@ $tw.utils.PasswordPrompt.prototype.createPrompt = function(options) {
}
children.push(dm("button",{
attributes: {type: "submit"},
text: submitText,
"class": "btn"
text: submitText
}));
var form = dm("form",{
"class": "form-inline",
attributes: {autocomplete: "off"},
children: children
});