Esempio n. 1
0
def cluster_clone_get(cluster_id):
    cluster_id = int(cluster_id)
    cluster = Cluster.get(cluster_id)
    # for clone
    cluster_id = 0
    op = u'clone'
    return render_template('cluster/edit.html', **locals())
Esempio n. 2
0
def cluster_clone_get(cluster_id):
    cluster_id = int(cluster_id)
    cluster = Cluster.get(cluster_id)
    # for clone
    cluster_id = 0
    op = u'克隆'
    return render_template('cluster/edit.html', **locals())
Esempio n. 3
0
def cluster_edit_get(cluster_id):
    cluster_id = int(cluster_id)
    cluster = Cluster.get(cluster_id)
    op = u'edit'
    return render_template('cluster/edit.html', **locals())
Esempio n. 4
0
def cluster_edit_get(cluster_id):
    cluster_id = int(cluster_id)
    cluster = Cluster.get(cluster_id)
    op = u'修改'
    return render_template('cluster/edit.html', **locals())