This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
border-style: solid; | |
border-width: 1px; | |
border-color: #000000 | |
} | |
#header { | |
width: 100%; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
border-style: solid; | |
border-width: 1px; | |
border-color: #000000; | |
height: 100%; | |
} | |
#wrapper { | |
width: 70%; | |
margin: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div { | |
border-style: solid; | |
border-width: 1px; | |
border-color: #000000; | |
height: 100%; | |
} | |
#wrapper { | |
width: 70%; | |
margin: auto; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
table { | |
width: 900px | |
} | |
.tr { | |
height: 20px; | |
width: 300px; | |
} | |
td { | |
width : 10px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
background: #f06; | |
table { | |
width: 900px; | |
background-color: #058; | |
} | |
.tr { | |
height: 20px; | |
width: 300px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#wrapper { | |
width: 100%; | |
height: 700px; | |
margin: 0 auto; | |
} | |
#top { | |
background: #77ACF2; | |
border-radius: 10px; | |
width: 99%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
browserify: { | |
app: { | |
options: { | |
debug: false, | |
transform: ['reactify'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "react-base", | |
"version": "1.0.0", | |
"description": "staring point for react projects", | |
"main": "index.js", | |
"ci": { | |
"nvm": "4.1.0" | |
}, | |
"directories": { | |
"test": "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing "snip" and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Change to getNodeDetails to make this work. Returns a promise to allow for chaining | |
export function getNodeDetails(topologyUrlsById, currentTopologyId, options, nodeMap, dispatch) { | |
// get details for all opened nodes | |
const obj = nodeMap.last(); | |
if (obj && topologyUrlsById.has(obj.topologyId)) { | |
const topologyUrl = topologyUrlsById.get(obj.topologyId); | |
let urlComponents = [topologyUrl, '/', encodeURIComponent(obj.id)]; | |
if (currentTopologyId === obj.topologyId) { | |
// Only forward filters for nodes in the current topology | |
const optionsQuery = buildOptionsQuery(options); |
OlderNewer