Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
console
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
console
Commits
abfe72e2
Commit
abfe72e2
authored
Apr 24, 2017
by
nano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c589b9f6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
53 deletions
+54
-53
.idea/workspace.xml
.idea/workspace.xml
+51
-50
public/index.html
public/index.html
+1
-1
src/routes/Entry.js
src/routes/Entry.js
+2
-2
No files found.
.idea/workspace.xml
View file @
abfe72e2
...
...
@@ -2,8 +2,7 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"7dc474d0-9fc0-4b76-8c2f-3c98df702116"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/models/Common.js"
afterPath=
"$PROJECT_DIR$/src/models/Common.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/Apps.js"
afterPath=
"$PROJECT_DIR$/src/routes/Apps.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/public/index.html"
afterPath=
"$PROJECT_DIR$/public/index.html"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/routes/Entry.js"
afterPath=
"$PROJECT_DIR$/src/routes/Entry.js"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
...
...
@@ -32,11 +31,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<file
leaf-file-name=
"index.html"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/public/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
162
"
>
<caret
line=
"
9"
column=
"6"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"6"
selection-end-line=
"9"
selection-end-column=
"6
"
/>
<state
relative-caret-position=
"
234
"
>
<caret
line=
"
13"
column=
"14"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"14"
selection-end-line=
"13"
selection-end-column=
"14
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -74,11 +73,11 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"Entry.js"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"Entry.js"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Entry.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
126
"
>
<caret
line=
"1
2"
column=
"37"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"37"
selection-end-line=
"12"
selection-end-column=
"37
"
/>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"1
5"
column=
"0"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"0"
selection-end-line=
"15"
selection-end-column=
"0
"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
...
...
@@ -86,6 +85,26 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"router.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"234"
>
<caret
line=
"18"
column=
"1"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"1"
selection-end-line=
"18"
selection-end-column=
"1"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"Entry.less"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Entry.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component
name=
"FindInProjectRecents"
>
...
...
@@ -150,11 +169,11 @@
<option
value=
"$PROJECT_DIR$/src/config.js"
/>
<option
value=
"$PROJECT_DIR$/.roadhogrc.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/AppDetail.js"
/>
<option
value=
"$PROJECT_DIR$/public/index.html"
/>
<option
value=
"$PROJECT_DIR$/src/models/Common.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/Apps.js"
/>
<option
value=
"$PROJECT_DIR$/src/router.js"
/>
<option
value=
"$PROJECT_DIR$/src/routes/Entry.js"
/>
<option
value=
"$PROJECT_DIR$/public/index.html"
/>
</list>
</option>
</component>
...
...
@@ -216,24 +235,6 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"moecube-console-web"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"moecube-console-web"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"src"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"routes"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"moecube-console-web"
/>
...
...
@@ -365,16 +366,15 @@
<workItem
from=
"1492741762508"
duration=
"2198000"
/>
<workItem
from=
"1492753784584"
duration=
"5181000"
/>
<workItem
from=
"1493000910904"
duration=
"789000"
/>
<workItem
from=
"1493002113686"
duration=
"11
077
000"
/>
<workItem
from=
"1493002113686"
duration=
"11
711
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"89
102
000"
/>
<option
name=
"totallyTimeSpent"
value=
"89
736
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"740"
y=
"237"
width=
"1225"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"DB Browser"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32966226"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -383,7 +383,7 @@
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32990867"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32966226"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.42627737"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.42627737"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TypeScript"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2898671"
sideWeight=
"0.49315068"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -429,13 +429,6 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Apps.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Entry.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"324"
>
...
...
@@ -699,14 +692,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"162"
>
<caret
line=
"9"
column=
"6"
lean-forward=
"true"
selection-start-line=
"9"
selection-start-column=
"6"
selection-end-line=
"9"
selection-end-column=
"6"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/models/Common.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"158"
>
...
...
@@ -751,21 +736,37 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/router.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"198"
>
<caret
line=
"16"
column=
"13"
lean-forward=
"true"
selection-start-line=
"16"
selection-start-column=
"13"
selection-end-line=
"16"
selection-end-column=
"13"
/>
<state
relative-caret-position=
"234"
>
<caret
line=
"18"
column=
"1"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"1"
selection-end-line=
"18"
selection-end-column=
"1"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Entry.less"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/routes/Entry.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
126
"
>
<caret
line=
"1
2"
column=
"37"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"37"
selection-end-line=
"12"
selection-end-column=
"37
"
/>
<state
relative-caret-position=
"
270
"
>
<caret
line=
"1
5"
column=
"0"
lean-forward=
"true"
selection-start-line=
"15"
selection-start-column=
"0"
selection-end-line=
"15"
selection-end-column=
"0
"
/>
<folding>
<element
signature=
"e#0#26#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/public/index.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"234"
>
<caret
line=
"13"
column=
"14"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"14"
selection-end-line=
"13"
selection-end-column=
"14"
/>
<folding
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
public/index.html
View file @
abfe72e2
...
...
@@ -11,7 +11,7 @@
<div
id=
"root"
></div>
<script
src=
"index.js"
></script>
<script
src=
"
/
index.js"
></script>
</body>
</html>
src/routes/Entry.js
View file @
abfe72e2
...
...
@@ -8,8 +8,8 @@ import {Layout} from "antd";
class
Entry
extends
React
.
Component
{
componentWillMount
()
{
const
{
dispatch
,
location
:{
pathname
}}
=
this
.
props
if
(
pathname
!==
'
loginCallback
'
)
{
const
{
dispatch
,
location
:
{
pathname
}}
=
this
.
props
if
(
pathname
!==
'
loginCallback
'
)
{
dispatch
({
type
:
'
Common/init
'
})
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment