Commit 48260124 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Replace buttons/inputs by hyperlinks

Buttons/inputs with type submit conflicts with the implamentation of gadget field, as the event loop is added to all buttons.
parent 4e276bbc
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<string>default</string> <string>default</string>
<string>enabled</string> <string>enabled</string>
<string>extra</string> <string>extra</string>
<string>name</string> <string>href</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value> <value> <string>my_hyperlink</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
</item> </item>
<item> <item>
<key> <string>href</string> </key> <key> <string>href</string> </key>
<value> <string>#</string> </value> <value> <string>./HostingSubscription_requestDestroy</string> </value>
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<string>css_class</string> <string>css_class</string>
<string>default</string> <string>default</string>
<string>enabled</string> <string>enabled</string>
<string>name</string> <string>href</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -105,12 +105,16 @@ ...@@ -105,12 +105,16 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value> <value> <string>my_hyperlink</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
<value> <string>Base_viewWebFieldLibrary</string> </value> <value> <string>Base_viewWebFieldLibrary</string> </value>
</item> </item>
<item>
<key> <string>href</string> </key>
<value> <string>./HostingSubscription_renameWebMode</string> </value>
</item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
<value> <string>HostingSubscription_renameWebMode:method</string> </value> <value> <string>HostingSubscription_renameWebMode:method</string> </value>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<string>css_class</string> <string>css_class</string>
<string>default</string> <string>default</string>
<string>enabled</string> <string>enabled</string>
<string>name</string> <string>href</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value> <value> <string>my_hyperlink</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</item> </item>
<item> <item>
<key> <string>href</string> </key> <key> <string>href</string> </key>
<value> <string>#</string> </value> <value> <string>./HostingSubscription_requestStart</string> </value>
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<string>css_class</string> <string>css_class</string>
<string>default</string> <string>default</string>
<string>enabled</string> <string>enabled</string>
<string>name</string> <string>href</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
</item> </item>
<item> <item>
<key> <string>field_id</string> </key> <key> <string>field_id</string> </key>
<value> <string>my_input_button_field</string> </value> <value> <string>my_hyperlink</string> </value>
</item> </item>
<item> <item>
<key> <string>form_id</string> </key> <key> <string>form_id</string> </key>
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</item> </item>
<item> <item>
<key> <string>href</string> </key> <key> <string>href</string> </key>
<value> <string>#</string> </value> <value> <string>./HostingSubscription_requestStop</string> </value>
</item> </item>
<item> <item>
<key> <string>name</string> </key> <key> <string>name</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment