Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 5dc6d077

Přidáno uživatelem Matěj Zeman před asi 2 roky(ů)

security fix for all endpoints. Added view for Licenses and html template on "/" with information about server endpoints.

Zobrazit rozdíly:

server/templates/teams/teams_normal.html
14 14
      <option value="/body-devices-web">Body Devices</option>
15 15
      <option value="/teams-web">Teams</option>
16 16
      <option value="/pcs-web">PCs</option>
17
      <option value="/licenses-web">Licenses</option>
17 18
  </select>
18 19
  <input type="submit" value="OK">
19 20
</form>
......
33 34
    <TR>
34 35
        <TH>ID</TH>
35 36
        <TH>Name</TH>
37
        <TH>Members</TH>
36 38
    </TR>
37 39
    {% for team in teams %}
38 40
    <TR>
39 41
        <TD class="ID">{{team.id}}</TD>
40 42
        <TD class="Vendor ID">{{team.name}}</TD>
43
        <TD class="Members">
44
        {% for ppl in team.pcs %}
45
            {{ppl.username}}<BR>
46
        {% endfor %}
47
        </TD>
41 48
    </TR>
42 49
    {% endfor %}
43 50
</table>

Také k dispozici: Unified diff