mirror of https://github.com/portainer/portainer
Add more information to the settings page
Now shows all information we can get from the info object. Exceptions: Name and NEventsListener, those don't seem to work.pull/2/head
parent
b00b61ce25
commit
f32aadedfb
|
@ -25,25 +25,77 @@
|
|||
<td>{{ info.Debug }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NFd:</td>
|
||||
<td>CPUs:</td>
|
||||
<td>{{ info.NCPU }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total Memory:</td>
|
||||
<td>{{ info.MemTotal }}MB</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Operating System:</td>
|
||||
<td>{{ info.OperatingSystem }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Kernel Version:</td>
|
||||
<td>{{ info.KernelVersion }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ID:</td>
|
||||
<td>{{ info.ID }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Labels:</td>
|
||||
<td>{{ info.Labels }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>File Descriptors:</td>
|
||||
<td>{{ info.NFd }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NGoroutines:</td>
|
||||
<td>Goroutines:</td>
|
||||
<td>{{ info.NGoroutines }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>MemoryLimit:</td>
|
||||
<td>Storage Driver:</td>
|
||||
<td>{{ info.Driver }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Storage Driver Status:</td>
|
||||
<td>{{ info.DriverStatus }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Execution Driver:</td>
|
||||
<td>{{ info.ExecutionDriver }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>IPv4 Forwarding:</td>
|
||||
<td>{{ info.IPv4Forwarding }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Index Server Address:</td>
|
||||
<td>{{ info.IndexServerAddress }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Init Path:</td>
|
||||
<td>{{ info.InitPath }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Docker Root Directory:</td>
|
||||
<td>{{ info.DockerRootDir }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Init SHA1</td>
|
||||
<td>{{ info.InitSha1 }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Memory Limit:</td>
|
||||
<td>{{ info.MemoryLimit }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SwapLimit:</td>
|
||||
<td>Swap Limit:</td>
|
||||
<td>{{ info.SwapLimit }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>NFd:</td>
|
||||
<td>{{ info.NFd }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
@ -1512,26 +1512,78 @@ angular.module("app/components/settings/settings.html", []).run(["$templateCache
|
|||
" <td>Debug:</td>\n" +
|
||||
" <td>{{ info.Debug }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>CPUs:</td>\n" +
|
||||
" <td>{{ info.NCPU }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Total Memory:</td>\n" +
|
||||
" <td>{{ info.MemTotal }}MB</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Operating System:</td>\n" +
|
||||
" <td>{{ info.OperatingSystem }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Kernel Version:</td>\n" +
|
||||
" <td>{{ info.KernelVersion }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>ID:</td>\n" +
|
||||
" <td>{{ info.ID }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Init SHA1</td>\n" +
|
||||
" <td>{{ info.InitSha1 }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Labels:</td>\n" +
|
||||
" <td>{{ info.Labels }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NFd:</td>\n" +
|
||||
" <td>File Descriptors:</td>\n" +
|
||||
" <td>{{ info.NFd }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NGoroutines:</td>\n" +
|
||||
" <td>Goroutines:</td>\n" +
|
||||
" <td>{{ info.NGoroutines }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Storage Driver:</td>\n" +
|
||||
" <td>{{ info.Driver }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Storage Driver Status:</td>\n" +
|
||||
" <td>{{ info.DriverStatus }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Execution Driver:</td>\n" +
|
||||
" <td>{{ info.ExecutionDriver }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>IPv4 Forwarding:</td>\n" +
|
||||
" <td>{{ info.IPv4Forwarding }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Index Server Address:</td>\n" +
|
||||
" <td>{{ info.IndexServerAddress }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Init Path:</td>\n" +
|
||||
" <td>{{ info.InitPath }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Docker Root Directory:</td>\n" +
|
||||
" <td>{{ info.DockerRootDir }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>MemoryLimit:</td>\n" +
|
||||
" <td>Memory Limit:</td>\n" +
|
||||
" <td>{{ info.MemoryLimit }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>SwapLimit:</td>\n" +
|
||||
" <td>Swap Limit:</td>\n" +
|
||||
" <td>{{ info.SwapLimit }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NFd:</td>\n" +
|
||||
" <td>{{ info.NFd }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" </tbody>\n" +
|
||||
" </table>\n" +
|
||||
"</div>\n" +
|
||||
|
|
|
@ -501,26 +501,78 @@ angular.module("app/components/settings/settings.html", []).run(["$templateCache
|
|||
" <td>Debug:</td>\n" +
|
||||
" <td>{{ info.Debug }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>CPUs:</td>\n" +
|
||||
" <td>{{ info.NCPU }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Total Memory:</td>\n" +
|
||||
" <td>{{ info.MemTotal }}MB</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Operating System:</td>\n" +
|
||||
" <td>{{ info.OperatingSystem }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Kernel Version:</td>\n" +
|
||||
" <td>{{ info.KernelVersion }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>ID:</td>\n" +
|
||||
" <td>{{ info.ID }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Init SHA1</td>\n" +
|
||||
" <td>{{ info.InitSha1 }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Labels:</td>\n" +
|
||||
" <td>{{ info.Labels }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NFd:</td>\n" +
|
||||
" <td>File Descriptors:</td>\n" +
|
||||
" <td>{{ info.NFd }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NGoroutines:</td>\n" +
|
||||
" <td>Goroutines:</td>\n" +
|
||||
" <td>{{ info.NGoroutines }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Storage Driver:</td>\n" +
|
||||
" <td>{{ info.Driver }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Storage Driver Status:</td>\n" +
|
||||
" <td>{{ info.DriverStatus }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Execution Driver:</td>\n" +
|
||||
" <td>{{ info.ExecutionDriver }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>IPv4 Forwarding:</td>\n" +
|
||||
" <td>{{ info.IPv4Forwarding }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Index Server Address:</td>\n" +
|
||||
" <td>{{ info.IndexServerAddress }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Init Path:</td>\n" +
|
||||
" <td>{{ info.InitPath }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>Docker Root Directory:</td>\n" +
|
||||
" <td>{{ info.DockerRootDir }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>MemoryLimit:</td>\n" +
|
||||
" <td>Memory Limit:</td>\n" +
|
||||
" <td>{{ info.MemoryLimit }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>SwapLimit:</td>\n" +
|
||||
" <td>Swap Limit:</td>\n" +
|
||||
" <td>{{ info.SwapLimit }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" <tr>\n" +
|
||||
" <td>NFd:</td>\n" +
|
||||
" <td>{{ info.NFd }}</td>\n" +
|
||||
" </tr>\n" +
|
||||
" </tbody>\n" +
|
||||
" </table>\n" +
|
||||
"</div>\n" +
|
||||
|
|
Loading…
Reference in New Issue