mirror of
https://github.com/DzzXH/DzzOffice.git
synced 2026-03-01 12:22:43 +08:00
优化ui
This commit is contained in:
@@ -1438,9 +1438,6 @@
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
.signin-form .has-feedback.row .mdi {
|
||||
left: 15px;
|
||||
}
|
||||
</style>
|
||||
<!--{elseif $operation=='censor'}-->
|
||||
<form id="cpform" action="{MOD_URL}" class="form-horizontal-left" method="post" name="cpform">
|
||||
|
||||
@@ -590,7 +590,7 @@ class dzz_app extends dzz_base{
|
||||
if($appidxu=C::t('app_market')->fetch_by_identifier(CURMODULE)){
|
||||
if($this->var['member']['adminid'] || $_GET['do']=='savefile'){
|
||||
}elseif($appidxu['available']==0){
|
||||
showmessage(lang('您无权使用该应用,请联系管理员。'));
|
||||
showmessage(lang('该应用已关闭,请联系管理员。'));
|
||||
}elseif($this->var['member']['uid']){
|
||||
$appuid= C::t('user_field')->fetch($this->var['member']['uid']);
|
||||
$appuidz=explode(',',$appuid['applist']);
|
||||
@@ -605,7 +605,7 @@ class dzz_app extends dzz_base{
|
||||
$appuidz=explode(',',$appuid['applist']);
|
||||
if (in_array($appidxu['appid'],$appuidz)){
|
||||
}else{
|
||||
showmessage(lang('您无权使用该应用,请联系管理员。'));
|
||||
showmessage(lang('您无权限使用该应用,请联系管理员。'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -25,9 +25,6 @@
|
||||
text-align: center;
|
||||
pointer-events: none;
|
||||
}
|
||||
.signin-form .has-feedback.row .mdi {
|
||||
left: 15px;
|
||||
}
|
||||
.signin-form .form-group:last-child,
|
||||
.login-right p:last-child {
|
||||
margin-bottom: 0px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -2169,7 +2169,7 @@ angular.module('kityminderEditor').run(['$templateCache', function($templateCach
|
||||
|
||||
|
||||
$templateCache.put('ui/directive/searchBox/searchBox.html',
|
||||
"<div id=\"search\" class=\"search-box clearfix\" ng-show=\"showSearch\"><div class=\"input-group input-group-sm search-input-wrap\"><input type=\"text\" id=\"search-input\" class=\"form-control search-input\" ng-model=\"keyword\" ng-keydown=\"handleKeyDown($event)\" aria-describedby=\"basic-addon2\"> <span class=\"input-group-addon search-addon\" id=\"basic-addon2\" ng-show=\"showTip\" ng-bind=\"'第 ' + curIndex + ' 条,共 ' + resultNum + ' 条'\"></span></div><div class=\"btn-group btn-group-sm prev-and-next-btn\" role=\"group\"><button type=\"button\" class=\"btn btn-outline-info\" ng-click=\"doSearch(keyword, 'prev')\"><span class=\"glyphicon glyphicon-chevron-up\"></span></button> <button type=\"button\" class=\"btn btn-outline-info\" ng-click=\"doSearch(keyword, 'next')\"><span class=\"glyphicon glyphicon-chevron-down\"></span></button></div><div class=\"close-search\" ng-click=\"exitSearch()\"><span class=\"glyphicon glyphicon-remove\"></span></div></div>"
|
||||
"<div id=\"search\" class=\"search-box clearfix\" ng-show=\"showSearch\"><div class=\"input-group input-group-sm search-input-wrap\"><input type=\"text\" id=\"search-input\" class=\"form-control search-input\" ng-model=\"keyword\" ng-keydown=\"handleKeyDown($event)\" aria-describedby=\"basic-addon2\"> <span class=\"input-group-text search-addon\" id=\"basic-addon2\" ng-show=\"showTip\" ng-bind=\"'第 ' + curIndex + ' 条,共 ' + resultNum + ' 条'\"></span></div><div class=\"btn-group btn-group-sm prev-and-next-btn\" role=\"group\"><button type=\"button\" class=\"btn btn-outline-info\" ng-click=\"doSearch(keyword, 'prev')\"><span class=\"glyphicon glyphicon-chevron-up\"></span></button> <button type=\"button\" class=\"btn btn-outline-info\" ng-click=\"doSearch(keyword, 'next')\"><span class=\"glyphicon glyphicon-chevron-down\"></span></button></div><div class=\"close-search\" ng-click=\"exitSearch()\"><span class=\"glyphicon glyphicon-remove\"></span></div></div>"
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -298,11 +298,11 @@ dl dd{
|
||||
.seccode-wrapper .dzz{
|
||||
font-size:20px;
|
||||
}
|
||||
.seccode-input.input-group input.form-control+.input-group-addon{
|
||||
.seccode-input.input-group input.form-control+.input-group-text{
|
||||
padding:0;
|
||||
min-width:34px;
|
||||
}
|
||||
.seccode-wrapper .input-group-addon .dzz{
|
||||
.seccode-wrapper .input-group-text .dzz{
|
||||
font-size:32px;
|
||||
}
|
||||
.seccode-wrapper .dzz.dzz-close{
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
this.element = $(element);
|
||||
this.isInput = this.element.is('input');
|
||||
this.inputField = this.isInput ? this.element : this.element.find('input');
|
||||
this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn') : false;
|
||||
this.component = this.element.hasClass('date') ? this.element.find('.add-on, .input-group-text, .input-group-append, .input-group-prepend, .btn') : false;
|
||||
if (this.component && this.component.length === 0)
|
||||
this.component = false;
|
||||
this.isInline = !this.component && this.element.is('div');
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -657,7 +657,7 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
padding: 0 2px 0 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.input-group.date .input-group-addon {
|
||||
.input-group.date .input-group-text {
|
||||
cursor: pointer;
|
||||
}
|
||||
.input-daterange {
|
||||
@@ -672,7 +672,7 @@ fieldset[disabled] .datepicker table tr td span.active.disabled:hover.focus {
|
||||
.input-daterange input:last-child {
|
||||
border-radius: 0 3px 3px 0;
|
||||
}
|
||||
.input-daterange .input-group-addon {
|
||||
.input-daterange .input-group-text {
|
||||
width: auto;
|
||||
min-width: 16px;
|
||||
padding: 4px 5px;
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -243,8 +243,8 @@
|
||||
|
||||
var downhtml,
|
||||
uphtml,
|
||||
prefixhtml = '<span class="input-group-addon input-group-prepend bootstrap-touchspin-prefix input-group-text bootstrap-touchspin-injected">' + settings.prefix + '</span>',
|
||||
postfixhtml = '<span class="input-group-addon input-group-append bootstrap-touchspin-postfix input-group-text bootstrap-touchspin-injected">' + settings.postfix + '</span>';
|
||||
prefixhtml = '<span class="input-group-text input-group-prepend bootstrap-touchspin-prefix input-group-text bootstrap-touchspin-injected">' + settings.prefix + '</span>',
|
||||
postfixhtml = '<span class="input-group-text input-group-append bootstrap-touchspin-postfix input-group-text bootstrap-touchspin-injected">' + settings.postfix + '</span>';
|
||||
|
||||
if (prev.hasClass('input-group-btn') || prev.hasClass('input-group-prepend')) {
|
||||
downhtml = '<button class="' + settings.buttondown_class + ' bootstrap-touchspin-down bootstrap-touchspin-injected" type="button">' + settings.buttondown_txt + '</button>';
|
||||
@@ -283,10 +283,10 @@
|
||||
}
|
||||
|
||||
if (settings.verticalbuttons) {
|
||||
html = '<div class="input-group ' + inputGroupSize + ' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-addon input-group-text bootstrap-touchspin-prefix">' + settings.prefix + '</span><span class="input-group-addon bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn-vertical"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-up ' + settings.verticalupclass + '" type="button">' + settings.verticalup + '</button><button class="' + settings.buttonup_class + ' bootstrap-touchspin-down ' + settings.verticaldownclass + '" type="button">' + settings.verticaldown + '</button></span></div>';
|
||||
html = '<div class="input-group ' + inputGroupSize + ' bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-text input-group-text bootstrap-touchspin-prefix">' + settings.prefix + '</span><span class="input-group-text bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn-vertical"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-up ' + settings.verticalupclass + '" type="button">' + settings.verticalup + '</button><button class="' + settings.buttonup_class + ' bootstrap-touchspin-down ' + settings.verticaldownclass + '" type="button">' + settings.verticaldown + '</button></span></div>';
|
||||
}
|
||||
else {
|
||||
html = '<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-down" type="button">' + settings.buttondown_txt + '</button></span><span class="input-group-addon bootstrap-touchspin-prefix input-group-text">' + settings.prefix + '</span><span class="input-group-addon bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn input-group-append"><button class="' + settings.buttonup_class + ' bootstrap-touchspin-up" type="button">' + settings.buttonup_txt + '</button></span></div>';
|
||||
html = '<div class="input-group bootstrap-touchspin bootstrap-touchspin-injected"><span class="input-group-btn input-group-prepend"><button class="' + settings.buttondown_class + ' bootstrap-touchspin-down" type="button">' + settings.buttondown_txt + '</button></span><span class="input-group-text bootstrap-touchspin-prefix input-group-text">' + settings.prefix + '</span><span class="input-group-text bootstrap-touchspin-postfix input-group-text">' + settings.postfix + '</span><span class="input-group-btn input-group-append"><button class="' + settings.buttonup_class + ' bootstrap-touchspin-up" type="button">' + settings.buttonup_txt + '</button></span></div>';
|
||||
}
|
||||
|
||||
container = $(html).insertBefore(originalinput);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user