Skip to content

Commit

Permalink
For #240.
Browse files Browse the repository at this point in the history
  • Loading branch information
haocao committed Mar 24, 2017
1 parent 407b961 commit aa20349
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,25 @@ <h4 class="modal-title">添加事件追踪数据源</h4>
</div>
<div class="form-group">
<label for="driver" class="control-label">数据库驱动:</label>
<input type="text" class="form-control" id="driver" name="driver" required>
<select id="driver" name="driver" class="form-control" disabled>
<option>com.mysql.jdbc.Driver</option>
</select>
</div>
<div class="form-group">
<label for="url" class="control-label">数据库连接地址:</label>
<input type="text" class="form-control" id="url" name="url">
<input type="text" class="form-control" id="url" name="url" required>
</div>
<div class="form-group">
<label for="username" class="control-label">数据库用户名:</label>
<input type="text" class="form-control" id="username" name="username">
<input type="text" class="form-control" id="username" name="username" required>
</div>
<div class="form-group">
<label for="password" class="control-label">数据库密码:</label>
<input type="text" class="form-control" id="password" name="password">
</div>
</div>
<div class="modal-footer">
<button id="add-data-source-btn" type="submit" class="btn-sm btn-primary">确认</button>
<button id="add-data-source-btn" type="submit" class="btn-xs btn-primary">确认</button>
</div>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h4 class="modal-title">添加注册中心</h4>
</div>
</div>
<div class="modal-footer">
<button id="add-reg-center-btn" type="submit" class="btn-sm btn-primary">确认</button>
<button id="add-reg-center-btn" type="submit" class="btn-xs btn-primary">确认</button>
</div>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ <h2>主要功能</h2>
</ol>
<h2>不支持项</h2>
<ol>
<li>添加作业。因为作业都是在首次运行时自动添加,使用控制台添加作业并无必要。</li>
</ol>
<h2>操作问题</h2>
<ol>
<li>Q:如何添加作业?<br />A:直接在作业服务器启动包含Elastic Job的作业进程即可。</li>
<li>添加作业。因为作业都是在首次运行时自动添加,使用控制台添加作业并无必要。直接在作业服务器启动包含Elastic Job的作业进程即可。</li>
</ol>
</section>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
<input type="text" id="script-command-line" name="scriptCommandLine" class="form-control" data-toggle="tooltip" data-placement="bottom" title="执行脚本的全路径名称,可以包含参数" />
</div>
</div>
<button type="reset" class="btn-sm btn-inverse">重置</button>
<button id="update-job-info-btn" type="submit" class="btn-sm btn-primary">更新</button>
<button type="reset" class="btn-xs btn-inverse">重置</button>
<button id="update-job-info-btn" type="submit" class="btn-xs btn-primary">更新</button>
</form>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
<i class="fa fa-tasks">&nbsp;&nbsp;作业状态</i><i class="pull-right fa fa-angle-left "></i>
</a>
<ul class="treeview-menu">
<li><a href="#" id="server-status" class="sub-menu"><i class="fa fa-circle-o"></i>服务器维度</a></li>
<li><a href="#" id="job-status" class="sub-menu"><i class="fa fa-circle-o"></i>作业维度</a></li>
<li><a href="#" id="server-status" class="sub-menu"><i class="fa fa-circle-o"></i>服务器维度</a></li>
</ul>
</li>
<li class="treeview" id="history">
Expand Down Expand Up @@ -258,7 +258,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作已成功完成</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-success" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-success" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -274,7 +274,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作未成功,原因:连接失败,请检查注册中心配置</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-danger" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -290,7 +290,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作未成功,原因:连接失败,请检查事件追踪数据源配置</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-danger" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -306,7 +306,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作未成功,原因:删除作业失败,请检查作业是否已被停止</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-danger" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -322,7 +322,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作未成功,原因:注册中心名称重复</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-danger" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -338,7 +338,7 @@ <h4 class="modal-title">信息框</h4>
<h4>操作未成功,原因:数据源名称重复</h4>
</div>
<div class="modal-footer">
<button type="button" class="btn-sm btn-danger" data-dismiss="modal">关闭</button>
<button type="button" class="btn-xs btn-danger" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand All @@ -354,8 +354,8 @@ <h4 class="modal-title">确认框</h4>
<h4>确认要删除吗?</h4>
</div>
<div class="modal-footer">
<button id="delete-confirm-dialog-confirm-btn" type="button" class="btn-sm btn-danger">确认</button>
<button type="button" class="btn-sm btn-success" data-dismiss="modal">关闭</button>
<button id="delete-confirm-dialog-confirm-btn" type="button" class="btn-xs btn-danger">确认</button>
<button type="button" class="btn-xs btn-success" data-dismiss="modal">关闭</button>
</div>
</div>
</div>
Expand Down

0 comments on commit aa20349

Please sign in to comment.