Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notable Fork: Update Elixir, various UI changes #53

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Stage title & modal update
TsaiChihHan committed Dec 9, 2017
commit 1c409c685545eeaa0508ce9007ee2bf17201b22a
19 changes: 19 additions & 0 deletions web/static/css/modules/_boards.sass
Original file line number Diff line number Diff line change
@@ -195,6 +195,14 @@
cursor: -moz-grab
cursor: grab

.card
&:hover
box-shadow: 6px 0 shade($base-font-color, 20)
// cursor: move
&:active
cursor: move


.list.form
+flex(none)
+fill-parent
@@ -210,6 +218,17 @@
text-overflow: ellipsis
white-space: nowrap
overflow: hidden
display: flex
align-items: center
&:hover
.fa
opacity: 1

h4, .fa
margin: 0em .4em .75em 0em

.fa
opacity: 0

&.form
display: inline-block
8 changes: 8 additions & 0 deletions web/static/css/modules/_modals.sass
Original file line number Diff line number Diff line change
@@ -61,6 +61,14 @@
.info
+span-columns(9)

.description
background: #fff
border-radius: $base-border-radius
padding: .5em
border: 0px none
border-bottom: 1px solid $gray
height: 100px

.options
+span-columns(3)
position: relative
5 changes: 3 additions & 2 deletions web/static/js/components/cards/modal.js
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ export default class CardModal extends React.Component {
<div className="form-controls">
<textarea
ref="commentText"
rows="5"
rows="3"
placeholder="Write a comment..."
required="true"/>
<button type="submit">Save comment</button>
@@ -152,12 +152,13 @@ export default class CardModal extends React.Component {
return (
<header>
<h3>{card.name}</h3>
<h5>{card.priority}</h5>
<div className="items-wrapper">
{::this._renderMembers()}
{::this._renderTags()}
</div>
<h5>Description</h5>
<p>{card.description}</p>
<div className="description">{card.description}</div>
<a href="#" onClick={::this._handleHeaderClick}>Edit</a>
</header>
);
2 changes: 1 addition & 1 deletion web/static/js/components/lists/card.js
Original file line number Diff line number Diff line change
@@ -145,7 +145,7 @@ export default class ListCard extends React.Component {
} else {
return (
<header onClick={::this._handleHeaderClick}>
<h4>{this.props.name}</h4>
<h4>{this.props.name}</h4><i className="fa fa-edit"/>
</header>
);
}
2 changes: 1 addition & 1 deletion web/static/js/views/boards/show.js
Original file line number Diff line number Diff line change
@@ -96,7 +96,7 @@ class BoardsShowView extends React.Component {
return (
<div className="list add-new" onClick={::this._handleAddNewClick}>
<div className="inner">
Add new list...
Add new stage...
</div>
</div>
);
6 changes: 2 additions & 4 deletions web/static/js/views/sessions/new.js
Original file line number Diff line number Diff line change
@@ -46,17 +46,15 @@ class SessionsNew extends React.Component {
type="Email"
id="user_email"
placeholder="Email"
required="true"
defaultValue="[email protected]"/>
required="true"/>
</div>
<div className="field">
<input
ref="password"
type="password"
id="user_password"
placeholder="Password"
required="true"
defaultValue="12345678"/>
required="true"/>
</div>
<button type="submit">Sign in</button>
</form>