Switch to unified view

a/tool/run/plugins/basic/home.java b/tool/run/plugins/basic/home.java
...
...
47
            request.scriptMethod = is.methodDefault;
47
            request.scriptMethod = is.methodDefault;
48
            // submit the request to be executed
48
            // submit the request to be executed
49
            controller.process(request); 
49
            controller.process(request); 
50
    }
50
    }
51
    
51
    
52
    
52
    /**
53
    /**
53
     * A wrapper for the doScreen method when requested from the web
54
     * A wrapper for the doScreen method when requested from the web
54
     * @param request the request for this method
55
     * @param request the request for this method
55
     */
56
     */
56
    @Override
57
    @Override
...
...
74
                + html.divider
75
                + html.divider
75
                + html.link("Status", "/basic/status")
76
                + html.link("Status", "/basic/status")
76
                + html.divider
77
                + html.divider
77
                + html.link("Server", "/webserver/server")
78
                + html.link("Server", "/webserver/server")
78
                + html.divider
79
                + html.divider
79
                + html.link("Feedback", "http://triplecheck.de/forum")
80
                + html.link("Forum", "http://triplecheck.de/forum")
80
                + html._div
81
                + html._div
81
//                + html.br
82
//                + html.br
82
//                + html.br
83
//                + html.br
83
//                + html.br
84
//                + html.br
84
                + "";
85
                + "";
85
        
86
        
86
        
87
        
87
        // get twitter new if available
88
        // get twitter new if available
88
        String timeLine = www.twitter.getTimeLine("@triplechecked");
89
        String timeLine = html.getRSS("http://triplecheck.de/feed");
89
        
90
        
90
        String newsLine =  
91
                "Share your open source news "
92
                + html.link("@triplechecked", "http://twitter.com/triplechecked")
93
                + timeLine;
94
        
95
        // did we got anything from the web?
96
        if(timeLine == null){
97
            // nothing, just return without further action
98
            newsLine = "Interested in licensing compliance? Follow us "
99
                        + html.link("@triplechecked", "http://twitter.com/triplechecked")
100
            ;
101
            //return;
102
        }
103
        
91
        
104
        String[] params = new String[]{
92
        String[] params = new String[]{
105
            html.getIcon("logo.png", request)
93
            html.getIcon("logo.png", request)
106
                , navigationMain
94
                , navigationMain
107
        };
95
        };
...
...
114
                + Table.alignedTable(params, size)
102
                + Table.alignedTable(params, size)
115
                //+ navigation
103
                //+ navigation
116
                + navigationSub
104
                + navigationSub
117
                + html.br
105
                + html.br
118
                + html.br
106
                + html.br
119
                + newsLine
107
                + timeLine
120
                
108
                
121
                + html._div
109
                + html._div
122
                ;
110
                ;
123
        
111
        
124
        request.setAnswer(result);
112
        request.setAnswer(result);
125
    }
113
    }
114
    
115
    
116
    
126
}
117
}
127
118
128
119