Commit 0d194d73 authored by 王万里's avatar 王万里

fix: 修改右侧表单样式

parent d227677e
<div ng-controller="FlowableCalledElementTypeCtrl"> <div ng-controller="FlowableCalledElementTypeCtrl">
<select ng-model="property.value" ng-change="calledElementTypeChanged ()" style="width: 100%;"> <select ng-model="property.value" ng-change="calledElementTypeChanged ()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>key</option> <option>key</option>
<option>id</option> <option>id</option>
</select> </select>
......
<div ng-controller="FlowableEventRegistryChannelTypeCtrl"> <div ng-controller="FlowableEventRegistryChannelTypeCtrl">
<select ng-model="property.value" ng-change="channelTypeChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="channelTypeChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option></option> <option></option>
<option>jms</option> <option>jms</option>
<option>kafka</option> <option>kafka</option>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="typeField">{{'PROPERTY.EVENTCORRELATIONPARAMETERS.TYPE' | translate}}</label> <label for="typeField">{{'PROPERTY.EVENTCORRELATIONPARAMETERS.TYPE' | translate}}</label>
<select id="typeField" class="form-control" ng-model="selectedParameter.type" style="width: 100%;"> <select id="typeField" class="form-control" ng-model="selectedParameter.type" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>string</option> <option>string</option>
<option>integer</option> <option>integer</option>
<option>double</option> <option>double</option>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="eventTypeField">{{'PROPERTY.EVENTINPARAMETERS.EVENTTYPE' | translate}}</label> <label for="eventTypeField">{{'PROPERTY.EVENTINPARAMETERS.EVENTTYPE' | translate}}</label>
<select id="eventTypeField" class="form-control" ng-model="selectedParameter.eventType" style="width: 100%;"> <select id="eventTypeField" class="form-control" ng-model="selectedParameter.eventType" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>string</option> <option>string</option>
<option>integer</option> <option>integer</option>
<option>double</option> <option>double</option>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<label>{{'PROPERTY.EVENTLISTENERS.EVENTS' | translate}}</label> <label>{{'PROPERTY.EVENTLISTENERS.EVENTS' | translate}}</label>
<div ng-repeat="eventDefinition in selectedListener.events"> <div ng-repeat="eventDefinition in selectedListener.events">
<select id="eventField" class="form-control" ng-model="eventDefinition.event" ng-change="listenerDetailsChanged()" <select id="eventField" class="form-control" ng-model="eventDefinition.event" ng-change="listenerDetailsChanged()"
style="display:inline-block; width:80%;margin-bottom: 10px;" style="width: 100%;"> style="display:inline-block; width:80%;margin-bottom: 10px;" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>ACTIVITY_CANCELLED</option> <option>ACTIVITY_CANCELLED</option>
<option title="{{'EVENT_TYPE.ACTIVITY.COMPENSATE.TOOLTIP' | translate}}">ACTIVITY_COMPENSATE</option> <option title="{{'EVENT_TYPE.ACTIVITY.COMPENSATE.TOOLTIP' | translate}}">ACTIVITY_COMPENSATE</option>
<option title="{{'EVENT_TYPE.ACTIVITY.COMPLETED.TOOLTIP' | translate}}">ACTIVITY_COMPLETED</option> <option title="{{'EVENT_TYPE.ACTIVITY.COMPLETED.TOOLTIP' | translate}}">ACTIVITY_COMPLETED</option>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
</div> </div>
<div class="form-group" ng-if="selectedListener.rethrowEvent"> <div class="form-group" ng-if="selectedListener.rethrowEvent">
<label for="delegateExpressionField">{{'PROPERTY.EVENTLISTENERS.RETHROWTYPE' | translate}}</label> <label for="delegateExpressionField">{{'PROPERTY.EVENTLISTENERS.RETHROWTYPE' | translate}}</label>
<select id="rethrowTypeField" class="form-control" ng-model="selectedListener.rethrowType" ng-change="rethrowTypeChanged()" style="width: 100%;"> <select id="rethrowTypeField" class="form-control" ng-model="selectedListener.rethrowType" ng-change="rethrowTypeChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>error</option> <option>error</option>
<option>message</option> <option>message</option>
<option>signal</option> <option>signal</option>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="eventTypeField">{{'PROPERTY.EVENTOUTPARAMETERS.EVENTTYPE' | translate}}</label> <label for="eventTypeField">{{'PROPERTY.EVENTOUTPARAMETERS.EVENTTYPE' | translate}}</label>
<select id="eventTypeField" class="form-control" ng-model="selectedParameter.eventType" style="width: 100%;"> <select id="eventTypeField" class="form-control" ng-model="selectedParameter.eventType" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>string</option> <option>string</option>
<option>integer</option> <option>integer</option>
<option>double</option> <option>double</option>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="form-group"> <div class="form-group">
<label for="eventField">{{'PROPERTY.EXECUTIONLISTENERS.EVENT' | translate}}</label> <label for="eventField">{{'PROPERTY.EXECUTIONLISTENERS.EVENT' | translate}}</label>
<select id="eventField" class="form-control" ng-model="selectedListener.event" style="width: 100%;"> <select id="eventField" class="form-control" ng-model="selectedListener.event" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>start</option> <option>start</option>
<option>end</option> <option>end</option>
<option>take</option> <option>take</option>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="typeField">{{'PROPERTY.FORMPROPERTIES.TYPE' | translate}}</label> <label for="typeField">{{'PROPERTY.FORMPROPERTIES.TYPE' | translate}}</label>
<select id="typeField" class="form-control" ng-model="selectedProperty.type" ng-change="propertyTypeChanged()" style="width: 100%;"> <select id="typeField" class="form-control" ng-model="selectedProperty.type" ng-change="propertyTypeChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>string</option> <option>string</option>
<option>long</option> <option>long</option>
<option>boolean</option> <option>boolean</option>
......
...@@ -9,9 +9,11 @@ ...@@ -9,9 +9,11 @@
<span ng-show="selectedForm != null"> - {{selectedForm.name}}</span> <span ng-show="selectedForm != null"> - {{selectedForm.name}}</span>
<span ng-show="selectedForm == null"> - {{'PROPERTY.FORMREFERENCE.EMPTY' | translate}}</span> <span ng-show="selectedForm == null"> - {{'PROPERTY.FORMREFERENCE.EMPTY' | translate}}</span>
</h2> </h2>
<div style="position: absolute;top: 42px;right: 60px;"> <div style="position: absolute;top: 18px;right: 60px;display: flex;justify-content: center;align-items: center;">
<input type="text" placeholder="" id="formName" style="width: 200px;" ng-model="formName"> <input type="text" placeholder="" id="formName" style="width: 200px;height: 25px;margin: 2px;padding: 0px 5px;outline: none;border: none !important;box-shadow: none !important;" ng-model="formName">
<button ng-click="getFormList()">search</button> <button class="btn btn-primary btn-xs" ng-click="getFormList()">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
</button>
</div> </div>
</div> </div>
<div class="modal-header" ng-if="popup.state == 'newForm'"> <div class="modal-header" ng-if="popup.state == 'newForm'">
......
<div ng-controller="FlowableHttpRequestMethodCtrl"> <div ng-controller="FlowableHttpRequestMethodCtrl">
<select ng-model="property.value" ng-change="httpRequestMethodChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="httpRequestMethodChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>GET</option> <option>GET</option>
<option>POST</option> <option>POST</option>
<option>PUT</option> <option>PUT</option>
......
<div ng-controller="FlowableMultiInstanceCtrl"> <div ng-controller="FlowableMultiInstanceCtrl">
<select ng-model="property.value" ng-change="multiInstanceChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="multiInstanceChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>None</option> <option>None</option>
<option>Parallel</option> <option>Parallel</option>
<option>Sequential</option> <option>Sequential</option>
......
<div ng-controller="FlowableOrderingCtrl"> <div ng-controller="FlowableOrderingCtrl">
<select ng-model="property.value" ng-change="orderingChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="orderingChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>Parallel</option> <option>Parallel</option>
<option>Sequential</option> <option>Sequential</option>
</select> </select>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="form-group"> <div class="form-group">
<label for="sourceStateField">{{'PROPERTY.PLANITEMLIFECYCLELISTENERS.SOURCE_STATE' | translate}}</label> <label for="sourceStateField">{{'PROPERTY.PLANITEMLIFECYCLELISTENERS.SOURCE_STATE' | translate}}</label>
<select id="sourceStateField" class="form-control" ng-model="selectedListener.sourceState" style="width: 100%;"> <select id="sourceStateField" class="form-control" ng-model="selectedListener.sourceState" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>active</option> <option>active</option>
<option>available</option> <option>available</option>
<option>enabled</option> <option>enabled</option>
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="targetStateField">{{'PROPERTY.PLANITEMLIFECYCLELISTENERS.TARGET_STATE' | translate}}</label> <label for="targetStateField">{{'PROPERTY.PLANITEMLIFECYCLELISTENERS.TARGET_STATE' | translate}}</label>
<select id="targetStateField" class="form-control" ng-model="selectedListener.targetState" style="width: 100%;"> <select id="targetStateField" class="form-control" ng-model="selectedListener.targetState" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>active</option> <option>active</option>
<option>available</option> <option>available</option>
<option>enabled</option> <option>enabled</option>
......
<div ng-controller="FlowableProcessHistoryLevelCtrl"> <div ng-controller="FlowableProcessHistoryLevelCtrl">
<select ng-model="property.value" ng-change="historyLevelChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="historyLevelChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option></option> <option></option>
<option>none</option> <option>none</option>
<option>activity</option> <option>activity</option>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="form-group"> <div class="form-group">
<label for="eventField">{{'PROPERTY.TASKLISTENERS.EVENT' | translate}}</label> <label for="eventField">{{'PROPERTY.TASKLISTENERS.EVENT' | translate}}</label>
<select id="eventField" class="form-control" ng-model="selectedListener.event" style="width: 100%;"> <select id="eventField" class="form-control" ng-model="selectedListener.event" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>create</option> <option>create</option>
<option>assignment</option> <option>assignment</option>
<option>complete</option> <option>complete</option>
......
<div ng-controller="FlowableTransitionEventCtrl"> <div ng-controller="FlowableTransitionEventCtrl">
<select ng-model="property.value" ng-change="transitionEventChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="transitionEventChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>complete</option> <option>complete</option>
<option>exit</option> <option>exit</option>
<option>occur</option> <option>occur</option>
......
<div ng-controller="FlowableTriggerModeCtrl"> <div ng-controller="FlowableTriggerModeCtrl">
<select ng-model="property.value" ng-change="triggerModeChanged()" style="width: 100%;"> <select ng-model="property.value" ng-change="triggerModeChanged()" style="width: 100%;height: 25px;line-height: 25px;border: none;">
<option>default</option> <option>default</option>
<option>onEvent</option> <option>onEvent</option>
</select> </select>
......
...@@ -278,7 +278,7 @@ div.propertySection { ...@@ -278,7 +278,7 @@ div.propertySection {
.selected-item-title { .selected-item-title {
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
padding: 8px 0 8px 0px; padding: 8px 0 8px 8px;
border-bottom: 1px solid #a4acb9; border-bottom: 1px solid #a4acb9;
cursor: pointer; cursor: pointer;
} }
...@@ -352,10 +352,13 @@ div.propertySection { ...@@ -352,10 +352,13 @@ div.propertySection {
float: left; float: left;
margin: 2px 2%; margin: 2px 2%;
padding: 0; padding: 0;
min-height: 25px; /* min-height: 25px; */
height: 30px;
line-height: 30px;
} }
.property-row span.value { .property-row span.value {
font-size: 12px;
cursor: pointer; cursor: pointer;
width: 46%; width: 46%;
padding: 0; padding: 0;
...@@ -367,9 +370,9 @@ div.propertySection { ...@@ -367,9 +370,9 @@ div.propertySection {
} }
.property-row span.title { .property-row span.title {
font-size: 13px; font-size: 12px;
font-weight: bold; font-weight: normal;
width: 46%; width: 45%;
} }
.property-row span.title-removed { .property-row span.title-removed {
......
...@@ -145,19 +145,14 @@ ...@@ -145,19 +145,14 @@
</div> </div>
<div class="selected-item-body"> <div class="selected-item-body">
<div> <div>
<div class="property-row" ng-repeat="property in selectedItem.properties" <div class="property-row" ng-repeat="property in selectedItem.properties" ng-click="propertyClicked($index)" ng-class="{'clear' : $index%2 == 0}">
ng-click="propertyClicked($index)" ng-class="{'clear' : $index%2 == 0}">
<span class="title" ng-if="!property.hidden" title="{{ property.description | translate}}">{{ property.title | translate }}&nbsp;:</span> <span class="title" ng-if="!property.hidden" title="{{ property.description | translate}}">{{ property.title | translate }}&nbsp;:</span>
<span class="title-removed" ng-if="property.hidden"><i>{{ property.title }}&nbsp;({{'PROPERTY.REMOVED' | translate}})&nbsp;:</i></span> <span class="title-removed" ng-if="property.hidden"><i>{{ property.title }}&nbsp;({{'PROPERTY.REMOVED' | translate}})&nbsp;:</i></span>
<span class="value"> <span class="value">
<ng-include <ng-include src="getPropertyTemplateUrl($index)" ng-if="!property.hasReadWriteMode"></ng-include>
src="getPropertyTemplateUrl($index)" <ng-include src="getPropertyReadModeTemplateUrl($index)" ng-if="property.hasReadWriteMode && property.mode == 'read'"></ng-include>
ng-if="!property.hasReadWriteMode"></ng-include> <ng-include src="getPropertyWriteModeTemplateUrl($index)" ng-if="property.hasReadWriteMode && property.mode == 'write'"></ng-include>
<ng-include src="getPropertyReadModeTemplateUrl($index)" </span>
ng-if="property.hasReadWriteMode && property.mode == 'read'"></ng-include>
<ng-include src="getPropertyWriteModeTemplateUrl($index)"
ng-if="property.hasReadWriteMode && property.mode == 'write'"></ng-include>
</span>
</div> </div>
</div> </div>
</div> </div>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -1709,9 +1709,13 @@ h3+div > .dropzone { ...@@ -1709,9 +1709,13 @@ h3+div > .dropzone {
.modal .modal-header { .modal .modal-header {
position: relative; position: relative;
background-color: #e8edf1; background-color: #e8edf1;
min-height: 60px; /* min-height: 60px; */
border-bottom: 1px solid #a4acb9; border-bottom: 1px solid #a4acb9;
padding: 15px 15px; padding: 5px 15px;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row-reverse;
} }
.modal-header .actions { .modal-header .actions {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment