mirror of
https://github.com/documize/community.git
synced 2025-08-08 23:15:29 +02:00
Split GitHub editor into 2 columns
This commit is contained in:
parent
3ba1db63ad
commit
ff25e03daa
2 changed files with 41 additions and 20 deletions
|
@ -26,9 +26,31 @@
|
||||||
.github-list-checkbox {
|
.github-list-checkbox {
|
||||||
vertical-align: text-bottom;
|
vertical-align: text-bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.github-issue-label {
|
||||||
|
font-size: 11px;
|
||||||
|
color: white;
|
||||||
|
padding: 0px 4px;
|
||||||
|
margin-right: 5px;
|
||||||
|
border-radius: 2px;
|
||||||
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-github-render {
|
.section-github-render {
|
||||||
|
.github-issue-label {
|
||||||
|
font-size: 11px;
|
||||||
|
color: white;
|
||||||
|
padding: 0px 4px;
|
||||||
|
margin-right: 5px;
|
||||||
|
border-radius: 2px;
|
||||||
|
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
||||||
|
display: inline-block;
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
.github-board {
|
.github-board {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
@ -102,16 +124,6 @@
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
||||||
.github-issue-label {
|
|
||||||
font-size: 11px;
|
|
||||||
color: white;
|
|
||||||
padding: 0px 4px;
|
|
||||||
margin-right: 5px;
|
|
||||||
border-radius: 2px;
|
|
||||||
box-shadow: inset 0 -1px 0 rgba(0,0,0,0.12);
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.label-name {
|
.label-name {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: "open_sanssemibold";
|
font-family: "open_sanssemibold";
|
||||||
|
|
|
@ -1,14 +1,10 @@
|
||||||
|
{{#section/base-editor document=document folder=folder page=page busy=busy tip="GitHub is how people build software. (https://github.com)" isDirty=(action 'isDirty') onCancel=(action 'onCancel') onAction=(action 'onAction')}}
|
||||||
|
|
||||||
{{#section/base-editor document=document folder=folder page=page busy=busy
|
|
||||||
tip="GitHub is how people build software. (https://github.com)"
|
|
||||||
isDirty=(action 'isDirty') onCancel=(action 'onCancel') onAction=(action 'onAction')}}
|
|
||||||
|
|
||||||
<div class="section-github-editor">
|
<div class="section-github-editor">
|
||||||
|
|
||||||
{{#if authenticated}}
|
{{#if authenticated}}
|
||||||
|
|
||||||
<div class="pull-left width-50">
|
<div class="pull-left width-45">
|
||||||
<div class="input-form">
|
<div class="input-form">
|
||||||
<div class="heading">
|
<div class="heading">
|
||||||
<div class="title">Select Repository</div>
|
<div class="title">Select Repository</div>
|
||||||
|
@ -34,8 +30,22 @@
|
||||||
<div class="tip">Select report type</div>
|
<div class="tip">Select report type</div>
|
||||||
{{ui-select id="report-dropdown" content=reports action=(action 'onReportChange') optionValuePath="id" optionLabelPath="name" selection=config.report}}
|
{{ui-select id="report-dropdown" content=reports action=(action 'onReportChange') optionValuePath="id" optionLabelPath="name" selection=config.report}}
|
||||||
</div>
|
</div>
|
||||||
Show items since {{input id="branch-since" value=config.branchSince type="text" }}<br>
|
<div class="input-control">
|
||||||
Number of items to show {{input id="branch-lines" value=config.branchLines type="number" min="1" step="1" max="100" }}<br>
|
<label>Show items since</label>
|
||||||
|
{{input id="branch-since" value=config.branchSince type="text" }}
|
||||||
|
</div>
|
||||||
|
<div class="input-control">
|
||||||
|
<label>Number of items to show</label>
|
||||||
|
{{input id="branch-lines" value=config.branchLines type="number" min="1" step="1" max="100" }}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="pull-left width-10"> </div>
|
||||||
|
|
||||||
|
<div class="pull-left width-45">
|
||||||
|
<div class="input-form">
|
||||||
{{#if showCommits}}
|
{{#if showCommits}}
|
||||||
<div class="input-control">
|
<div class="input-control">
|
||||||
<label>Branches</label>
|
<label>Branches</label>
|
||||||
|
@ -84,7 +94,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue