/* Warnings and errors are the same */
-.warning, .update, .error {
+#body-login .warning, #body-login .update, #body-login .error {
display: block;
padding: 10px;
color: #dd3b3b;
border-radius: 5px;
cursor: default;
}
+
+#body-user .warning, #body-settings .warning {
+ margin-top: 8px;
+ padding: 5px;
+ background: #fdd;
+ -webkit-border-radius: 3px;
+ -moz-border-radius: 3px;
+ border-radius: 3px;
+}
+
.warning legend,
.warning a,
.error a {
.appslink { text-decoration: underline; }
.score { color:#666; font-weight:bold; font-size:0.8em; }
-.errormsg {
- margin: 20px;
- padding: 5px;
- background: #fdd;
- -webkit-border-radius: 3px;
- -moz-border-radius: 3px;
- border-radius: 3px;
-}
/* LOG */
#log { white-space:normal; }
page.find('span.score').hide();
}
if (typeof($('#leftcontent li[data-id="'+app.id+'"]').data('errormsg')) !== "undefined") {
- page.find(".errormsg").show();
- page.find(".errormsg").text($('#leftcontent li[data-id="'+app.id+'"]').data('errormsg'));
+ page.find(".warning").show();
+ page.find(".warning").text($('#leftcontent li[data-id="'+app.id+'"]').data('errormsg'));
} else {
- page.find(".errormsg").hide();
+ page.find(".warning").hide();
}
},
enableApp:function(appid, active, element) {
});
},
showErrorMessage: function(message) {
- $('#rightcontent .errormsg').show();
- $('#rightcontent .errormsg').text(message);
+ $('.appinfo .warning').show();
+ $('.appinfo .warning').text(message);
}
};
print_unescaped($l->t('<span class="licence"></span>-licensed by <span class="author"></span>'));?></p>
<input class="enable hidden" type="submit" />
<input class="update hidden" type="submit" value="<?php p($l->t('Update')); ?>" />
- <div class="errormsg hidden"></div>
+ <div class="warning hidden"></div>
</div>
</div>