]> git.ipfire.org Git - people/shoehn/ipfire.org.git/commitdiff
fireinfo: Fix layout and disabled module.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Mar 2014 17:01:26 +0000 (18:01 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Mar 2014 17:01:26 +0000 (18:01 +0100)
templates/fireinfo/index.html
webapp/backend/stasy.py

index 49d1d6e64e60bf2c67fb5e1807705291aaabe96c..7513041476f62926bdbfec4a71a2482fae879a60 100644 (file)
@@ -31,7 +31,7 @@
        </div>
 
        <div class="row">
-               <div class="col-lg-8 col-md-8 col-lg-offset-2 well">
+               <div class="col-lg-8 col-md-8 col-lg-offset-2 well ac">
                        {% if lang == "de" %}
                                <p>
                                        Bitte geben Sie die Profil-ID von ihrem System ein, welche
 
                        <hr>
 
-                       <form method="POST" action="">
-                               <div class="input-append">
-                                       <input type="text" class="form-control col-lg-7 col-md-7" name="profile_id" value=""
-                                               placeholder="{{ _("Profile ID") }}"><button type="submit" class="btn btn-default">{{ _("Show") }}</button>
+                       <form class="form-inline" method="POST" action="" role="form">
+                               <div class="form-group">
+                                       <label class="sr-only" for="profileId">{{ _("Profile ID") }}</label>
+                                       <input type="text" class="form-control" name="profile_id" id="profileId"
+                                               value="" placeholder="{{ _("Profile ID") }}">
+                                       <button type="submit" class="btn btn-default">{{ _("Show") }}</button>
                                </div>
                                {% raw xsrf_form_html() %}
                        </form>
index 7b7a7d19fabb28227961b617083d26ab0da422e6..87fe2fc72cd0b53c5b0fb70150f56cee522468dd 100644 (file)
@@ -3,7 +3,7 @@
 from __future__ import division
 
 import datetime
-#import hwdata
+import hwdata
 import logging
 import pymongo
 import re
@@ -191,8 +191,8 @@ class ProfileNetwork(ProfileDict):
 
 class ProfileDevice(ProfileDict):
        subsystem2class = {
-#              "pci" : hwdata.PCI,
-#              "usb" : hwdata.USB,
+               "pci" : hwdata.PCI,
+               "usb" : hwdata.USB,
        }
 
        classid2name = {